Influx setup

install influx repo and rpms
> influx setup # creates a bucket, user/pass, and operator token
> influx auth ls # shows the “operator token”
> influx auth create –all-access … # creates an all access token which is safer to use than operator, though it probably doesnt matter if you just have one database…

If you are using a v1 api application, you need to create a username / password for it (it can be the same as the v2 username)
> influx v1 authorization create –username <username> –password <pass> –read-bucket <bucket id> –write-bucket <bucket id>

bucket is the same as database name

Leave a Reply

Your email address will not be published. Required fields are marked *