Getting Data In

inbound OR outbound communication pattern matched

riqbal47010
Path Finder

I copied the bad reputed IP address, Hashes and Domains from any.run/malware-trends/remote
now how can I find the results that matches bad reputed IP against any source or destination.

Tags (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi riqbal47010,
could you describe more your request?
I think that you're speaking about proxy logs, how do you ingested them?
Can you share an example of your proxy logs?

Anyway, if you have proxy logs in an index called proxy_index and you already extracted a field called ip_dest, you could insert the information you copied by any.run in a lookup called e.g. anyrun.csv that contain three fields (ip, hash, domain).
Then you can run something similat to this:

index=proxy_index ip_dest=* [ | inputlookup anyrun.csv | rename ip AS ip_dest | fields ip_dest ]
| ...

Ciao.
Giuseppe

0 Karma

riqbal47010
Path Finder

Hi gcusello,

the concept mostly based on "threat activity detected" rule. that any value matched either source or destination he should trigger. your query( i believe) is just one sided.

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi riqbal47010,
If you have to check two fields, you can use the same approach:

index=proxy_index ip_dest=* ([ | inputlookup anyrun.csv | rename ip AS ip_dest | fields ip_dest ] OR [ | inputlookup anyrun.csv | rename ip AS ip_source | fields ip_source ])
| ...

Ciao.
Giuseppe

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!

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

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

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...