Skip to content
This repository was archived by the owner on May 4, 2026. It is now read-only.

Can now retrieve fields from event - #104

Closed
odolbeau wants to merge 3 commits into
elastic:masterfrom
odolbeau:feat-update-influxdb-output
Closed

Can now retrieve fields from event#104
odolbeau wants to merge 3 commits into
elastic:masterfrom
odolbeau:feat-update-influxdb-output

Conversation

@odolbeau

@odolbeau odolbeau commented Sep 9, 2014

Copy link
Copy Markdown

Linked to #103

My configuration file look like this :

input {
  gelf {
    port => 12201
    type => gelf
  }
}

output {
  influxdb {
    host => "X.X.X.X"
    port => 8086
    db => "metrics"
    user => "user"
    password => "password"
    series => "%{message}"
    columns_from_event_fields => true
    ignore_columns => ['@timestamp']
  }
}

Th influxdb output can now automatically use all fields available in event object and send it to influxdb.

@odolbeau
odolbeau force-pushed the feat-update-influxdb-output branch from 4bd9a05 to 45b0bb9 Compare September 9, 2014 09:18
@mikn

mikn commented Sep 26, 2014

Copy link
Copy Markdown

Hi! Thank you for this patch! I'm rather much a beginner to both ruby and logstash, so it helped me do what I actually was missing from this output module. :)

Three cosmetic comments on this; Firstly you can remove the required on the "data_points" configuration variable, secondly, the use_data_points configuration variable is rather confusing, it should be called columns_from_event_fields or similar instead (I think you also forgot an @ sign when you use it) and thirdly, the ignore_data_points should be called ignore_columns.

@odolbeau

Copy link
Copy Markdown
Author

Hi @mikn !
Thanks for reviewing. I just update the PR. :)

Tell me if you need anything else.

@gdlx

gdlx commented Oct 28, 2014

Copy link
Copy Markdown

+1
My data is already formatted in JSON, I don't need a second formatting.

@odolbeau

Copy link
Copy Markdown
Author

Up ?

@JulienChampseix

Copy link
Copy Markdown

@odolbeau Thanks for your output fixes/improvement.
How your output should be formatted with the latest version (commit 50184ff) ?
@jordansissel any idea when this output will be merged/patched on the master branch ?

@wiibaa

wiibaa commented Apr 16, 2015

Copy link
Copy Markdown

@odolbeau could you please have time to review/comment (test?) the following pull request
logstash-plugins/logstash-output-influxdb#13
that is very similar to yours with the only advantage to already exists in the correct repository.
It would help to reduce duplicated issues/PR from this "deprecated" repository and also give more confidence to the logstash team in integrating this in the plugin.
Thanks in advance.

@untergeek untergeek closed this Jun 29, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants