Getting Data In

how to connect Azure Event Grid to Splunk using Webhooks and Cloud Events

LymanHurd
New Member

I am the technical lead for a product that we hope to integrate to Splunk instances using webhooks.  As an intermediary step we use Azure Event Grid and communicate events via the Cloud Events standard protocol.  To set up webhooks requires a handshake described here: https://learn.microsoft.com/en-us/azure/event-grid/end-point-validation-cloud-events-schema (the page is from Microsoft but the handshake protocol is actually defined by the Cloud Events consortium),

What I need to know is whether Splunk can accept connections out of the box or whether it requires an intermediary plug-in.  We are aware that Splunk requires an authorization header with each message.

Labels (1)
0 Karma

livehybrid
SplunkTrust
SplunkTrust

Hi @LymanHurd 

Out of the box Splunk does not support receiving Cloud Events in this way, however you might be able to look at using the Splunk HTTP Event Collector (HEC) which as you said does rely on an authorization token, however you can enable "allowQueryStringAuth" which allows passing the HEC token as a GET/Query Param - would this help? You would need to consider any security implications too.

Alternatively you could create a custom REST endpoint within a custom Splunk app that could handle this and pass the ingested data into Splunk.

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

 

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Agent Mode Engaged! Enchaining Agentic Operations with Splunk AI Assistant 2.0

    Are you ready to transform how your team handles complex data requests? We invite you to our upcoming ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...