Getting Data In

Monitor files which have special characters in them?

Dingu
Explorer

Hello there,

I'm trying to monitor inputs files which have spaces in it which are in the below format but not all of the files are being captured . 

Kindly advise me if my inputs need to be corrected in any way.

E:\files\xxxxx\eeeee\Error_20200528173833_70515016_ssss yyyy  Planning Mapping - Update Dimensions.log

E:\files\xxxx\eeee\Error_20200615161548_31008196_ Origination Dimension Build.log

My current configuration:

[monitor://E:\files\xxxx\eeee\Error_*]
index = <myindex>
disabled = false
sourcetype = <mysourcetype>
ignoreOlderThan = 30d
crcSalt = <SOURCE>

Labels (1)
0 Karma

anilchaithu
Builder

@Dingu 

If you have spaces in the log file name, you should monitor the base directory to monitor the log files 

 

[monitor://E:\files\xxxx\eeee]
index = <myindex>
disabled = false
sourcetype = <mysourcetype>
ignoreOlderThan = 30d
crcSalt = <SOURCE>

 

 

Hope this helps

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...