How to create custom label from field in loki

Currently I am using grafana and loki for logs. both are self hosted. we are getting logs from the windows server with two labels job name and filename. which is basically we mentioned in grafana agent config file. Now in log line we are able to see customer name website name in key value pair as a filed. now i want to make labels from it. So i can put in variables to search based on the customer name or website name. i will put screenshot to make it more understandable.

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