What Grafana version and what operating system are you using?
Grafana v11.3, Windows 11
What are you trying to achieve?
I am using a Grafana Enterprise and Grafana-managed alerts. I currently have a folder for ‘Alarms’ and an evaluation group called ‘Tenant 1’. Is there a way to export as csv file the alert list or the logs? I know the alert rules can be exported as json, yaml and terraform and that other panels such as tables can be exported through Inspect > Data > Download CSV but I can’t seem to find any workaround for the logs itself including timestamp, alert name, and the time elapsed of it firing. Also, is it possible to customize time range and variable (particular alarm) of alerts history? Say, I want to isolate an alarm incident that happened.
How are you trying to achieve it?
I tried having the alert list panel be the data source for a table panel so that I can Inspect > Data > Download CSV. However, ‘No data’ is displayed. I am thinking to try to do it on the backend by using python script and probably find a way to put a button on the grafana frontend that generates csv with input fields of time ranges and variable to customize.
What happened?
First method does not work. I think the second is doable but I’m trying to explore other alternatives, maybe much more simpler than the second method before actually doing it.
What did you expect to happen?
Customizable alarm logs be exported as csv file, with a button on the front-end to generate reports.
Can you copy/paste the configuration(s) that you are having problems with?
N/A
Did you follow any online instructions? If so, what is the URL?
N/A – this issue is related to custom integrations not fully covered by existing documentation.