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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...