github.com/google/cadvisor@v0.49.1/docs/storage/elasticsearch.md (about)

     1  # Exporting cAdvisor Stats to ElasticSearch
     2  
     3  cAdvisor supports exporting stats to [ElasticSearch](https://www.elastic.co/). To use ES, you need to provide the additional flags to cAdvisor:
     4  
     5  Set the storage driver as ES:
     6  
     7  ```
     8   -storage_driver=elasticsearch
     9  ```
    10  
    11  Specify ES host address:
    12  
    13  ```
    14   -storage_driver_es_host="http://elasticsearch:9200"
    15  ```
    16  
    17  There are also optional flags:
    18  
    19  ```
    20   # ElasticSearch type name. By default it's "stats".
    21   -storage_driver_es_type="stats"
    22   # ElasticSearch can use a sniffing process to find all nodes of your cluster automatically. False by default.
    23   -storage_driver_es_enable_sniffer=false
    24  ```
    25  
    26  # Examples
    27  
    28  For a detailed tutorial, see [docker-elk-cadvisor-dashboards](https://github.com/gregbkr/docker-elk-cadvisor-dashboards)