Open Trustys opened 7 years ago
Are you able to reach the API with your user via curl or through a browser? I guess not and that means that there is some kind of limitation on your user/api. Which probably has to be resolved on the graylog server side.
I imagine that this is a hint from the project to use tokens instead of user authentication in the future. Unfortunately I'm not using graylog anymore and my time is very limited to work on this. PR's are welcome though.
Thanks for this quick response catinello !
I'm able to reach/request the API with my limited user through a browser. Really strange...I will do more test and give an update
Anyway, I can't succeed to find any API call like api/system/metrics/org.graylog2.journal.entries-uncommitted
in your code. So I'm asking how can you grab the graylog informations ? :-)
Hello,
First of all, thanks a lot for this great plugin.
Here is my issue : I can't authenticate using a non admin user: I created a graylog limited user (role: reader) but when I run checkgraylog2, I have a 403 error (if I use an admin user, it works )
Is there any way to use a non admin user (as the passwords is used/stored in clear I prefer no to use an admin user)
Also, can you tell me which graylog metrics you use to check graylog health ? I found some on https://www.graylog.org/blog/86-back-to-basics-monitoring-graylog but I didn't found how to check if the service is running and how to check source number
Thanks for your help !