-
Notifications
You must be signed in to change notification settings - Fork 255
InfluxDB Sender
Sun Jianbo edited this page Feb 6, 2018
·
2 revisions
InfluxDB Sender 是将结构化的数据发送到InfluxDB的发送器
{
"name":"influxdb_sender",
"sender_type":"inlfuxdb",
"fault_tolerant":"false",
"influxdb_host":"127.0.0.1:8086",
"influxdb_autoCreate":"true",
"influxdb_retention":"oneDay",
"influxdb_retention_duration":"7d",
"influxdb_db":"testdb",
"influxdb_measurement":"test_table",
"influxdb_tags":"bucket, service",
"influxdb_fields":"timestamp, logtype, service, method, path",
"influxdb_timestamp":"timestamp",
"influxdb_timestamp_precision":"100"
}
-
influxdb_host
influxdb 服务地址 -
influxdb_db
influxdb 的数据库名 -
influxdb_retention
influxdb 的retention policy名字,可不填 -
influxdb_measurement
influxdb 的measurement名字 -
influxdb_tags
influxdb 的tag 列名,用","逗号分隔,分隔后每一个字符串中间有空格,则认为是起了别名,如"name alias,name2"这样 -
influxdb_fields
influxdb 的field 列名,同tags -
influxdb_timestamp
influxdb 的时间戳列名 -
influxdb_timestamp_precision
时间戳列的精度,如果设置100,那么就会在send的时候将influxdb_timestamp*100
作为nano时间戳发送到influxdb -
influxdb_autoCreate
自动创建influxdb的database、series以及retention policy -
KeyInfluxdbRetetionDuration
指定的retention名称若不存在对应retention,会根据influxdb_autoCreate
选为true时自动创建,自动创建指定的时间周期由该选项确定
快速开始 | Pandora | Readers | Parsers | Senders | Download | 七牛智能日志管理平台 | logkit-pro专业版