Splunk Search

Log Metrics and use on dashboard

nehasha3
New Member

I have a case where the we have some associated metric for each request/response event , something like below:

{
"Key1" : "val",
"Array12" : [
"val1",
"val2"
],
"NewList" : [
{
"K1":"v11",
"K2":"v12",
"K3":"v13"
},
{
"K1":"v21",
"K2":"v22",
"K3":"v23"
}
]
}


Now this list , NewList is too big and having key-val pairs is making the log very bulky.

Is there any way to make it consize and they be able to read this in a dashboard as below

K1 , K2 , K3
V11,V12,V13
V21,V22,V23

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Do you mean something like this?

| spath NewList{} output=NewList
| table NewList
| mvexpand NewList
| spath input=NewList
| fields - NewList
0 Karma
Get Updates on the Splunk Community!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...