Monitoring operational logs
You can send infrastructure and application logs to an IBM Cloud Logs instance by using the Logging agent or by using the REST API. You can also configure a Linux Logging agent on a Linux server to collect and route Rsyslog data to an IBM Cloud Logs instance.
By deploying the Logging agent
The Logging agent is based on the Fluent Bit open-source agent which is used to collect and process log data. You can deploy the Logging agent in supported environments and manage data from various sources and formats. For more information, see About the Logging agent.
The following diagram shows the high level view of sources where you can deploy the Logging agent to send logs directly to an IBM Cloud Logs instance:
For more information, see:
By using the Ingestion REST API
You can send logs to an IBM Cloud Logs instance by using the ingestion API. For more information, see Sending logs by using the REST API.
Using a Linux Logging agent on a Linux server to collect and route rsyslog data
You can configure a Linux Logging agent on a Linux server to collect and route Rsyslog data to an IBM Cloud Logs instance.
- IBM Cloud Logs does not support a syslog endpoint.
- For more information, see Configuring the Logging agent for Rsyslog logs.
The following diagram shows the high level view of a source, such as PowerVS, where you can configure rsyslog to send logs to a Linux server: