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!

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...