Splunk Search

Is there a way to increase the limit of results returned for the chart command?

uhkc777
Explorer

Chart command is limited to 10000 results by default, but I want to see all the events (Total-73228 events).

index=edi-stage date_wday=monday|eval _time=_time+14400|table _time date_month date_wday date_mday CUSTOMERPO |eval time=strftime(_time,"%m/%d")|sort time |chart count(CUSTOMERPO) by time date_wday  |
0 Karma
1 Solution

sundareshr
Legend

The limit is not in the chart command, it in the sort command. If the first argument to the sort command is a number, then at most that many results are returned, in order. If no number is specified, the default limit of 10000 is used. If the number 0 is specified, all results are returned

View solution in original post

sundareshr
Legend

The limit is not in the chart command, it in the sort command. If the first argument to the sort command is a number, then at most that many results are returned, in order. If no number is specified, the default limit of 10000 is used. If the number 0 is specified, all results are returned

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 ...