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!

3 Ways to Make OpenTelemetry Even Better

My role as an Observability Specialist at Splunk provides me with the opportunity to work with customers of ...

What's New in Splunk Cloud Platform 9.2.2406?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.2.2406 with many ...

Enterprise Security Content Update (ESCU) | New Releases

In August, the Splunk Threat Research Team had 3 releases of new security content via the Enterprise Security ...