Splunk Search

Restrict results by count > 30?

jmgilpin
New Member

This is my query:

index=mtickets MovieRating=R CustomerAge<17 | stats count by MovieName

Can I restrict the results to those events where the sum(count) > 30 by MovieName?

Tags (1)
0 Karma

dkeck
Influencer

HI,

did you try to add | where count>=30 ?

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

@jmgilpin

Are you looking for this?

index=mtickets MovieRating=R CustomerAge<17 | stats count by MovieName  | where count>30 
0 Karma
Get Updates on the Splunk Community!

Data Management Digest – November 2025

  Welcome to the inaugural edition of Data Management Digest! As your trusted partner in data innovation, the ...

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...