How to create 2 databases in influxdb

influxdb
#1

How to create 2 databases in influxdb
Here is my output :
[[Outputs.influxdb]]
urls = [“http: //10.xxx.xxx.xx: 8086”] #influxDB of prod
database = “IMS”
retention_policy = “”
write_consistency = “any”
timeout = “30s”
user_agent = “[Telegraf-srv G01R02C00] | opiumgrafapxx”

I collect on 2 types of machines (sftp and snmp), I would have sent the 2 inputs in 2 different databases, today I only have an IMS database with my TAS measurements and my other snmp measurements like Announcements, CPU , Conference, PortUse and RAM

Connected to http://127.0.0.1:8086 version 1.4.3
InfluxDB shell version: 1.4.3

use IMS
Using IMS database

show measurements
name: measurements
name


Announcements
CPU
Conference
PortUse
RAM
TAS

Thank you

#2

You can use the CREATE DATABASE command or the Chronograf GUI to create databases.

You can then use Telegraf’s measurement filtering to determine which measurements get sent to which database.