Splunk Search

Can I chain together two searches in Splunk Web?

gehogan3
Explorer

Is it possible to chain together two searches? Basically, need to grab the IP address from my webserver logs (if it received a 503 status code) and match it up with my app server logs (log4j).

This gives me the list of apache calls which resulted in a 503 status code:

index=weblogs status=503

I want to use "clientip" from these matches as the key for a lookup on another index.

Is that possible?

Thanks!

Tags (1)
0 Karma

ChrisG
Splunk Employee
Splunk Employee

You should be able to use subsearches for this. See How subsearches work in the documentation.

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 ...