Skip to content

where can i specify credentials for elasticsearch exporter #438

@tabbi

Description

@tabbi

Hello, i have Elasticsearch cluster with Internode TLS Enabled, so i have users in Elasticsearch, and i'm use the exporter running on my system as systemD daemon, so here is my systemD unit file

[Unit]
Description=Elasticsearch Exporter
After=network.target
[Service]
ExecStart=/opt/prometheus-exporters/elasticsearch-exporter/elasticsearch_exporter \
        --es.uri http://127.0.0.1:9200/ \\
        --es.timeout 5s \\
        --web.listen-address :9108 \\
        --web.telemetry-path /metrics \\
         --es.ca /etc/elasticsearch/certs/kei.p12 \\
[Install]
WantedBy=multi-user.target

and according to documentation i can't find where i can specify credentials

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions