Archive
Highlighted

What is Parameters must be in the form '-parameter value'

New Member

I'm new to Splunk and I'm trying to add monitor to my logs as:
./splunk add monitor -auth admin:changeme /var/lib/mysql/* or any other logs,
Parameters must be in the form '-parameter value', how do I solve it?

Thank you

Tags (2)
0 Karma
Highlighted

Re: What is Parameters must be in the form '-parameter value'

Motivator

Just type ./splunk add monitor /var/lib/mysql/. Then you wil be prompted to enter your splunk user name and the password.
Thanks

Notice : just specify the folder , remove the *
Check if your directory is monitored: ./splunk list monitor

View solution in original post

0 Karma