Method: logTypes.generateEventTypesSuggestions

Full name: projects.locations.instances.logTypes.generateEventTypesSuggestions

logTypes.generateEventTypesSuggestions generates event types suggestions that can be mapped by a lowcode parser.

HTTP request


Path parameters

Parameters
logtype

string

Required. The logtype of a parser. Format: projects/{project}/locations/{location}/instances/{instance}/logTypes/{logtype}

Request body

The request body contains data with the following structure:

JSON representation
{
  "fieldExtractors": [
    {
      object (FieldExtractor)
    }
  ]
}
Fields
fieldExtractors[]

object (FieldExtractor)

Field extractors of a low code parser.

Response body

Response message for GenerateEventTypesSuggestionsResponse.

If successful, the response body contains data with the following structure:

JSON representation
{
  "eventTypeSuggestions": [
    {
      object (EventTypesSuggestion)
    }
  ]
}
Fields
eventTypeSuggestions[]

object (EventTypesSuggestion)

List of EventTypeSuggestions.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the logtype resource:

  • chronicle.parsers.generateEventTypesSuggestions

For more information, see the IAM documentation.

EventTypesSuggestion

A suggested event type and it's confidence value.

JSON representation
{
  "eventType": enum (EventType),
  "confidenceValue": number
}
Fields
eventType

enum (EventType)

The suggested eventType.

confidenceValue

number

Confidence value for respective eventType, value ranges from 0-1.