Getting Data In

How to configure inputs.conf to monitor evtx files from a UNC path?

omerr
Explorer

Hi all,

I have a search head running on Windows operation system and I want to monitor evt & evtx (Windows Events-Logs files) from UNC path.

I have tried many ways to do it, but with no success - I saw the monitor when I open the Data Inputs on Splunk Web, but no events are coming into splunk.

I tried to edit inputs.conf file on $SPLUNK_HOME\etc\system\local with this:

[monitor://\\servername\share_path]
disable = false (or 0)
host = HOST
index = main

and

[monitor:\\servername\share_path]
disable = false (or 0)
host = HOST
index = main

I think it is important for many people so please help me to deal with this and make reference to others.

Thanks,

Omer.

Sarmbrister
Path Finder

After you began to index your evtx file did you data come in clean? I am currently having this issue and the data is coming across null for me. I can't figure out how to fix it.

0 Karma

woodcock
Esteemed Legend

This will work:

[monitor://servernameshare_path]
sourcetype = evtx_from_UNC
index = main

The problem may be that you did not set sourcetype. Also, setting host to the string HOST seems silly and it would be better for you to know the host of the machine that had the file so I removed that. Note that in the end, the stanza header should have 3 total slashes (2 forward and 1 back) after the colon like this: [monitor://\var\log/evtx\*.log] or whatever.

0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...