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

[DOC] how to build nested telegraf.conf #579

Open
jcpunk opened this issue Jul 13, 2023 · 0 comments
Open

[DOC] how to build nested telegraf.conf #579

jcpunk opened this issue Jul 13, 2023 · 0 comments

Comments

@jcpunk
Copy link
Contributor

jcpunk commented Jul 13, 2023

The instructions are a bit vague and I'm unable to sort how to build a telegraf.conf like:

    [[inputs.kafka_consumer]]
      brokers = [
        "kafka-bootstrap.kafka:9092"
      ]
      client_id = "opmon-telegraf"
      consumer_group = "opmon-telegraf"
      data_format = "json_v2"
      topics = [
        "opmon"
      ]
      version = "3.4.0"
      [[inputs.kafka_consumer.json_v2]]
        measurement_name_path = "measurement"
        timestamp_format = "2023-07-13T14:59:51Z"
        timestamp_path = "time"
          [[inputs.kafka_consumer.json_v2.object]]
            tags = [ "tags" ]
          [inputs.kafka_consumer.json_v2.object.fields]
            key = "fields"
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