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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...