I saw there are variable functions but didn’t see any way to make the value all caps
What is the data source? you might be able to use a function from the data source itself. for example if your data source is sql server you would do something like this
drop table messages;
create table messages(messageid int,
message nvarchar(2500),
messagetype nvarchar(50))
insert into messages
select 1, 'greetings of some countries','hi' union
select 2, 'farming gardening tool', 'hoe' union
select 3, 'sound associated with laughter', 'ha'
Notice the use of the SQL Server function UPPER
datasource is prometheus
Maybe using regex but I do not believe grafana does replacement commands for regex.