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!

Supercharging Windows Security Detection Performance: Introducing Hybrid Field ...

Windows event logs—from Security auditing and Sysmon to PowerShell script blocks—form the operational backbone ...

Ditch the Manual Grind: Building AI Agents with Splunk

Ditch the Manual Grind: Building AI Agents with Splunk Let’s be real: your team’s time is being eaten alive. ...

Cisco Data Fabric from Architecture to Investigation, Better SOC Visibility, and More ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...