copyright | lastupdated | keywords | subcollection | ||
---|---|---|---|---|---|
|
2024-10-28 |
cloud-logs |
{{site.data.keyword.attribute-definition-list}}
{: #cl-operational-logs}
You can send infrastructure and application logs to an {{site.data.keyword.logs_full_notm}} instance by using the {{site.data.keyword.agent}} or by using the REST API. You can also configure a Linux {{site.data.keyword.agent}} on a Linux server to collect and route (r)Syslog data to an {{site.data.keyword.logs_full_notm}} instance. {: shortdesc}
{: #cl-operational-logs-agent}
The {{site.data.keyword.agent}} is based on the Fluent Bit open-source agent which is used to collect and process log data. You can deploy the {{site.data.keyword.agent}} in supported environments and manage data from various sources and formats. For more information, see About the {{site.data.keyword.agent}}.
The following diagram shows the high level view of sources where you can deploy the {{site.data.keyword.agent}} to send logs directly to an {{site.data.keyword.logs_full_notm}} instance:
{: caption="Flow of logs from agent" caption-side="bottom"}
For more information, see:
- Deploying the {{site.data.keyword.agent}} for Red Hat OpenShift clusters using a Helm chart.
- Deploying the {{site.data.keyword.agent}} for Kubernetes clusters using a Helm chart.
- Deploying the Linux {{site.data.keyword.agent}}.
{: #cl-operational-logs-api}
You can send logs to an {{site.data.keyword.logs_full_notm}} instance by using the ingestion API. For more information, see Sending logs by using the REST API.
{: #cl-operational-logs-agent-collector}
You can configure a Linux {{site.data.keyword.agent}} on a Linux server to collect and route (r)Syslog data to an {{site.data.keyword.logs_full_notm}} instance.
- {{site.data.keyword.logs_full_notm}} does not support a syslog endpoint.
- For more information, see Configuring the {{site.data.keyword.agent}} for (r)Syslog 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: