Kubernetes
To collect logs from Kubernetes containers and the applications in Kubernetes containers, check the following.
Agent Update
It is available from Kubernetes agent 1.1.35. For more information about update, see the following.
Checking the agent settings
Home > Select Project > Log > Log Setting
Select a project in the initial screen of the WhaTap monitoring service, and then select Log > Log Setting under Project Menu. Proceed with the process according to the instructions in the Check Agent CONF. tab of the Set up the agent and enable log monitoring section.
Enabling the container log collection
To collect logs in Kubernetes containers, select Apply log settings in the Check agent configuration tab.
Enabling application log collection in the container
It is available from Java 2.1.1 and Python 1.2.2. To collect logs of the applications running on Kubernetes containers, see the following.
-
On the lower part of Check agent settings, select Agent CONFIG..
-
Go to Application Agent CONFIG., and then select Direct Input in the Write Options window.
-
Enter the key,
logsink_enabled
and the value,true
of the following agent configuration command in the field.logsink_enabled=true
-
Select Apply. You can collect application logs in the Kubernetes containers.
-
For more information about the collection of Java application logs, see the following.
-
For more information about the collection of Python application logs, see the following.
-
For more information about the collection of Go application logs, see the following.
Enabling the log monitoring
Home > Select Project > Log > Log Setting
You can enable or disable the WhaTap log monitoring with the toggle button in the Activate log monitoring tab of the Starting the log monitoring section.
- If you turn on , the log monitoring is enabled. You can try for free for 15 days from the activation date.
- If you turn off , the log monitoring is disabled. Logs are no longer saved.
Role
After agent installation, you can enable the log monitoring settings only when you have the edit permission on the project. For more information about the roles, see the following.
Kubernetes log monitoring category guide
You can check various logs related to Kubernetes. The monitoring categories provided by WhaTap Kubernetes are as follows. Depending on the settings, duplicate log contents may be stored. Be sure to check for duplicates.
Category | Description |
---|---|
#K8sEvent |
|
#WhatapEvent |
|
containerStdout |
|
AppLog |
|