I have a question. is it possible to customize how the message is parsed and posted inside the slack channel?
For example, I have a sample alert posted to the Slack channel, like this
Resolved: #188361 Example alert on host1.example.com Assigned: Valeriy ↑︎ High Urgency Triggered by: Sample Monitoring Service Service: pagerduty-test
It is basic and default behavior with pagerduty intergration.
Let’s imagine, that such payload was posted to Pagerduty via some service
“summary”: “Example alert on host1.example.com”,
So, I want to parse and add some values from custom_details so alert would be posted inside Slack like this
Resolved: #188361 Example alert on host1.example.com Assigned: Valeriy ↑︎ High Urgency Component: nginx Kubernetes: USA Runbook: http://example.com Triggered by: Sample Monitoring Service Service: pagerduty-test
Is there any way to achieve that? I would appreciate any help.