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
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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...