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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...