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!

Cloud Platform & Enterprise: Classic Dashboard Export Feature Deprecation

As of Splunk Cloud Platform 9.3.2408 and Splunk Enterprise 9.4, classic dashboard export features are now ...

Explore the Latest Educational Offerings from Splunk (November Releases)

At Splunk Education, we are committed to providing a robust learning experience for all users, regardless of ...

New This Month in Splunk Observability Cloud - Metrics Usage Analytics, Enhanced K8s ...

The latest enhancements across the Splunk Observability portfolio deliver greater flexibility, better data and ...