Hi,
i accomplish get info of FileSystems (lv) OS to the logging GCP. But I need more.
Need get jsonPayload.result to add a Documentation field in Policy Alert configuration.With this info it will be a full filesystem info email alert for us.
Thanks in advance.Regards
Hi @elaltodelgrupo,
Welcome to the Google Cloud Community!
Instead of relying on the documentation field, you can consider using label extractors. Label extractors allow you to dynamically include specific information from the jsonPayload
of log entries directly in your alert notifications. This method enables the insertion of detailed, incident-specific data such as filesystem names, usage percentages, or any other relevant metrics captured in your logs. By extracting this dynamic content, you can make alert notifications more informative and actionable, directly guiding the response without needing a separate documentation link.
You may review this documentation for more information - Choose the logs for which you want to receive a notification.
Thank you.