Issue storing app id's to influx db #515
-
Hi, I've tried to find a way to log what's sent by Butler to Influx, but I don't find a way. Does anyone have an idea how to proceed? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
You can start Butler SOS with the With
With
If you look closer at this particular line, the app IDs of the in-memory-docs are there:
|
Beta Was this translation helpful? Give feedback.
-
... and because I am lazy I won't check in InfluxDB to verify that the data arrived there, but rather use Grafana for that purpose. Looks like the data made it to InfluxDB: |
Beta Was this translation helpful? Give feedback.
-
Now, what's causing your problem? |
Beta Was this translation helpful? Give feedback.
-
... but then again, I can of course share what my config looks like. The interesting part is the # Influx db config parameters
influxdbConfig:
enable: true
# Items below are mandatory if influxdbConfig.enable=true
hostIP: <ip or host name of server where InfluxDB is running)
hostPort: 8086 # Optional. Default value=8086
auth:
enable: false # Does influxdb instance require authentication (true/false)?
# username: user_joe # Username for Influxdb authentication. Mandatory if auth.enable=true
# password: joesecret # Password for Influxdb authentication. Mandatory if auth.enable=true
dbName: senseops
# Default retention policy that should be created in InfluxDB when Butler SOS creates a new database there.
# Any data older than retention policy threshold will be purged from InfluxDB.
retentionPolicy:
name: 10d
duration: 10d # Possible duration units here: https://docs.influxdata.com/influxdb/v1.8/query_language/spec/#durations
# Control whether certain metrics are stored in InfluxDB or not
# Use with caution! Enabling activeDocs, loadedDocs or inMemoryDocs may result in lots of data sent to InfluxDB.
includeFields:
activeDocs: true # Should data on what docs are active be stored in Influxdb (true/false)?
loadedDocs: true # Should data on what docs are loaded be stored in Influxdb (true/false)?
inMemoryDocs: true # Should data on what docs are in memory be stored in Influxdb (true/false)? |
Beta Was this translation helpful? Give feedback.
... but then again, I can of course share what my config looks like.
The interesting part is the
influxdbConfig
section: