Back to Glances

Elasticsearch

docs/gw/elastic.rst

4.5.4499 B
Original Source

.. _elastic:

Elasticsearch

.. note:: You need to install the elasticsearch_ library on your system.

You can export statistics to an Elasticsearch server. The connection should be defined in the Glances configuration file as following:

.. code-block:: ini

[elasticsearch]
host=localhost
port=9200
index=glances

and run Glances with:

.. code-block:: console

$ glances --export elasticsearch

.. _elasticsearch: https://pypi.org/project/elasticsearch/