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!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...