Method: logTypes.generateEventTypesSuggestions

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

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

HTTP request

POST https://chronicle.googleapis.com/v1alpha/{logtype}:generateEventTypesSuggestions

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
{
  "field_extractors": [
    {
      object (FieldExtractor)
    }
  ]
}
Fields
field_extractors[]

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
{
  "event_type_suggestions": [
    {
      object (EventTypesSuggestion)
    }
  ]
}
Fields
event_type_suggestions[]

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
{
  "event_type": enum (EventType),
  "confidence_value": number
}
Fields
event_type

enum (EventType)

The suggested event_type.

confidence_value

number

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