Hi Team,
From the below raw JSON string in Splunk, I am trying to display only correlationId column in a table, can someone help with a query on how to achieve this?
Also wanted to know if it can be achieved from a regular expression.
index= test1, sourcetype=abc
{
"eventName": “test”,
"sourceType”: “ats”,
"detail": {
"field": “abctest-1”,
"trackInformation”: {
"correlationId": “12345”,
"components": [
{
"publisherTimeLog”: "2022-08-31T13:19:18.726",
“MetaData”: “cmd”,
"executionTimeInMscs”: “2”5,
"receiverTimeLog”: "2022-08-31T13:19:18.725"
}
]
},
"value": “imdb”,
"timestamp": 1455677
},
}
Output:
______
correlationID
———————
12345
... View more