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!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...