Describe the bug
When trying to use Logstash fileds as tenant_id for the loki output plugin, the plugin will not replace the values with the field values.
To Reproduce
Steps to reproduce the behavior:
Install Logstash with the Loki Plugin
Edit Output config from Logstash tenant_id => "%{[fields][bi_loki_tenant]}"
Start Logstash
Expected behavior
The Plugin will replace the %{[fields][bi_loki_tenant]} with the correct values.
Describe the bug When trying to use Logstash fileds as tenant_id for the loki output plugin, the plugin will not replace the values with the field values.
To Reproduce Steps to reproduce the behavior:
tenant_id => "%{[fields][bi_loki_tenant]}"
Expected behavior The Plugin will replace the %{[fields][bi_loki_tenant]} with the correct values.
Environment:
Fix I have made already a pull request with the fix https://github.com/grafana/loki/pull/14512