Getting Data In

Why is our Splunk Universal Forwarder not able to read the modification on a file under the path "C:\Program Files (x86)"?

danielearangiom
Explorer

My Splunk Universal Forwarder is not able to read the modification on a file under the path "C:\Program Files (x86)"

My inputs.conf is:

[monitor://C:\Program Files (x86)\TeamViewer\TeamViewer13_Logfile.log]
sourcetype = TeamViewer:Connection:Client
index = teamviewer
disabled = 0
queue = indexQueue

What am I doing wrong? I cannot see anything about this file in splunkd.log.

0 Karma
1 Solution

danielearangiom
Explorer

I was missing props.conf, it is mandatory even if it is empty

View solution in original post

0 Karma

danielearangiom
Explorer

I was missing props.conf, it is mandatory even if it is empty

0 Karma

richgalloway
SplunkTrust
SplunkTrust

@danielearangiomazza If your problem is resolved, please accept the answer to help future readers.

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

richgalloway
SplunkTrust
SplunkTrust

Does the forwarder have read access to the file?

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

danielearangiom
Explorer

The file is setted r/w for everyone

0 Karma

amiftah
Communicator

"Cannot read modification" does it mean that the file has been indexed, just the modification that you can't see on splunk?

0 Karma

danielearangiom
Explorer

The destination index is still empty

0 Karma

amiftah
Communicator
  1. As @richgalloway mentioned, do you have read access to this file, check the permissions by executing ls -ll
  2. Are the splunkd services running?
  3. Did you create the teamviewer index in the indexer?
  4. if you added that monitoring stanza manually in the inputs.conf, did you restart your universal forwarder after that?
  5. Does your sourcetype exist in the indexer?
  6. Retry without the queue = indexQueue?
0 Karma
Get Updates on the Splunk Community!

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...