NGalert / Grafana 8 alert feature: How to export / import alerts as yml/json?

Hello, is it possible to export all alerts of the new Grafana 8 alerts to a json or yml file like all the other dashboards (and use it later in the provision process)? We want to have all our infrastructure as code and therefore want to have everything available in files and not in the Grafana database.

Greetings and thanks in advance,


@kaeset: Did you find out how to do this?

No, not yet. From my current point of view this is not possible.

ok, thanks for the quick response. If you find out how to do it, I would be really thankful for a small update/link :-).
My first try will be on use a custom DB and not the interal sqllite3 db where this kind of data is stored.

Yes this sounds like a good solution. But I’ll keep you updated if I find out anything…
And for me this is a must… Hope they will add this in a few versions.

I have the same issue. Any update…?

Provisioning alerts is also a must for our team.

Bumping this issue :slight_smile: