Reporting

determine from which remote file data was indexed

bob87
Explorer

Hi

I am going to use splunk to index remote files using a universal forwarder. Is there a way to be able to tell from which data was indexed from which remote file? I have tried to index some files but did not get this information. In general i would like to index all files that are put in a directory, and not add files to monitor one by one

Any help is much appreciated

Tags (1)
0 Karma

dart
Splunk Employee
Splunk Employee

By default the source field should be the filename, what source does your data have?

bob87
Explorer

ok found what it was, i had set the input as TCP from Data inputs instead of configuring a receiver in Forwarding and receiving. Once I put the configuration in Forwarding and receiving I started getting the file name as the source

0 Karma

bob87
Explorer

the source field is tcp:

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!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...