- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- EventTypesSuggestion
- Try it!
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 |
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 ( |
Fields | |
---|---|
field_extractors[] |
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 ( |
Fields | |
---|---|
event_type_suggestions[] |
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 ( |
Fields | |
---|---|
event_type |
The suggested event_type. |
confidence_value |
Confidence value for respective event_type, value ranges from 0-1. |