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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...