Splunk Search

Search within 2 entries

Ikanui123
New Member

Hello,

I want to search for an entry that contains UsersController#update and with the following entry that contain current_user='32'.

If I search it independently I got search results. But if I do both I get nothing.

Is anyone has an idea of the search that I have to do?

Thanks a lot!

Tags (2)
0 Karma

Ayn
Legend
 current_user="32" OR "UsersController#Update"
0 Karma

Ikanui123
New Member

thanks for replying, just as I said when searching for

current_user='32' "UsersController#update"

nothing is returned, since its not in the same entry. Thanks.

0 Karma

bwooden
Splunk Employee
Splunk Employee

Are you wanting events that have either or that have both? If either, the query would be current_user='32' OR "UsersController#update" For both, it would be current_user='32' "UsersController#update"

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Casting Call: Compete in Cyber Games

Lights, Camera, SecOps: Apply to Compete in Cyber Games     Think you have what it takes to beat the clock? ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

How Edge Processor's Durable Queue Works

Edge Processor sits in one of the most consequential places in any Splunk pipeline: between your data sources ...