Dashboards & Visualizations

Table in Splunk

Roopashree
Observer

Hi,

I wanted to create a table as below. I am extracting Status and Reason using rex. How can I create this. Count column should count the events- I used stats count by ..

Roopashree_0-1711641222255.png

 

Labels (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @Roopashree,

Splunk isn't Excel, so you cannot merge two cels, you could have the NOT_OK value in both the rows:

<your_search>
| rex 1
| rex 2
| stats count BY Status Reasons

please next time add also the sample in text mode.

Ciao.

Giuseppe

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...