I am trying to integrate Grafana in Graylog. I have installed Telegraf, Grafana, and Influxdb.
I get the error below when testing the conf file using (telegraf --config telegraf.conf --test ) and also in the journal for the telegraf service.
E! Error in plugin [inputs.graylog]: Response from url “https://X.X.X.X:9000/api/system/metrics/multiple has status code 401 (Unauthorized), expected 200 (OK)
I have created access tokens for user, created a role with the privileges to read metrics and assigned the role to the user but i still get the error above. I even tried assigning admin privileges to the user.
I tested the token by using the “curl get” to extract a metric value and it worked and the token is working.
The links I have referenced are below:
Any help is appreciated.