kuskoman / logstash-exporter

Prometheus exporter for Logstash written in Go
MIT License
60 stars 21 forks source link

-config flag not defined #335

Closed rolatsch closed 3 months ago

rolatsch commented 4 months ago

Description of the Issue

Hey there, i tried to use the -config flag to load a configuration but all i get is

$ /usr/local/bin/logstash-exporter-linux -config /etc/logstash_exporter/config.yml
flag provided but not defined: -config
Usage of /usr/local/bin/logstash-exporter-linux:
  -version
        prints the version and exits
$ /usr/local/bin/logstash-exporter-linux -version
v1.6.4

Version of logstash-exporter, or logstash-exporter Image

v1.6.4

Version of Chart (if applicable)

No response

Operating System/Environment

Ubuntu 22.04

Logs

No response

kuskoman commented 4 months ago

hello the master branch has documentation for v2. to use v1 you need to switch to v1 branch and read readme file from there

rolatsch commented 3 months ago

ohh my bad. Thank you.