GithubHelp home page GithubHelp logo

Comments (6)

repeatedly avatar repeatedly commented on September 27, 2024

Sorry, I don't understand your problem.
This plugin uses influxdb client so you can see the API on the influxdb document.
I think writing format in the README is not needed because it is redundant and syncing document increases maintainance cost.

from fluent-plugin-influxdb.

stvnwrgs avatar stvnwrgs commented on September 27, 2024

I can understand that you don't want to increase the maintenance costs, but im still not getting forward.
My final goal is to get stdout from docker containers that matches a certain line. something like:
my.metric tag1=asd,tag2=hostname value=3 to influx.

For testing reasons, i tried to read them from a file first. (Like the config above)

When I echoed the lines into the file I got a new measurement in influx, but without any value or tag.

That's the reason i am asking for help here. I don't get the relation of tag_keys, the value, and the message format in my file. Maybe my problem is a more general misunderstanding of chunk.msgpack_each?

from fluent-plugin-influxdb.

repeatedly avatar repeatedly commented on September 27, 2024

I'm very confusing.
This title is "Document the format of a message" so I assume you want to add Influxdb's REST API spec to README.
But your response contains "im still not getting forward".
I still can't understand what the essential of this issue.

from fluent-plugin-influxdb.

reasn avatar reasn commented on September 27, 2024

I accidentally stumbled across this issue having the same question, if I get things right I might clarify:

As I understand from the description fluent-plugin-influxdb allows writing data from e.g. the "tail" source plugin to influxdb. If I understood this right the question is:

  • How do lines have to be formatted so that they can be parsed by your plugin?
  • Is there any live example of log output being parsed and transmitted to influxdb by the fluent-plugin-influxdb plugin?

from fluent-plugin-influxdb.

repeatedly avatar repeatedly commented on September 27, 2024

How do lines have to be formatted so that they can be parsed by your plugin?

See: http://docs.fluentd.org/articles/life-of-a-fluentd-event

Is there any live example of log output being parsed and transmitted to influxdb by the fluent-plugin-influxdb plugin?

InfluxData document writes live example.

https://docs.influxdata.com/influxdb/v0.10/guides/writing_data/

from fluent-plugin-influxdb.

stvnwrgs avatar stvnwrgs commented on September 27, 2024

Great, was my fault. Thank you!

from fluent-plugin-influxdb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.