sematext / logagent-js

Extensible log shipper with input/output plugins, buffering, parsing, data masking, and small memory/CPU footprint
https://sematext.com/logagent
Apache License 2.0
389 stars 79 forks source link

Replace json-influx with official influxdb package #163

Open otisg opened 5 years ago

otisg commented 5 years ago

Got this warning while installing Logagent: npm WARN deprecated json-influx@0.3.0: this package has been deprecated, you should use influxdb official npm pkg

Maybe there was a reason we used json-influx? Or maybe it just wasn't deprecated when we used it, @megastef ?

megastef commented 5 years ago

We use the json-influx package to create influx format out of JSON objects, the transport is done via http and repeating http requests / buffering.

Influx client might require a schema definition upfront and configuration will be more complicated. Sure, we could evaluate a move to official InfluxDB client.

Another way might be to maintain the json-influx package ...

megastef commented 4 years ago

+1 to rewrite the influx-output plugin with node-influx.