# LogTypeSetting

- [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/LogTypeSetting#SCHEMA_REPRESENTATION)
- [ExtractionType](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/LogTypeSetting#ExtractionType)

A Log type Setting represents a resource that contains log type setting.

| JSON representation |
|---|
| ``` { "name": string, "autonomousParsingDedupeEnabled": boolean, "autonomousParsingExtractionType": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/LogTypeSetting#ExtractionType`), "autonomousParsingMaxOptinFields": integer, "autonomousParsingMaxArrayElements": integer } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. The resource name of this log type setting. Format: projects/{project}/locations/{location}/instances/{instance}/logTypes/{logType}/logTypeSetting |
| `autonomousParsingDedupeEnabled` | `boolean` Optional. Flag to determine whether to dedupe key-value pairs present in field extracted if already present in udm. |
| `autonomousParsingExtractionType` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/LogTypeSetting#ExtractionType`)`` Output only. type of auto extraction. Eg: ALL_FIELDS, OPT_IN, DISABLED |
| `autonomousParsingMaxOptinFields` | `integer` Output only. max number of fields allowed to opt in |
| `autonomousParsingMaxArrayElements` | `integer` Output only. max number of elements that will be extracted from an array field |

## ExtractionType

Extraction type of dynamic parsing.

| Enums ||
|---|---|
| `EXTRACTION_TYPE_UNSPECIFIED` | Extraction type is unspecified. |
| `DISABLED` | Extraction is disabled. |
| `ALL_FIELDS` | Extract all fields. |
| `OPT_IN` | Extract only opted in fields. |