I have the following query on splunk
index="cusomerIndex" source=*client-api* "pending customer approval"
This query gives me the following result
msg: pending customer approval for customer1`
I have another query on splunk
index="orderIndex" source=*order-api* "email notification sent"
this query gives me the following result in the customer field
customerId: customer1
msg: email notification sent
I'm trying to come up with a query where I get all the cutomers who had a result for "pending customer approval" but don't have a result for "email notification sent". I'm not an expert in splunk so not sure how to do it.