Splunk Search

Output events from two different logs/Session IDs

ferza
Explorer

I have a simple search that goes as such:

sessionid=UNIQIESESSIONID "connected to "

This outputs a single logline/event from the Session log contains the string "connected to "

Is there a way I can output this from two different unique session ID's? I thought I could do something like:

sessionid=UNIQIESESSIONID "connected to " OR sessionid=UNIQIESESSIONID "connected to "

But that did not work. Any suggestions?

Tags (2)
0 Karma
1 Solution

ramdaspr
Contributor

Try

(sessionid=UNIQIESESSIONID OR sessionid=UNIQIESESSIONID ) "connected to " 

View solution in original post

ramdaspr
Contributor

Try

(sessionid=UNIQIESESSIONID OR sessionid=UNIQIESESSIONID ) "connected to " 

ferza
Explorer

That worked! Thanks!

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...