Precisely what are you trying to do? Are you trying to parse the timestamp of your logline and use that for your x-axis? If so, I don’t know if that’s possible, and even if it is it most certainly won’t be ideal.
What I’d recommend is to parse the timestamp at the time when you send the log to Loki so that it is written into Loki (or Grafana Cloud) in the correct time.
I would like to use a value (string) from a JSON log.
In this case, I would use it in a Stat (just a string text inside). But there are more cases where I would parse those log values and use it in a simple line chart (so y-axis).
PS: How can I parse the timestamp at the time when I send the log to Loki?