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!

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...