Getting Data In

Retrieve original source value after override?

blee_i365
Explorer

I have overridden the source values from the default log file path to custom names like "AppLog", "MaintenanceLog", etc, through input.conf:

[monitor://F:\LOGS]
...
source = AppLogs
...

Is there a way to retrieve the original value of the source, F:\LOGS\my_original_log_file_name.log ?

Thanks in advance!

Tags (3)
0 Karma
1 Solution

ziegfried
Influencer

No AFAIK this is only possible for the sourcetype field where the original can be retrieved with the _sourcetype field.

View solution in original post

0 Karma

ziegfried
Influencer

No AFAIK this is only possible for the sourcetype field where the original can be retrieved with the _sourcetype field.

0 Karma

blee_i365
Explorer

I was afraid that's the case too. Thanks for confirming ziegfried.

0 Karma
Get Updates on the Splunk Community!

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...

New Year. New Skills. New Course Releases from Splunk Education

A new year often inspires reflection—and reinvention. Whether your goals include strengthening your security ...