I have an application which logs data in the following form: 2023-06-30T12:21:08Z DEBUG scalehandler Getting metrics from scaler {"scaledObject.Namespace": "my-namespace", "scaledObject.Name": "my-app", "scaler": "myScaler", "metricName": "http_count_total", "metrics": [], "scalerError": "error getting metrics"} From the above _raw, I want to extract fields such as scaledObject.Name, scaler and scalerError which I would then use to create an alert. Could someone help me in creating new fields for the above mentioned json fields using the rex function?
... View more