Splunk Search

How to make a table with 3 datas

faribole
Path Finder

Each day i execute my search
This search give me the number of events with status OK or KO by enterprise

nameEnterprise OK KO
Enterprise1 4 0

Enterprise2 76 0

Enterprise3 4 0

I'd like to see in my dashboard the result of my search for severals days

                      day1      day2      day3  
                     OK KO    OK KO   OK KO 

Enterprise1 4 0 83 3 1 0
Enterprise2 76 0 5 1 5 0
Enterprise3 4 1 15 0 12 2

Is it possible ?

sorry for the presentation of tables

Tags (3)
0 Karma
1 Solution

somesoni2
Revered Legend

Splunk doesn't support two-level columns or merged cells. You can however have the columns like Date1: KO, Date1: OK . If you would've shared you search, we could provide better answer, but it'll something like this

your base search 
| eval DayStatus=strftime(_time,"%F").":".Status
| chart count over nameEnterprise by DayStatus

View solution in original post

0 Karma

somesoni2
Revered Legend

Splunk doesn't support two-level columns or merged cells. You can however have the columns like Date1: KO, Date1: OK . If you would've shared you search, we could provide better answer, but it'll something like this

your base search 
| eval DayStatus=strftime(_time,"%F").":".Status
| chart count over nameEnterprise by DayStatus
0 Karma

faribole
Path Finder

What i want to do

Before
alt text

After
alt text

0 Karma

ansif
Motivator

The question is not clear,but as per my understanding you need to plot a table with enterprisename status and Days,you can use chart command for this:

your search |chart status OVER Days BY enterprisename

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...