I have a json log as shown below
{
action: Get,
applicationName: abc,
controller: Main,
ip: 123.123.123.123,
logLevel: INFO,
loggerType: abcdef,
machineName: windows,
message: {"Value":{"Data":{"Items":[{"FieldType":"abc","Value":""},{"FieldType":"abcd","Value":""},{"FieldType":"123","Value":""}],"EncryptedDocKey":"123456","Domain":"Order","Partner":"India","Carrier":"Idea"},"RequestTrackerId":"7894561230","Message":"OK"},"Formatters":[],"ContentTypes":[],"DeclaredType":null,"StatusCode":null}
principalId: 22222222-2222-2222-2222-222222222222
requestMethod: POST
requestUrl: https://abc123.com/api/v1/get
responseData: {"Value":{"Data":{"Items":[{"FieldType":"abc","Value":""},{"FieldType":"123","Value":""},{"FieldType":"xyz","Value":""}],"EncryptedDocKey":"123456789","Domain":"Order","Partner":"india","Carrier":"idea"},"RequestTrackerId":"7894561230","Message":"OK"},"Formatters":[],"ContentTypes":[],"DeclaredType":null,"StatusCode":null}
time: 2019-07-10 18:35:23.3893,
traceId: 12345678963525,
userName: abc/12345
}
All the fields are indexed correctly. I am looking to extract json data in message element. I would like to extract FieldType,EncryptedDocKey,Domain,Partner,Carrier,RequestTrackerId in to its own fields using spath .
any other alternative options are also welcome. Thanks you for your help.
Tried regex but it did not work