- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mayukh
Engager
06-10-2022
10:41 AM
Hello,
I have a HEC with events like the following:
{
"Log": {
"Status": "Ordered",
"Platform": {
"A": {
"Tracking": {"Field1": "Value1", "Field2": "Value2"}
}
}
}
}
When I run the query
index="my_index" AND Log.Status="Ordered"
| table Log.Status Log.Platform.A.Tracking
- I get all the data for Status.
- However my requirement is to have the JSON object Log.Platform.A.Tracking in a string format - the JSON as a String?
How can I achieve this?
1 Solution
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ITWhisperer

SplunkTrust
06-10-2022
11:15 AM
| spath path=Log.Status output=Status
| spath path=Log.Platform.A.Tracking output=Tracking
| table Status Tracking
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mayukh
Engager
06-10-2022
11:25 AM
Thank you so much!
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ITWhisperer

SplunkTrust
06-10-2022
11:15 AM
| spath path=Log.Status output=Status
| spath path=Log.Platform.A.Tracking output=Tracking
| table Status Tracking
