Monitoring Splunk

Shared Drive Folder monitoring in Windows Machine

anandhalagarasa
Path Finder

Hi Team,

We got a request from a client stating to monitor the Shared Folder in a windows server. So currently I need the exact inputs.conf so that I can test the same.

File Path which needs to be monitored: D:\ABC-Test\XYZ-Test\DEF-T\LMN-T\OPQ-D*.log

In this Path "ABC-Test" is a shared folder and also "XYZ-Test" is also a shared folder.

It's a windows machine so kindly provide the inputs.conf so that i can update the same

Previously I have provided the stanza as something like this but it didn’t worked:

[monitor://D:\ABC-Test\XYZ-Test\DEF-T\LMN-T\OPQ-D*.log]
index = man
sourcetype = dev
disabled = 0

So kindly help on the same.

Tags (1)
0 Karma

FrankVl
Ultra Champion

Have you confirmed that the user under which the Splunk process runs has permission to access that shared drive / folder?

0 Karma

harsmarvania57
Ultra Champion
0 Karma

koshyk
Super Champion

Can the Splunk Universal forwarder be installed on the client Windows machine which shares the drive? Then it is the best way as you get a more consistent data and information like host, source correctly.

Plainly trying to read from shared drive may cause permissions issues etc. But worth a try if Splunk runs as admin by changing the stanza to the shared/mapped folder

0 Karma

anandhalagarasa
Path Finder

Can anyone help on this request please.

0 Karma

anandhalagarasa
Path Finder

Hi,

Can anyone help on my request.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

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

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...