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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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