Skip to main content

scheduled_views

Overview

Namescheduled_views
TypeResource
Idsumologic.scheduled_views.scheduled_views

Fields

NameDatatypeDescription
idstringIdentifier for the scheduled view.
totalBytesintegerTotal storage consumed by the scheduled view.
parsingModestringDefine the parsing mode to scan the JSON format log messages. Possible values are:
1. AutoParse
2. Manual
In AutoParse mode, the system automatically figures out fields to parse based on the search query. While in the Manual mode, no fields are parsed out automatically. For more information see Dynamic Parsing.
errorstringErrors related to the scheduled view.
modifiedAtstringLast modification timestamp in UTC in RFC3339 format.
indexNamestringName of the index for the scheduled view.
modifiedBystringIdentifier of the user who last modified the resource.
createdAtstringCreation timestamp in UTC.
retentionEffectiveAtstringWhen the newRetentionPeriod will become effective in UTC format.
newRetentionPeriodintegerIf the retention period is scheduled to be updated in the future (i.e., if retention period is previously reduced with value of reduceRetentionPeriodImmediately as false), this property gives the future value of retention period while retentionPeriod gives the current value. retentionPeriod will take up the value of newRetentionPeriod after the scheduled time.
filledRangesarrayList of the different units of filled ranges since the autoview has been created.
statusstringStatus of the scheduled view.
startTimestringStart timestamp in UTC in RFC3339 format.
createdBystringIdentifier of the user who created the scheduled view.
querystringThe query that defines the data to be included in the scheduled view.
indexIdstringThe id of the Index where the output from Scheduled view is stored.
totalMessageCountintegerTotal number of messages for the scheduled view.
createdByOptimizeItbooleanIf the scheduled view is created by OptimizeIt.
retentionPeriodintegerThe 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.
dataForwardingIdstringAn optional ID of a data forwarding configuration to be used by the scheduled view.

Methods

NameAccessible byRequired ParamsDescription
getScheduledViewSELECTid, regionGet a scheduled view with the given identifier.
listScheduledViewsSELECTregionGet a list of all scheduled views in the organization. The response is paginated with a default limit of 100 scheduled views per page.
createScheduledViewINSERTdata__indexName, data__query, data__startTime, regionCreates a new scheduled view in the organization.
updateScheduledViewEXECid, regionUpdate an existing scheduled view.