All Apps and Add-ons

How to search for two separate keywords

jgarman
New Member

I'm trying to figure out the Search function to be able to look for a client. It doesn't return any logs that when i put in two strings/words

My examples that don't return anything in the search function are as follows.

BigTechU and ERROR

BigTechU|ERROR

BigTechU; ERROR

also i don't know how to look for parts of dates in my query.

I'm just trying to build a POC to use SPLUNK fully for our support system but i'm new and struggling.

any help would be wonderful.

regards,

 

JG

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Are you searching for events which have both BigTechU and ERROR?

If so, you can just have both words without the and or have AND (in caps)

If you want events which have either BigTechU or ERROR, then you need OR (in caps) between them

0 Karma

zonistj
Path Finder

I'd like to help you. Can you post a sample of the syntax you're trying to use using? Please be mindful not to post sensitive information.

I think you just want to do ("BigTechU" OR "error") but I'm not totally clear on what you're trying to do. Do you want to look for events that contain both keywords or events that contain at least one of them?

0 Karma

jgarman
New Member

i figured it out.

BIGTECHU ERROR seemed to work unless there is a date involved and then i would use ""

thanks for the options.

regards

0 Karma
Get Updates on the Splunk Community!

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...

Splunk App Dev Community Updates – What’s New and What’s Next

Welcome to your go-to roundup of everything happening in the Splunk App Dev Community! Whether you're building ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco + Splunk! We’ve ...