mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-25 04:28:15 +00:00
updated text to clarify that Rancher sends logs to services. Services don't collect them.
This commit is contained in:
@@ -3,11 +3,11 @@ title: Elasticsearch
|
||||
weight: 200
|
||||
---
|
||||
|
||||
If your organization uses [Elasticsearch](https://www.elastic.co/), either on premise or in the cloud, you can configure it to log Kubernetes events. Afterwards, you can log into your Elasticsearch deployment to view logs for cluster or container events.
|
||||
If your organization uses [Elasticsearch](https://www.elastic.co/), either on premise or in the cloud, you can configure Rancher to send it Kubernetes logs. Afterwards, you can log into your Elasticsearch deployment to view logs for cluster or container events.
|
||||
|
||||
## Configuring Elasticsearch Logging
|
||||
|
||||
You can configure Elasticsearch to log events at both the cluster and project level.
|
||||
You can configure Rancher to send logs from your cluster or project to your instance of Elasticsearch.
|
||||
|
||||
>**Prerequisites:** Configure an [Elasticsearch deployment](https://www.elastic.co/guide/en/cloud/saas-release/ec-create-deployment.html).
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ title: Kafka
|
||||
weight: 400
|
||||
---
|
||||
|
||||
You can configure a [Kafka](https://kafka.apache.org/) to log events that occur in your Kubernetes cluster at both the cluster and project level.
|
||||
You can configure Rancher to send cluster or project logs to a [Kafka](https://kafka.apache.org/) server.
|
||||
|
||||
## Configuring Kafka Logging
|
||||
|
||||
@@ -45,4 +45,4 @@ If you're a [project owner or member]({{< baseurl >}}/rancher/v2.x/en/admin-sett
|
||||
|
||||
1. Click **Save**.
|
||||
|
||||
**Result:** Rancher is now configured to send events to Kafka for logging. View your Kafka stream to view events for your cluster and containers.
|
||||
**Result:** Rancher is now configured to send logs to Kafka. View your Kafka stream to view logs for your cluster and containers.
|
||||
|
||||
@@ -5,11 +5,11 @@ aliases:
|
||||
- /rancher/v2.x/en/tasks/logging/splunk/
|
||||
---
|
||||
|
||||
If your organization uses [Splunk](https://www.splunk.com/), you can configure it to log events from a cluster or project in Rancher. Afterwards events are logged, you can use Splunk to view log events about your cluster and containers.
|
||||
If your organization uses [Splunk](https://www.splunk.com/), you can configure Rancher to send it cluster or project logs. Afterwards logs are sent, you can use Splunk to view them.
|
||||
|
||||
## Configuring Splunk Logging
|
||||
|
||||
You can configure Splunk to log events at both the cluster and project level.
|
||||
You can configure Rancher to send Kubernetes logs to your instance of Splunk.
|
||||
|
||||
>**Prerequisites:**
|
||||
>
|
||||
@@ -56,7 +56,7 @@ If you're a [project owner or member]({{< baseurl >}}/rancher/v2.x/en/admin-sett
|
||||
|
||||
1. Click **Save**.
|
||||
|
||||
**Result:** Rancher is now configured to send events to Splunk for logging. Log into your Spunk instance to view events for your cluster and containers.
|
||||
**Result:** Rancher is now configured to send logs to Splunk. Log into your Spunk instance to view events for your cluster and containers.
|
||||
|
||||
## Viewing Logs
|
||||
|
||||
|
||||
@@ -3,11 +3,11 @@ title: Syslog
|
||||
weight: 500
|
||||
---
|
||||
|
||||
You can configure a [Syslog](https://tools.ietf.org/html/rfc5424) server to log events that occur in your Kubernetes cluster.
|
||||
You can configure Rancher to send Kubernetes logs to a [Syslog](https://tools.ietf.org/html/rfc5424) server.
|
||||
|
||||
## Configuring Syslog
|
||||
|
||||
You can configure Syslog to log events at both the cluster level and the project level.
|
||||
You can configure Rancher to send cluster or project logs to Syslog.
|
||||
|
||||
>**Prerequisite:** You must have a Syslog server configured.
|
||||
|
||||
@@ -62,4 +62,4 @@ If you're a [project owner or member]({{< baseurl >}}/rancher/v2.x/en/admin-sett
|
||||
|
||||
1. Click **Save**.
|
||||
|
||||
**Result:** Rancher is now configured to send events to Syslog for logging. View your Syslog stream to view events for your cluster and containers.
|
||||
**Result:** Rancher is now configured to send logs to your Syslog server. View your Syslog stream to view logs for your cluster and containers.
|
||||
Reference in New Issue
Block a user