What is the storage layer for the metricsbeat agent?

Hey all,

Trying to understand the working of metrics beat for measuring System metrics. I could infer from the code that gopsutil is being used for measuring it, i wanted to know more about the storage layer used for pushing these metrics.

Hi @whiletruelearn and welcome :slight_smile:

Not sure if this answers your question, but Metricbeat doesn't store metrics, it supports several outputs to push the metrics eventually to Elasticsearch. You can find more about them here: https://www.elastic.co/guide/en/beats/metricbeat/7.0/configuring-output.html

@jsoriano Thanks.

I was mostly trying to understand the underlying datastructure which i presume holds the data for a short period of time before pushing to kafka/elastic etc.

@whiletruelearn all beats keep an internal queue with the reported events before they are sent to the outputs, you can read a bit about it and how it is configured in https://www.elastic.co/guide/en/beats/metricbeat/7.0/configuring-internal-queue.html

1 Like

@jsoriano Thanks for sharing this information. This is exactly what i was looking for :slight_smile:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.