Set up InfluxDB user and permission
To access and manage InfluxDB data for your own purposes, create extra users and API tokens for specific users that identify InfluxDB permissions within the user’s organization.
To grant the user permission to access data, add them as a member of an organization and provide them with an API token. Only the user with the administrative right that installed FactoryTalk View can perform these tasks. Use the Influx command line interface (CLI), which is in C:\Program Files (x86)\Rockwell Software\RSView Enterprise\3rdParty\InfluxData\InfluxCli.
For more information, see InfluxDB OSS documentation, Create a user and Create a token or refer to your own InfluxDB version's documentation.
To set up InfluxDB user and permission
- Create a user with the command line.The following command will create a user in the organization.influx user create -n johndoe -p password -o example-org, where example-org is the organization for data logging. The default isRockwell.
- Provide the user with a token.The following command will assign permissions to the user.influx auth create --org example-org --user johndoe --[permission flag]For example, to grant a user all permissions in the Rockwell organization, the command is as below:influx auth create --org Rockwell --user johndoe --all-accessFor more information on the available flags, see InfluxDB OSS documentation, Flags or refer to your own InfluxDB version's documentation.
Provide Feedback