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!

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...