Skip to main content

dropped_fields

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

Overview​

Namedropped_fields
TypeResource
Idsumologic.fields.dropped_fields

Fields​

The following fields are returned by SELECT queries:

List of dropped fields.<br />

NameDatatypeDescription
field_namestringField name. (example: hostIP) (wire: fieldName)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectregionDropped fields are fields sent to Sumo Logic, but are ignored since they are not defined in your Fields schema. In order to save these values a field must both exist and be enabled.

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
regionstringSumo Logic deployment (au, ca, ch, de, eu, fed, in, jp, kr, us1, us2). Resolved from the SUMOLOGIC_ENVIRONMENT environment variable when it is set (x-stackQL-envVar, the same variable the Terraform provider reads); otherwise defaults to us2. A WHERE region = '...' value always takes precedence. (enum: [au, ca, ch, de, eu, fed, in, jp, kr, us1, us2], default: us2, x-stackQL-envVar: SUMOLOGIC_ENVIRONMENT)

SELECT examples​

Dropped fields are fields sent to Sumo Logic, but are ignored since they are not defined in your Fields schema. In order to save these values a field must both exist and be enabled.

SELECT
field_name
FROM sumologic.fields.dropped_fields
WHERE region = '{{ region }}' -- required unless SUMOLOGIC_ENVIRONMENT is set
;