deha
deha

Reputation: 815

Grafana as Azure Stream Analytics output

I am pushing events to my Event hub, then this data is being analyzed in Azure Stream Analytics. I'd like to visualize output from stream analytics in Grafana. What is the easiest approach to achieve this?

Upvotes: 2

Views: 1214

Answers (2)

Florian Eiden
Florian Eiden

Reputation: 842

If I remember correctly, Grafana doesn't store data locally, you need to define a data source on top of one of the compatible storage systems.

Azure Stream Analytics doesn't come with a storage layer either, it's compute only.

So if you want to use ASA and Grafana, you need to output data from ASA to a data source that is supported by Grafana in ingress.

Looking at both lists that leaves only MSSQL via Azure SQL (hopefully it's compatible) as a native option. It's not a bad option for narrow dashboards, or if you intend to store your data in a RDBMS anyway. You can store your entire payload in an NVARCHAR(MAX) if you don't plan to consume the data in SQL.

But being clever, we can actually use the Functions output to write to any other store, or call any API. I'm not sure if Grafana has a direct ingestion API, but Azure Monitor does and it's a supported data source in Grafana.

The other option would be to go through ADX as explained in the other answer.

Not straightforward but doable ;)

Upvotes: 1

Related Questions