Skip to content

Input data format: value #849

Closed
Closed
@sparrc

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions