Getting Data In

Try and add Monitoring to folder - get error "In Handler monitor cannor perform action "Post" without a target name to act on"

insaneteddie
Path Finder

Hi guys,
bit of a splunk newbie here, but muddling my way along with all the great articles on here.

Im having an issue where I want to set up monitoring on a folder in C:\Program Files\Test\App\Master\Logs using the cmd line, command of splunk add monitor -C:\Program Files\Test\App\Master\Logs
I get the error message:
In Handler monitor cannor perform action "Post" without a target name to act on.

I managed to add monitoring to another folder on the 😧 drive no problem just before this.
Any help would be much appreciated.
Thanks
Steve

0 Karma
1 Solution

insaneteddie
Path Finder

I figured out my issue, or at least where I was being stupid,
I needed to put the the path inside " " to deal with the space in Program Files.
Thanks

View solution in original post

0 Karma

insaneteddie
Path Finder

I figured out my issue, or at least where I was being stupid,
I needed to put the the path inside " " to deal with the space in Program Files.
Thanks

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!

Agent Mode Engaged! Enchaining Agentic Operations with Splunk AI Assistant 2.0

    Are you ready to transform how your team handles complex data requests? We invite you to our upcoming ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...