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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...