Splunk Search

source selection

splunkpoornima
Communicator

Hi all,

i have an doubt please clarify me ..

in the search panel ..is it possible to give two source and get the output

thanks

Tags (1)
0 Karma

DaveSavage
Builder

Yes you can splunkpoornima e.g. sourcetype="HiqLogEndPoints" OR sourcetype="HiqLogAlert"
It may be more elegant to create an eventtype
Br
D

DaveSavage
Builder

I don't see why this isn't possible...as in all things some are a little more difficult 😉
If you try a search using both sources | eval something-you-want-to-trend-optionally | timechart min(field) or whatever your criteria is...then I figure all that remains is to identify the difference...similar to using a tag between the field from choice A (Dec-4-2012) and choice B (DEC-5-2012). Is that what you are trying to achieve?

0 Karma

splunkpoornima
Communicator

THANKS..

but i created two dropdown in which ..in first dropdown i seleted the one taskmanager file of the day Dec-4-2012..in anothere dropdown i selected the another Taskmanager file of the day DEC-5-2012..

so i need is after i selected the two file i want timechart shows the trend for two log files..in one timechart

is it possible ????

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...