InfluxDb
Source plugin: InfluxDb [Flink]
Descriptionâ
Read data from InfluxDB.
Optionsâ
name | type | required | default value |
---|---|---|---|
server_url | String | yes | - |
username | String | no | - |
password | String | no | - |
database | String | yes | - |
measurement | String | yes | - |
fields | List<String> | yes | - |
field_types | List<String> | yes | - |
parallelism | Int | no | - |
server_url [String
]â
The URL of InfluxDB Server.
username [String
]â
The username of InfluxDB Server.
password [String
]â
The password of InfluxDB Server.
database [String
]â
The database name in InfluxDB.
measurement [String
]â
The Measurement name in InfluxDB.
fields [List<String>
]â
The list of Field in InfluxDB.
field_types [List<String>
]â
The list of Field Types in InfluxDB.
parallelism [Int
]â
The parallelism of an individual operator, for InfluxDbSource.
Exampleâ
Simpleâ
InfluxDbSource {
server_url = "http://127.0.0.1:8086/"
database = "influxdb"
measurement = "m"
fields = ["time", "temperature"]
field_types = ["STRING", "DOUBLE"]
}
Authâ
InfluxDbSource {
server_url = "http://127.0.0.1:8086/"
username = "admin"
password = "password"
database = "influxdb"
measurement = "m"
fields = ["time", "temperature"]
field_types = ["STRING", "DOUBLE"]
}