Splunk Search

How do I create a query to look at multiple sources and destinations at one time?

millionz4184
New Member

What I am looking for is how to look at multiple sources and destinations in one query. In our enterprise environment, our servers are hosted offsite, and sometimes, I need to check the logs on multiple sources, and/or multiple destinations from the same source, or vice-versa. Is there a query that I can use that will facilitate that for me?

0 Karma
1 Solution

FrankVl
Ultra Champion

What have you tried so far and what issues are you running in to? Also, if you could provide some samples of the data you are looking at and then describe the desired outcome, that would certainly help.

In general (but since your question is a bit vague this may not be entirely relevant for what you are looking for), looking at multiple possible values for a certain field can be done in multiple ways. For instance by using OR operators: src=A OR src=B or by using wildcards src=10.10.*

View solution in original post

0 Karma

FrankVl
Ultra Champion

What have you tried so far and what issues are you running in to? Also, if you could provide some samples of the data you are looking at and then describe the desired outcome, that would certainly help.

In general (but since your question is a bit vague this may not be entirely relevant for what you are looking for), looking at multiple possible values for a certain field can be done in multiple ways. For instance by using OR operators: src=A OR src=B or by using wildcards src=10.10.*

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...