Quantcast
Channel: PagerDuty Community - Latest topics
Viewing all articles
Browse latest Browse all 1569

Custom Transform Integration grouping question.

$
0
0

@MarkTrochym wrote:

Using the following service: https://test-priceline.pagerduty.com/services/PFR8MV5

I am having difficulty when trying to group by Summary when I make a change in the “Custom Transform” Integration.

For example, incidents are successfully grouped by Summary when the "Custom Event Transformer” integration is set as the following:

var normalized_event = {
event_type: PD.Trigger,
description: "Error: " + PD.inputRequest.body.server_host,
details: PD.inputRequest

};

PD.emitGenericEvents([normalized_event]);

Example of successfully grouped incidents using about "Custom Event Transformer”:
test-priceline.pagerduty.com/incidents/PD644AH
test-priceline.pagerduty.com/incidents/PREHX4Z

When I change the “details” section in the “Custom Event Transformer" to the following:

var normalized_event = {
event_type: PD.Trigger,
description: "Error: " + PD.inputRequest.body.server_host,
details: “Follow blah blah link”

};

PD.emitGenericEvents([normalized_event]);

It no longer groups by Summary even though the Summaries are the same and the grouping it set to Summary.

Example of events that don’t group:
test-priceline.pagerduty.com/incidents/PVT27OZ
test-priceline.pagerduty.com/incidents/PM1LSW3

Thanks!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 1569

Trending Articles