Logstash Exporter implements custom publisher batch#46336
Logstash Exporter implements custom publisher batch#46336kaisecheng merged 12 commits intoelastic:mainfrom
Conversation
Co-authored-by: Edmo Vamerlatti Costa <edmo.vamerlatticosta@elastic.co>
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
|
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
|
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
|
This pull request is now in conflicts. Could you fix it? 🙏 |
|
also Adding @mauri870 as reviewer as Lee is on PTO |
|
This pull request is now in conflicts. Could you fix it? 🙏 |
|
@mauri870 Many thanks for the review and suggestion! This is ready for a second look. |
06ca54e to
4ced187
Compare
Logstash exporter implements the `publisher.Batch` interface that wraps a `plog.Logs`, converting it to beats events and handling all the interface's functions it currently supports. With that done, we can fully reuse the beats/logstash clients, leveraging the existing clients backoff implementations, for example. --------- Co-authored-by: Edmo Vamerlatti Costa <edmo.vamerlatticosta@elastic.co> (cherry picked from commit afc53c0) # Conflicts: # x-pack/libbeat/outputs/otelconsumer/otelconsumer.go # x-pack/otel/exporter/logstashexporter/factory.go
Proposed commit message
Logstash exporter implements the
publisher.Batchinterface that wraps aplog.Logs, converting it to beats events and handling all the interface's functions it currently supports. With that done, we can fully reuse the beats/logstash clients, leveraging the existing clients backoff implementations, for example.Checklist
CHANGELOG.next.asciidocorCHANGELOG-developer.next.asciidoc.Disruptive User Impact
Author's Checklist
How to test this PR locally
Related issues
Use cases
Screenshots
Logs