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!

Painting a Clearer Picture: Creating Cross-Domain Visibility with AI Canvas

    Thursday, June 25, 2026  |  11AM PDT / 2PM EDT  Duration: 1 Hour (Includes live Q&A) Register to ...

Analytics Workspace deprecation

As of Splunk Cloud Platform 10.4.2604 and Splunk Enterprise 10.4, Analytics Workspace is now deprecated. ...

Splunk Developer Day Recap: Building, Publishing, and Growing on the Splunk Platform

Splunk Developer Day brought the Splunk developer community together for a practical look at what it means to ...