---
title: "GET /#Action=PutInsightRule"
method: GET
path: "/#Action=PutInsightRule"
---

# GET /#Action=PutInsightRule

`GET /#Action=PutInsightRule`

Creates a Contributor Insights rule. Rules evaluate log events in a CloudWatch Logs log group, enabling you to find contributor data for the log events in that log group. For more information, see [Using Contributor Insights to Analyze High-Cardinality Data](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ContributorInsights.html).

If you create a rule, delete it, and then re-create it with the same name, historical data from the first time the rule was created might not be available.

## Query parameters

- `RuleName` string, required
- `RuleState` string
- `RuleDefinition` string, required
- `Tags` Tag[]
  - `Key` string, required — A string that you can use to assign a value. The combination of tag keys and values can help you organize and categorize your resources.
  - `Value` string, required — The value for the specified tag key.
- `Action` 'PutInsightRule', required
- `Version` '2010-08-01', required

## Response `200`

Success

## Other responses

- `480` — InvalidParameterValueException
- `481` — MissingRequiredParameterException
- `482` — LimitExceededException

---

[API](https://skmtc.net/aws/apis/monitoring.md) · [All operations](https://skmtc.net/aws/apis/monitoring/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/monitoring/versions/40e3ac7bae8a/schema)
