Getting Data In

Monitor Files and Directories - configured - but nothing is indexing ?

Alfred
Explorer

File Monitor configured - but nothing is indexing ?

here is my inputs.conf 

[monitor://C:\xxxx\xxxxxx\xxxxxxx\xxxxx.docx]
[monitor://C:\xxxxx\xxxxxxx\xxxxxx.docx]
disabled = 0
index=file_integrity_monitoring
sourcetype=test
crcSalt=<SOURCE>

following the article below in our Splunk Cloud environment.

 
https://docs.splunk.com/Documentation/Splunk/8.2.1/Data/Monitorfilesanddirectorieswithinputs.conf

Any idea what is missing ? 

Labels (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

First, having two consecutive [monitor://...] lines does not create two monitors with the same settings.  The first monitor uses only default settings, whereas the second uses those specified in the stanza.

Second, check splunkd.log to confirm it, but I suspect nothing is ingested because .docx files are binary and Splunk doesn't ingest non-textual data.

Finally, it looks like you want to detect when these files change rather than index the files themselves.  If so, use an fschange input.  See https://docs.splunk.com/Documentation/Splunk/8.2.1/Data/Monitorchangestoyourfilesystem

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

First, having two consecutive [monitor://...] lines does not create two monitors with the same settings.  The first monitor uses only default settings, whereas the second uses those specified in the stanza.

Second, check splunkd.log to confirm it, but I suspect nothing is ingested because .docx files are binary and Splunk doesn't ingest non-textual data.

Finally, it looks like you want to detect when these files change rather than index the files themselves.  If so, use an fschange input.  See https://docs.splunk.com/Documentation/Splunk/8.2.1/Data/Monitorchangestoyourfilesystem

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...