POST /v1/scheduledViews
Creates a new scheduled view in the organization.
Servers
- https://api.au.sumologic.com/api/
- https://api.ca.sumologic.com/api/
- https://api.de.sumologic.com/api/
- https://api.eu.sumologic.com/api/
- https://api.fed.sumologic.com/api/
- https://api.jp.sumologic.com/api/
- https://api.kr.sumologic.com/api/
- https://api.in.sumologic.com/api/
- https://api.sumologic.com/api/
- https://api.us2.sumologic.com/api/
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 |
---|---|---|---|
startTime |
String | Yes |
Start timestamp in UTC in RFC3339 format. |
query |
String | Yes |
The query that defines the data to be included in the scheduled view. |
retentionPeriod |
Integer | No |
The number of days to retain data in the scheduled view, or -1 to use the default value for your account. Only relevant if your account has multi-retention enabled. Default value: -1 |
indexName |
String | Yes |
Name of the index for the scheduled view. |
dataForwardingId |
String | No |
An optional ID of a data forwarding configuration to be used by the scheduled view. |
parsingMode |
String | No |
Define the parsing mode to scan the JSON format log messages. Possible values are:
Default value: "Manual" |
How to start integrating
- Add HTTP Task to your workflow definition.
- 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.
- Click Test request to test run your request to the API and see the API's response.