Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ actor {

### Construct your mutation:

Use the `updatePipelineCloudRule` mutation, providing the rule's `id` and a `pipelineCloudRuleEntity` object containing the fields you want to change.
Use the `entityManagementUpdatePipelineCloudRule` mutation, providing the rule's `id` and a `pipelineCloudRuleEntity` object containing the fields you want to change.

- **`id`:** The entity ID of the cloud rule you identified in step 1.

Expand All @@ -371,8 +371,8 @@ Use the `updatePipelineCloudRule` mutation, providing the rule's `id` and a `pip
Suppose you have an existing rule that drops `dropAttr1` from `MyEventToDrop` eventType. If you want to change it to drop `dropAttr2` instead, call the following mutation:

```graphql
mutation UpdatePipelineCloudRule {
updatePipelineCloudRule(
mutation {
entityManagementUpdatePipelineCloudRule(
id: "MTAyNTY1MHxOR0VQfFBJUEVMSU5FX0NMT1VEX1JVTEV8MDE5ODgwOTUtMmZjNC03MTQ3LTkxMjQtZDk3YjhiY2Y4NGNj", # Replace with your rule's actual entity ID
pipelineCloudRuleEntity: {
description: "Since we do not need dropAttr2 ingested we would drop this attribute.",
Expand All @@ -397,8 +397,8 @@ mutation UpdatePipelineCloudRule {
To disable a rule from dropping data, set the enabled field to `false` in your update mutation.

```graphql
mutation UpdatePipelineCloudRule {
updatePipelineCloudRule(
mutation {
entityManagementUpdatePipelineCloudRule(
id: "MTAyNTY1MHxOR0VQfFBJUEVMSU5FX0NMT1VEX1JVTEV8MDE5ODgwOTUtMmZjNC03MTQ3LTkxMjQtZDk3YjhiY2Y4NGNj"
pipelineCloudRuleEntity: {
enabled: false # Stops the rule from dropping data
Expand Down Expand Up @@ -426,8 +426,8 @@ When you update a rule from `enabled: false` to `enabled: true`, the system perf
- If the rule was disabled by New Relic (e.g., EOL policy): The request will fail unless the user possesses the necessary internal entitlements to override the policy.

```graphql
mutation UpdatePipelineCloudRule {
updatePipelineCloudRule(
mutation {
entityManagementUpdatePipelineCloudRule(
id: "MTAyNTY1MHxOR0VQfFBJUEVMSU5FX0NMT1VEX1JVTEV8MDE5ODgwOTUtMmZjNC03MTQ3LTkxMjQtZDk3YjhiY2Y4NGNj"
pipelineCloudRuleEntity: {
enabled: true # Re-activates the rule
Expand Down
Loading