Splunk Search

Why are field values not displaying?

krish9vuda
New Member

I was running a search to display the last one week count for each notable and i used a query like this below

index=notable | search_name = *abc-xyz* | eval date=strftime(_time, "%y-%m-%d) | stats count by date, search_name | chart sum(count) over date by search_name

 

For this i was receiving only 10 search_name values but it should be 15 in total for the rest it is showing as other, how should we remove the value called other and display the actual values 

Labels (4)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

By default, the chart command shows only the top 10 values.  To see more than that, use the limit option.  limit=0 shows all values

index=notable 
| search_name = *abc-xyz* 
| eval date=strftime(_time, "%y-%m-%d) 
| stats count by date, search_name 
| chart limit=0 sum(count) over date by search_name

 

---
If this reply helps you, Karma would be appreciated.
0 Karma
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!

Federated Search for Snowflake Is Now Generally Available on Splunk Cloud Platform

Splunk is excited to announce the General Availability (GA) of Federated Search for ...

Help Us Build Better Splunk Regex Puzzles (And Win Prizes!)

If you’ve spent any time in the Splunk Community Slack, you’ve likely seen our resident Splunk Trust ...

Fuel Your Journey: What’s Waiting for You at the .conf26 Acceleration Station

Navigating the show floor at .conf26 isn't just about keynotes and technical breakout sessions; it's also ...