Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

Can we include OR/AND operator in a transaction

$
0
0
I have the following log sets, one for success case and one for the failure case Success: id=11111 msg=Begin process... id=11111 msg=check id=11111 msg=Success... failure: id=22222 msg=Begin process... id=22222 msg=check id=22222 msg=Fail... Here I want to check the time between the events using the transaction. host=* sourcetype=** source="*/example.log" "Begin process*" OR "Success*" | transaction traceId startswith="Begin process" endswith="Success" | table traceId duration _time Above query will give me the transactions of a success case only. Can we use `AND` Operator in the `endswith` so that I can check the duration between events irrespective of it being a success or failure?

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>