Create Policy
https://api.coralogix.com/mgmt/openapi/5/dataplans/policies/v1Creates a new data policy.
Authorizations
Request
Body
This data structue is used to create a new policy.
- oneOf
- Option 1
- Option 2
- Option 3
Rule.
Archive retention.
Optional free-text description of the policy's purpose.
My Policy DescriptionWhen true, the policy is disabled and will not be evaluated.
Log rules for a policy.
TCO priority level assigned to a policy, controlling how data is routed and archived.
Possible values: [PRIORITY_TYPE_UNSPECIFIED, PRIORITY_TYPE_BLOCK, PRIORITY_TYPE_LOW, PRIORITY_TYPE_MEDIUM, PRIORITY_TYPE_HIGH]
Priority override.
Span rules.
Rule.
List of data targets/destinations to which this policy routes data.
Response
This data structue is obtained when creating a policy.
- Option 1
- Option 2
- Option 3
A policy is a set of rules that define the behavior of the Coralogix system for a specific company.
oneOfRule.
Archive retention.
Internal Coralogix company/team identifier that owns this policy.
1234Timestamp (RFC 3339) when the policy was created.
2021-01-01T00:00:00.000ZSoft-delete marker; when true the policy has been deleted and is no longer applied.
falseOptional free-text description of the policy's purpose.
My Policy DescriptionIndicates whether the policy is actively evaluated and applied.
trueLog rules for a policy.
Ordering priority that determines the sequence in which policies are evaluated.
1TCO priority level assigned to a policy, controlling how data is routed and archived.
Possible values: [PRIORITY_TYPE_UNSPECIFIED, PRIORITY_TYPE_BLOCK, PRIORITY_TYPE_LOW, PRIORITY_TYPE_MEDIUM, PRIORITY_TYPE_HIGH]
Priority override.
Priority override status.
Span rules.
Rule.
List of data targets/destinations to which this policy routes data.
Timestamp (RFC 3339) when the policy was last updated.
2021-01-01T00:00:00.000Z