Splunk Search

how to search with one variable to pull different types of values back and make another search with those values

peppersprayy
New Member

I will lay out the scenario, i work in security and I want to look for trending from our VPN users. I want to pass on a user's login credentials into a query search and the query search the juniper logs for every IP that user logged with and then take each of those IPs and run them against our IDS logs to find any security events. I am not sure how to word this, but i want to pass on a variable to pull some results, and then take those results and pass them through another set type of logs.

0 Karma

Ayn
Legend

What you describe sounds very much like a subsearch.

http://docs.splunk.com/Documentation/Splunk/latest/User/HowSubsearchesWork

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...