Skip to content

Latest commit

 

History

History
55 lines (31 loc) · 2.86 KB

cl-operational-logs.md

File metadata and controls

55 lines (31 loc) · 2.86 KB
copyright lastupdated keywords subcollection
years
2024
2024-10-28
cloud-logs

{{site.data.keyword.attribute-definition-list}}

Monitoring operational logs

{: #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}

By deploying the {{site.data.keyword.agent}}

{: #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:

Sources where the agent is supported{: caption="Flow of logs from agent" caption-side="bottom"}

For more information, see:

By using the Ingestion REST API

{: #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.

Using a Linux {{site.data.keyword.agent}} on a Linux server to collect and route rsyslog data

{: #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.

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:

Sources such as PowerVS where the agent is supported{: caption="Flow of logs from agent" caption-side="bottom"}