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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...