Skip to main content

truncate

Creates, updates, deletes, gets or lists a truncate resource.

Overview

Nametruncate
TypeResource
Idsumologic.lookup_tables.truncate

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
truncateTableexecid, regionDelete all data from a lookup table.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
idstringIdentifier of the table to clear.
regionstringSumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2)

Lifecycle Methods

Delete all data from a lookup table.

EXEC sumologic.lookup_tables.truncate.truncateTable 
@id='{{ id }}' --required,
@region='{{ region }}' --required
;