Dashboards & Visualizations

"Stats count" in dashboard's panel does not render total number

hardywang
Explorer

For example if I run this query index=my-index sourcetype=my-source-type | where match(source, "my-regex-pattern") | stats count in standard ssearch tool, I get a total number of events matching the search criteria. This is what I am looking for.

When I go to dashboard => add panel => new events, and paste the same query, the display of the panel actually is list of event details, same as the result of index=my-index sourcetype=my-source-type | where match(source, "my-regex-pattern") in standard search tool.

Any idea how can I make the panel in dashboard to just display one number?

0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Edit the dashboard and change the panel's visualization type to Singlevalue rather than Table.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

Edit the dashboard and change the panel's visualization type to Singlevalue rather than Table.

---
If this reply helps you, Karma would be appreciated.

hardywang
Explorer

I adjusted the visualization from "Events" to "Statistics Table" or any gauges, now I see what I need.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...