I'm trying to log some metrics from Microsoft MSSQL and the Metricbeat service starts then stop. I'm thinking that I have something wrong in the mssql.yaml file that is causing this. Windows errors logs have not been much help. Has anyone seen this before?
yaml file looks like this:
- module: mssql
The indentation in the configuration you posted is wrong? Could you verify that the failure you see is not because of this?
Also I would suggest tuning the logging settings (https://www.elastic.co/guide/en/beats/metricbeat/current/configuration-logging.html) and look into the logs for the specific error.
I was able to get the service started now. Thank you for that. However I still don't seem to be getting SQL metrics. Any idea?
here is the yaml after correction:
I suggest you should check in the logs for errors since may things can go wrong. Run Metribceat in debug mode and check if there is any related error.
You can find more about logging at https://www.elastic.co/guide/en/beats/metricbeat/current/configuration-logging.html
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.