Log#
Logging → LLogs
The Log connects logging Source and Destination resources. It specifies:
- One or more
Sourceresources - One or more
Destinationresources - One or more
TopoNoderesources
Each resource can be selected individually or by label.
Upon creation, the Log deploys the necessary configuration to all specified nodes. It sends all log messages captured by the selected Source resources to all selected Destination resources.
Dependencies#
Source#
A logging Source filters the messages generated by a node by severity, process, message content, or a combination of those.
Destination#
A logging Destination processes the messages captured by the Source and stores them either on the node, or sends them to an external syslog server.
TopoNode#
Configuration to capture, store, or send log messages is deployed to the nodes selected by the Log.
Referenced resources#
The Log does not reference any other EDA resources.
Examples#
Custom Resource Definition#
To browse the Custom Resource Definition, go to crd.eda.dev.
Log
SPEC
LogSpec defines the desired state of Log
-
Label selector matching destinations to send the log messages to.
-
List of destinations to send the log messages to.
-
Label selector matching nodes where this log is configured.
-
List of nodes where this log is configured.
-
Label selector matching sources for the log messages captured by this log.
-
List of Sources that select log messages captured by this log.
STATUS
LogStatus defines the observed state of Log
-
Nodes where this log source has been applied.