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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...