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!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...