How to set the hostname in telegraf file such that its always in lowercase currently i am using empty string

Some of our servers have the computer names in Upper case and some in lowercase.

Any-idea how to make them all in lowercase such that in the grafana and other dashboards it looks good

Currently its set to hostname = “” ( empty string )

Thanks
Sri

There isn’t an easy way to do this. Perhaps this proposed processor plugin would help, could you add your use case to the comment thread?