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"
Log created successfully
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"
}
Percentage (0.0–1.0) of newly ingested events that will be dropped. 0.0 means no events are dropped. 1.0 means all events are dropped. Dropped events are permanently discarded and will not be indexed or monitored.
0 <= x <= 10.25
Minimum accepted log level. Events below this level will be rejected. For example, if set to info, debug and trace events will be rejected. Events without a level are always accepted. Rejected events are permanently discarded and will not be indexed or monitored.
trace, debug, info, warning, error, severe, critical, fatal, notice, alert, emergency "info"
Identifier of the parser used to process incoming events for this log.
"266ea07d-b013-47c1-9c74-635e42b22cbb"