Alerting

Mail kafka

Pravinsugi
Path Finder

I have below requirement

Log info: 09.00PM Xyz event received for customernumber:1234

Log info: 09.05 PM abc event received for customernumber:1234

Loginfo :09.10PM pqr event received for customernumber:1234

 

Like that n number of customer number is there in the splunk log

 

I want to check ,whether all 3 event has been received for customernumber or not 

 

For that I tried using AND operation 

 

Like "xyz received for customernumber" AND "abc event received for customernumber" AND "PQR event received for customernumber|rex (I tried retrieve customernumber)

 

Which is not working .pls help with exact query 

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

This question is nearly the same as one you asked at https://community.splunk.com/t5/Alerting/And-condition/m-p/670558#M15557 .  Please show how you used the answers there to craft a query that solves this problem and how that query fails to meet expectations.

As stated in the referenced answer, the AND operator works only on a single event and cannot compare values among several events.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...