Rename by Regex on a Table

Hi guys, I am using telegraf with tail to ingest one log, all good there. On Grafana I am using the Rename by Regex which works perfectly fine on the path tag, you know just to remove the ugly C:\dir\dir\dir\thismylog.log so I can just show thisismylog. This works perfectly fine when using time-series.
When switching to Table, it appears like this:

This is my Transform, that works okay as long as you select time-series on the format as:

  • Running Grafana 8.1.1

@jorgedelacruz,

The ability to perform regex-based value mapping is coming in Grafana 8.2.0!

You can try it in the beta–it works! Here’s another response with a walkthrough:
https://community.grafana.com/t/rename-by-regex-transformation-table-panel/53616/4?u=mattabrams

1 Like

Thank you so much! Will give it a try today!

This topic was automatically closed after 365 days. New replies are no longer allowed.