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!

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...

Keep the Learning Going with the New Best of .conf Hub

Hello Splunkers, With .conf26 getting closer, there’s already a lot of excitement building around this year’s ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...