Tell me whether it is possible to make a separation by severity in stackdriver. All messages in the container are displayed in stderror and in stackdriver, they are marked as errors. The task is to separate messages from logs (laravel) into categories information, error, warning.
Google Kubernetes Engine + Stackdriver logging enabled.
Posting this
Community Wiki
for better visibility as OP was able to solve this issue in comment section.Best solution for OP was to add plugin for laravel application which is sending to stackdriver output with proper formatting. Second part was to configure ElasticSearch with adjusted alerting rules.
Another solution which would fit to other scenario is to use fluentd with fluent-plugin-google-cloud.