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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...