A question about Grafana Transformation

Hello,
How do I add the following mapping?

if action_code == "%%1537" then "Read Data (or List Directory)"
else if action_code == "%%1538" then "Write Data (or Add File)"
else if action_code == "%%1539" then "Append Data (or Add Subdirectory or File)"
...
else "Unknown Action"

I can’t see action_code or Replace all fields options.

Thank you.

What is your datasource

1 Like

Hello,
Thank you so much for your reply.
My data source is Grafana Loki.