POST /v1/partitions

Create a new partition.

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
isIncludedInDefaultSearch Boolean No

Indicates whether the partition is included in the default search scope. When executing a query such as "error | count," certain partitions are automatically part of the search scope. However, for specific partitions, the user must explicitly mention the partition using the _index term, as in "_index=webApp error | count". This property governs the default inclusion of the partition in the search scope. Configuring this property is exclusively permitted for flex partitions.

name String Yes

The name of the partition.

analyticsTier String No

The Data Tier where the data in the partition will reside. Possible values are: 1. continuous 2. frequent 3. infrequent Note: The "infrequent" and "frequent" tiers are only available to Cloud Flex Credits Enterprise Suite accounts.

retentionPeriod Integer No

The number of days to retain data in the partition, or -1 to use the default value for your account. Only relevant if your account has variable retention enabled.

Default value: -1

isCompliant Boolean No

Whether the partition is compliant or not. Mark a partition as compliant if it contains data used for compliance or audit purpose. Retention for a compliant partition can only be increased and cannot be reduced after the partition is marked compliant. A partition once marked compliant, cannot be marked non-compliant later.

Default value: false

routingExpression String Yes

The query that defines the data to be included in the partition.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.