smilebasti / npmGrafStats

This project exports NginxProxyManager Logs to InfluxDB for displaying them in a Grafana Dashboard.
GNU General Public License v3.0
149 stars 10 forks source link

InfluxDB Token - where to find it? #16

Closed maltokyo closed 1 year ago

maltokyo commented 1 year ago

Read all the installation docs, but I cant find where to get the influxdb token for this line in docker-compose file:

INFLUX_TOKEN: '<replace>' # insert after first run and manual token creation

Sorry for the stupid question, but where do I get this token? I checked the logs, I could not find it in there after first run of influx..

smilebasti commented 1 year ago

Hi, you need to login into the gui of influxdb and select Data source and then Token. There you will be able to create a write token for npmGrafStats and a read token for Grafana.

maltokyo commented 1 year ago

Thank you @smilebasti, will try this - just an idea, for people who have never used influxdb (and didn't even know it has a GUI), perhaps it would be good to add your comment above to the installation wiki.

smilebasti commented 1 year ago

Already did ;)

Will close this issue. If it persists you can reopen it.