Splunk Search

splunk query drops off results after query has finished

imosquera
Explorer

I had a query that was working perfectly until recently where it started cutting off the last 4 days of data just for one grouping for the "Live" category. The odd thing is it only disapeers the results right before the query has completed otherwise it computes the results almost all the way to the end.

as query begins:
http://cl.ly/image/3a27251m0C0w

right before completion:
http://cl.ly/image/2j3b360c3C3u

here is the query:
* search_name="EXEC: New Users By Label (daily) (summary index)" index="summary" | stats count(value_user_device_udid) as new_users by _time, label | streamstats sum(new_users) as total_users by _time,label | eval live=if(total_users >= 100, "Live", "Pending") | stats values(label) as label_values count as daily_count by _time, live | streamstats dc(label_values) as total_apps by live.

I've doubled the limits for the following in limits.conf:

[searchresults]
maxresultrows = 100000

max_stream_window = 30000

[stats]
maxresultrows = 100000

Tags (2)
0 Karma
1 Solution

imosquera
Explorer

Turns out I didn't actually save my limits.conf when I changed the following config:

[stats]
maxresultrows = 100000

turns out doubling the stats resultrows worked and now I get all my entire results set.

View solution in original post

0 Karma

imosquera
Explorer

Turns out I didn't actually save my limits.conf when I changed the following config:

[stats]
maxresultrows = 100000

turns out doubling the stats resultrows worked and now I get all my entire results set.

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 2 releases of new security content via the ...

Announcing the 1st Round Champion’s Tribute Winners of the Great Resilience Quest

We are happy to announce the 20 lucky questers who are selected to be the first round of Champion's Tribute ...

We’ve Got Education Validation!

Are you feeling it? All the career-boosting benefits of up-skilling with Splunk? It’s not just a feeling, it's ...