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

Traffic Stats -- Support Kafka as an output #5118

Closed
dneuman64 opened this issue Oct 7, 2020 · 1 comment · Fixed by #6451
Closed

Traffic Stats -- Support Kafka as an output #5118

dneuman64 opened this issue Oct 7, 2020 · 1 comment · Fixed by #6451
Labels
new feature A new feature, capability or behavior Traffic Stats related to Traffic Stats

Comments

@dneuman64
Copy link
Contributor

I'm submitting a ...

  • new feature / enhancement request

Traffic Control components affected ...

  • Traffic Stats

Current behavior:

Currently, Traffic Stats can only be configured to send TS data to InfluxDB.

New behavior:

Traffic Stats can be configured to send data to InfluxDB, Kafka, or Both.
The configuration will support all information needed to send to Kafka, including TLS support.

@dneuman64 dneuman64 added new feature A new feature, capability or behavior Traffic Stats related to Traffic Stats labels Oct 7, 2020
@smalenfant
Copy link
Contributor

@dneuman64 We accomplished this goal by sending to telegraf and using the Kafka output. This was mostly to bridge the data to Elasticsearch. Although a direct implementation would be more robust. We used the influx_relay output to telegraf.

[[inputs.influxdb_listener]]
  service_address = ":8186"
  read_timeout = "10s"
  max_body_size = 0
  database_tag = "database"

[[outputs.kafka]]
  ## URLs of kafka brokers
  brokers = ["kafka:9092"]
  topic = "telegraf"
  data_format = "json"
  
  [outputs.kafka.tagpass]
    database = ["deliveryservice_stats"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature A new feature, capability or behavior Traffic Stats related to Traffic Stats
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants