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!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...