-
|
Hi, i am trying to get this working with status.hetzner.com to either add some annotations or get a list of events shown. <entry>
<id>https://status.hetzner.com/2e715748-fddd-427b-a07b-b34a5a9edee3/0</id>
<updated>2025-04-09T11:20:09+00:00</updated>
<link href="https://status.hetzner.com/incident/2e715748-fddd-427b-a07b-b34a5a9edee3" />
<title>Phishing emails stealing logins and credit card data</title>
<category term="General"/>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>Start: 2024-07-05T06:00:00+00:00</p>(They also provide more detailed json, but i doubt the link "https://status.hetzner.com/_next/data/QProyRhlViKY54HDLI54L/en.json" will persist and ist probably generated). I already do get some data and fields, but the time seems to be in the wrong format and i can't get it converted the right way. Maybe someone else was luckier than me? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
|
I would advise to use the INFINITY JSONATA parsing feature and use the $MAP function to parse the date as I do. {
} Here it is
and then use the Convert field type transformation to convert to time oin Grafana
with final result. You can set any date format you require using the transformation convert field type options
|
Beta Was this translation helpful? Give feedback.
-
|
Ok I was barking up the wrong tree. I looked at the show annotations panel and they did not appear there either? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.












Ok did some more and it appears to be working better now.
The problem is that incident History also contains at a lower level incident Updates
So if one wishes to display all events one will have to capture these sub event as well
To do this in JSONATA you will have to change the path to
$.pageProps.incidents.incidentHistory.incidentUpdatesand then use the %. to refer 1 level back up. Then one may create the entire and sub events as well.It appears the need to use the "Data Frame" format was the issue
https://grafana.com/docs/plugins/yesoreyeram-infinity-datasource/latest/annotations/annotations/#:~:text=To%20add%20annotations%2C%20select%20the,%E2%80%9CData%20Frame%E2%80%9D%20as%20fo…