-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Apparently the configured tags are stored as tags and fields in InfluxDB.
Is this the intended behavior? I wouldn't expect them to be stored as fields. Or am I missing something?
config := &logrus_influxdb.Config{
Tags: []string{"service", "action"},
}
in InfluxDB:
> use logrus
Using database logrus
> show tag keys
name: logrus
tagKey
------
action
level
service
> show field keys
name: logrus
fieldKey fieldType
-------- ---------
action string
err string
message string
service string
> select * from logrus
name: logrus
time action action_1 err level message service service_1
---- ------ -------- --- ----- ------- ------- ---------
[...]
jurgen-kluft
Metadata
Metadata
Assignees
Labels
No labels