Hello!
I’ve got a Grafana - Loki - Promtail stack running to read logs off of a really old application. I need to track the status of the application using 2 lines, the first line indicates when a certain process has started, the second line indicates when the process has ended.
Based on that, using Grafana transformations, I now have a table in Grafana, that looks something like this:
| SET | STARTING LINE | ENDING LINE | TIMESTAMP 1 | TIMESTAMP 2 |
| INIT | Here we go | Log ends here | 12/08/2024 09:31:28 | 12/08/2024 09:33:28 |
I’m trying to have a graph out of this, that does the following:
- A stacked graph that has date on the x axis (like 12/08/24, 13/08/24 etc) and time on the Y axis (9:00, 10:00, 11:00 etc)
- Different sets have different colours in the stacked graph based on the set name from the table
So far, I’ve tried to use different visualizations (candlesticks, state timeline, time series) but never really succeeded with them. It just comes up as a point on the graph for the starting point, but not a stacked graph.
Can someone please help with this? Thanks in advance!