Hi Team, I have the event in the below format and want to extract the key-value pairs as fields.
Please help extract fields from LogDate till the user.Thanks
{ [-]
event: INFO 2022-09-23 11:49:59,033 [[MuleRuntime].uber.01: [papi-ust-email-notification-v1-uw-qa].get:\ping:Router.CPU_LITE @6c1fb7] org.mule.runtime.core.internal.processor.LoggerMessageProcessor: {
"LogDate": "09/23/2022 16:11:13.932",
"LogNo": "99",
"LogLevel": "INFO",
"LogType": "Process Level",
"LogMessage": "Splunk anypoint log",
"TimeTaken": "0:00:12.628",
"ProcessName": "AnypointSplunkTest",
"TaskName": "AnypointTest",
"RPAEnvironment": "DEV",
"LogId": "002308900.20250824210419999",
"MachineName": "abc-xyz-efg",
"User": "name.first"
}
metaData: { [+]
}
}
and this is the raw text {"metaData":{"sourceApiVersion":"1.0.0-SNAPSHOT","index":"aas","sourceApi":"papi-cust-email-notification-v1-uw-qa","cloudhubEnvironment":"AUTOMATION-QA","tags":""},"event":"INFO 2022-09-23 11:49:59,033 [[MuleRuntime].uber.01: [papi-cust-email-notification-v1-uw2-qa].get:\\ping:Router.CPU_LITE @6f3b7] org.mule.runtime.core.internal.processor.LoggerMessageProcessor: {\n \"LogDate\": \"09/23/2022 16:11:13.932\",\n \"LogNo\": \"99\",\n \"LogLevel\": \"INFO\",\n \"LogType\": \"Process Level\",\n \"LogMessage\": \"Splunk anypoint log\",\n \"TimeTaken\": \"0:00:12.628\",\n \"ProcessName\": \"AnypointSplunkTest\",\n \"TaskName\": \"AnypointTest\",\n \"RPAEnvironment\": \"DEV\",\n \"LogId\": \"002308900.20250824210419999\",\n \"MachineName\": \"abc-xyz-wd\",\n \"User\": \"name.first\"\n}"}
... View more