Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input data format: value #849

Closed
sparrc opened this issue Mar 14, 2016 · 0 comments
Closed

Input data format: value #849

sparrc opened this issue Mar 14, 2016 · 0 comments

Comments

@sparrc
Copy link
Contributor

sparrc commented Mar 14, 2016

we should be able to parse simple values as a data format, with the ability to specify string, integer, float or boolean, like this:

[[inputs.exec]]
  commands = ["uname -r"]
  data_format = "value"
  data_type = "string"
  name_override = "kernel_version"

which would output:

kernel_version,[tags]  value="15.3.0"  1457975011144006845

see #235

This was referenced Mar 14, 2016
@sparrc sparrc closed this as completed in 5c1b635 Mar 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant