Create a new log
Authorizations
Body
- Option 1
- Option 2
Identifies a log source using either the legacy fields (logset, log) or the current fields (collection, dataset).
The name of the log collection. Replaces the deprecated logset field.
1 - 255"demo"
The name of the dataset within the collection. Replaces the deprecated log field.
1 - 255"http"
Deprecated. Use collection instead.
1 - 255"demo"
Deprecated. Use dataset instead.
1 - 255"http"
Response
Log created successfully
- Option 1
- Option 2
Configuration for a log source. A log can be identified using either the current fields (collection, dataset) or the deprecated legacy fields (logset, log). The log_id must always be provided.
Name of the log collection. Replaces the deprecated logset field.
1 - 255"demo"
Name of the dataset within the collection. Replaces the deprecated log field.
1 - 255"firewall"
The unique identifier of the log
Deprecated. Use collection instead.
1 - 255"demo"
Deprecated. Use dataset instead.
1 - 255"firewall"
Whether the log is generated by the system
false
A map of key value pairs associated with this log
{
"region": "eu",
"environment": "production"
}Identifier of the parser used to process incoming events for this log.
"266ea07d-b013-47c1-9c74-635e42b22cbb"
Common metadata attached to all persisted resources.

