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?
Just type ./splunk add monitor /var/lib/mysql/. Then you wil be prompted to enter your splunk user name and the password.
./splunk add monitor /var/lib/mysql/
Notice : just specify the folder , remove the *
Check if your directory is monitored: ./splunk list monitor
./splunk list monitor
View solution in original post