Getting Data In

selecting two source files at a time

splunkpoornima
Communicator

Hi all

In the search bar i want to use two source files and to see the events of the two files

below is the query i have used

source="E:\pros_data\taskmanager_log (2).txt" "E:\pros_data\taskmanager_log.txt"

alt text

i am getting no results found

please give inputs

Tags (1)

yannK
Splunk Employee
Splunk Employee

source="sourceA" source="sourceB"

is equivalent to

source="sourceA" AND source="sourceB"

Because your events are very unlikely to be in the sourceA and the sourceB at the same time.

You should use OR instead of AND.

source="sourceA" OR source="sourceB"

Ayn
Legend

That is simply incorrect search syntax. You should take the Splunk tutorial to learn the basics, particularly the Start searching section.

Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...