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
Get Updates on the Splunk Community!

Stay Connected: Your Guide to July Tech Talks, Office Hours, and Webinars!

What are Community Office Hours?Community Office Hours is an interactive 60-minute Zoom series where ...

Updated Data Type Articles, Anniversary Celebrations, and More on Splunk Lantern

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

A Prelude to .conf25: Your Guide to Splunk University

Heading to Boston this September for .conf25? Get a jumpstart by arriving a few days early for Splunk ...