Splunk Search

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

ironfelya
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
1 Solution

stephanefotso
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

SGF

View solution in original post

0 Karma

stephanefotso
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

SGF
0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...