grafana / alloy

OpenTelemetry Collector distribution with programmable pipelines
https://grafana.com/oss/alloy
Apache License 2.0
1.29k stars 175 forks source link

Splunk HEC Exporter Integration for Grafana Alloy #1646

Open PatMis16 opened 1 week ago

PatMis16 commented 1 week ago

Community component name

Request

This document proposes the addition of a feature that enables Grafana Alloy to forward logs directly to a Splunk instance using the Splunk HTTP Event Collector (HEC) protocol. This functionality would be achieved by integrating the Splunk HEC exporter from the OpenTelemetry Collector Contrib Repository into Grafana Alloy.

Use case

Many organizations, including ours, leverage Splunk as their primary log management solution. Currently, Grafana Alloy lacks a native way to send collected logs directly to Splunk. This necessitates workarounds, such as deploying a separate log forwarder. These workarounds introduce additional complexity, potential points of failure, and hinder a streamlined observability experience.

Future Considerations

Conclusion

Integrating the Splunk HEC exporter into Grafana Alloy would significantly improve the platform's log forwarding capabilities. This feature would streamline data flow, enhance user experience, and improve overall observability within the Grafana ecosystem. We believe this integration aligns with Grafana's commitment to providing a comprehensive and user-friendly observability platform.

Community component maintainer

Community component description

The proposed integration with the Splunk HEC exporter would address these challenges by providing the following benefits:

Technical Considerations

wildum commented 1 day ago

I moved the proposal to "likely accepted". After a week, if no major concerns are raised, I will then move it to accepted and you will have the green light to start the implementation

PatMis16 commented 8 hours ago

Hi @wildum Ok, about the implementaiton. I think I need some support. Are there ressources available (docs, how-to's)?

wildum commented 8 hours ago

The only doc that we have yet is https://github.com/grafana/alloy/blob/main/docs/developer/adding-community-components.md

But we have quite a few PRs which can be used as example:

If you have any questions, feel free to post them on this issue or you can also contact me on the community slack