Connect Logstash to Bronto
We recommend the use of Fluent-Bit or Vector but for migration we also supported other agents like Logstash to help you migrate your logs.
Configure Logstash
Create a new configuration file or update your existing to include the following:
The table below lists the parameters used to determine the Bronto dataset associated with the ingested data, ordered from highest to lowest precedence.
Parameter Name | Parameter Type |
---|---|
x-bronto-service-name | HTTP Header |
x-bronto-log-name | HTTP Header |
kubernetes.annotations.logs.bronto.io/dataset | Log Metadata |
service.name | Log Metadata |
service_name | Log Metadata |
kubernetes.annotations.service_name | Log Metadata |
kubernetes.labels.app.kubernetes.io/name | Log Metadata |
kubernetes.container_name | Log Metadata |
The table below lists the parameters used to determine the Bronto collection associated with the ingested data, ordered from highest to lowest precedence.
Parameter Name | Parameter Type |
---|---|
x-bronto-service-namespace | HTTP Header |
x-bronto-logset | HTTP Header |
kubernetes.annotations.logs.bronto.io/collection | Log Metadata |
service.namespace | Log Metadata |
service_namespace | Log Metadata |
Finally the table below lists the parameters used to assign tags to datasets, ordered from highest to lowest precedence.
Parameter Name | Parameter Type | Example |
---|---|---|
x-bronto-tags | HTTP Header | x-bronto-tags: tag1=value1,tag2=value2,… |
kubernetes.annotations.tags.logs.bronto.io/<TAG_NAME> | Log Metadata | kubernetes.annotations.tags.logs.bronto.io/tag1: value1 |
Verify log collection
Once you have applied your configuration and restarted Fluent Bit, you can expect to see your log data being ingested to Bronto and accessible via the Search page.