Expected to get error message in the alert to slack but insted of it i recieve only values from promtail agent about error location (file, host, env).
But nobody is going to go every time to the grafana and enter query to get error message manually.
So, the question is how to get the log row with error message exactly in Gragana and send it to slack? Not just a sum of errors in log but exactly the error message is needed. Is there an approach how to implement it? I have been searching through prometheus and Grafana documentation but did not find any useful related with this case. Only found how to calculate the rows, errors and so on. Nothing related to our use case.
Please help. Thanks in advance.