I've got a Linux based server I'm using as a receiver to get information from numerous servers. One of the servers is a Windows server, but I'm not receiving any data from that server. I've installed the Windows Universal Forwarder on the machine and checked the outputs.conf file and that looks correct. I've editing the inputs.conf to monitor the directory I am interested in, but nothing changes(nothing new on Splunk web manager) even after I restart the forwarder.
here's an example of my code for the inputs.conf file I have under the local directory.
[default]
host = hostname
index = index name
[monitor://C:\directory\logs\]
Have you opened the port on your Splunk indexer to receive data from the forwarder? I would try doing a tcpdump/netstat to see if data is leaving the Windows box and/or being received on the Splunk Indexer.
thanks again, still not getting info but your comments make perfect sense.
That escaping of backslashes is just related to the display in splunkbase, not related to your actual configuration.
Thanks you very much, but what exactly will that do? in my code, i'm simply listing the directory i want to monitor.
Note, in the question there were unescaped backslashes. I've moved the config into a code block which does display them.
What is typo?
[monitor://C:directorylogs]→[monitor://C:\directorylogs]