Yes I have mongodb module enabled, and I have dashboard and data displayed correctly
My config:
output.elasticsearch: #Array of hosts to connect to.
hosts: ["10.228.xx.xx:9200"] #protocol: "https" #Authentication credentials - either API key or username/password. #api_key: "id:api_key" #username: "elastic"
Could you confirm for me that systemd resource accounting is enabled? The system.service metricset will only work with that enabled. With a lot of distributions tasks and memory are the only things with resource accounting enabled by default.
If that's enabled and configured correctly, could you please paste an example of one of your system.service Metricbeat documents? (Please amend anything confidential).
You should be able to use a query similar to the following in Kibana's Dev Tools:
GET metricbeat-*/_search
{
"query": {
"term": {"event.dataset": "system.service"}
}
}
@Kawther Okay - there's no matching documents in your cluster at all, so the empty dashboard is to be expected. This looks like a configuration issue.
Please how can I check if the systemd resource accounting is enabed ?
This varies between Linux distributions, and on how systemd has been setup (this isn't something Elastic controls). The systemd resource control documentation exists here, the options of interest have the suffix Accounting, e.g. CPUAccounting=. With one, or multiple, of these accounting features enabled the Metricbeat metricset should work.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.