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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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