Persist measures on the monitored host in case of network faillure


(Aurélien) #1

Hello,

Is there a way from the metricbeat sink to persist the measures on the monitored node in case of network failure so as to send them back to elasticsearch once the network is back and not loosing them ?

Or do I have to user a logstash instance (or kafka or any other means) to act as an intermediary persisted queue on the monitored node ?

Thanks,


(Carlos Pérez Aradros) #2

Hi @Aurel,

You can configure a number of max retries when sending Metricbeat data to Elasticsearch: https://www.elastic.co/guide/en/beats/metricbeat/current/elasticsearch-output.html#_literal_max_retries_literal.

Of course, this is not enough, as messages are kept in memory. As of today, we don't have spooling to disk implemented for this situations (but we want it), so you guessed correctly, you can use Logstash for this, as it implements this mechanism, kafka would be another option.

Best regards


(system) #3

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