Splunk Search

How to search all indexes with the specified HASH-es in a lookup file?

evallja
Path Finder

Hello,

I have created and imported a lookup file ex. "hashes.csv" and I have pasted there a list of 500+ hashes.

I want to search with index=* to see if I find any of these hashes in _raw field of any type of log.

Thank you in advance.

Labels (1)
Tags (3)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

Assuming the field in your csv is called hash, you could try something like this

index=* [|inputlookup hashes.csv | rename hash as query | fields query | format]

View solution in original post

ITWhisperer
SplunkTrust
SplunkTrust

Assuming the field in your csv is called hash, you could try something like this

index=* [|inputlookup hashes.csv | rename hash as query | fields query | format]

evallja
Path Finder

@ITWhisperer  It worked, thanks a lot!!!

0 Karma
Get Updates on the Splunk Community!

Customer Experience | Splunk 2024: New Onboarding Resources

In 2023, we were routinely reminded that the digital world is ever-evolving and susceptible to new ...

Celebrate CX Day with Splunk: Take our interactive quiz, join our LinkedIn Live ...

Today and every day, Splunk celebrates the importance of customer experience throughout our product, ...

How to Get Started with Splunk Data Management Pipeline Builders (Edge Processor & ...

If you want to gain full control over your growing data volumes, check out Splunk’s Data Management pipeline ...