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