You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
enabled: false # HolmesGPT's default logging mechanism MUST be disabled
67
67
68
68
Advanced Configuration
69
69
^^^^^^^^^^^^^^^^^^^^^^
70
70
71
71
Frequent logs and archive
72
-
****************************
72
+
*************************
73
73
74
74
By default, holmes fetched the logs from the `Frequent search <https://coralogix.com/docs/user-guides/account-management/tco-optimizer/logs/#frequent-search-data-high-priority>`_
75
75
tier and only fetch logs from the `Archive` tier if the frequent search returned no result.
@@ -100,10 +100,10 @@ Here is a description of each possible log retrieval methodology:
100
100
- **BOTH_FREQUENT_SEARCH_AND_ARCHIVE** Always use both the frequent search and the archive to fetch logs. The result contains merged data which is deduplicated and sorted by timestamp.
101
101
102
102
Search labels
103
-
***************
103
+
*************
104
104
105
105
You can tweak the labels used by the toolset to identify kubernetes resources. This is **optional** and only needed if your
106
-
logs settings for ``pod``, ``namespace``, ``application`` and ``subsystem`` differ from the defaults in the example below.
106
+
logs settings for ``pod``and ``namespace`` differ from the defaults in the example below.
107
107
108
108
.. code-block:: yaml
109
109
@@ -114,8 +114,6 @@ logs settings for ``pod``, ``namespace``, ``application`` and ``subsystem`` diff
114
114
labels: # OPTIONAL: tweak the filters used by HolmesGPT if your coralogix configuration is non standard
115
115
namespace: "kubernetes.namespace_name"
116
116
pod: "kubernetes.pod_name"
117
-
application: "coralogix.metadata.applicationName"
118
-
subsystem: "coralogix.metadata.subsystemName"
119
117
...
120
118
121
119
@@ -126,19 +124,8 @@ You can verify what labels to use by attempting to run a query in the coralogix
126
124
:align:center
127
125
128
126
129
-
Disabling the default toolset
130
-
*********************************
131
127
132
-
If Coralogix is your primary datasource for logs, it is **advised** to disable the default HolmesGPT logging
133
-
tool by disabling the ``kubernetes/logs`` toolset. Without this. HolmesGPT may still use kubectl to
By enabling this toolset, HolmesGPT will be able to describe and find kubernetes resources like
9
+
By enabling this toolset, HolmesGPT will be able to describe and find Kubernetes resources like
10
10
nodes, deployments, pods, etc.
11
11
12
12
Configuration
@@ -90,22 +90,8 @@ Capabilities
90
90
91
91
* - Tool Name
92
92
- Description
93
-
* - kubectl_previous_logs
94
-
- Run `kubectl logs --previous` on a single Kubernetes pod. Used to fetch logs for a pod that crashed and see logs from before the crash. Never give a deployment name or a resource that is not a pod.
95
-
* - kubectl_previous_logs_all_containers
96
-
- Run `kubectl logs --previous` on a single Kubernetes pod. Used to fetch logs for a pod that crashed and see logs from before the crash.
97
-
* - kubectl_container_previous_logs
98
-
- Run `kubectl logs --previous` on a single container of a Kubernetes pod. Used to fetch logs for a pod that crashed and see logs from before the crash.
99
-
* - kubectl_logs
100
-
- Run `kubectl logs` on a single Kubernetes pod. Never give a deployment name or a resource that is not a pod.
101
-
* - kubectl_logs_all_containers
102
-
- Run `kubectl logs` on all containers within a single Kubernetes pod.
103
-
* - kubectl_container_logs
104
-
- Run `kubectl logs` on a single container within a Kubernetes pod. This is to get the logs of a specific container in a multi-container pod.
105
-
* - kubectl_logs_grep
106
-
- Search for a specific term in the logs of a single Kubernetes pod. Only provide a pod name, not a deployment or other resource.
0 commit comments