Nir Gazit
03/18/2024, 8:45 PMLinenBot
03/18/2024, 4:48 PMDes
joined #general.Ayush Gupta
03/18/2024, 5:28 AMDibyendu Biswas
03/17/2024, 6:05 AMbramdev528
03/16/2024, 8:25 AMLinenBot
03/16/2024, 8:25 AMbramdev528
joined #general.saurabh biramwar
03/15/2024, 5:26 PMChiranth Raju C
03/15/2024, 5:09 PMSaurabh Biramwar
03/15/2024, 5:05 PMSaurabh Biramwar
03/15/2024, 5:05 PMLinenBot
03/15/2024, 5:05 PMSaurabh Biramwar
joined #general.Hariharan
03/15/2024, 1:11 PMMax
03/15/2024, 11:29 AMSurya
03/15/2024, 8:19 AMSurya
03/15/2024, 8:19 AMK Kumar
03/14/2024, 8:06 AM김지인
03/14/2024, 12:59 AMAl
03/13/2024, 8:34 PM:
is stripped from the URL e.g. https//dashboard/blah
which means I'm unable to click on the resulting link in the notification. Thanks.LinenBot
03/13/2024, 2:33 PMMaksymilian Potok
joined #general.Srinivas Anant
03/13/2024, 7:48 AM马璐
03/13/2024, 12:59 AMprometheus.yml
(https://github.com/SigNoz/charts/blob/main/charts/signoz/templates/query-service/configmap.yaml#L6) in the query-service do? I have my own alert-manager deployed in the cluster that I won’t use the alert-manager provided by the signoz chart. I wonder what am I supposed to do with the Alert manager Configuration
section in prometheus.yml
.Muks
03/12/2024, 5:01 PMNoel McGrath
03/11/2024, 10:17 AMPramod Sharma
03/10/2024, 2:22 AMPramod Sharma
03/10/2024, 2:16 AMkdev logs signoz-otel-collector-655cdb9c76-wb9mj
24-03-10T01:34:44.833Z info fileconsumer/file.go:184 Started watching file from end. To read preexisting logs, configure the argument 'start_at' to 'beginning' {"kind": "receiver", "name": "filelog", "data_type":
"logs", "component": "fileconsumer", "path": "/var/log/audit/aks.log"}
{"level":"info","timestamp":"2024-03-10T01:34:45.503Z","caller":"service/service.go:73","msg":"Client started successfully"}
{"level":"info","timestamp":"2024-03-10T01:34:45.503Z","caller":"opamp/client.go:49","msg":"Ensuring collector is running","component":"opamp-server-client"}
2024-03-10T01:35:44.620Z warn clickhousemetricsexporter/exporter.go:254 Dropped histogram metric with no data points {"kind": "exporter", "data_type": "metrics", "name": "clickhousemetricswrite", "name": "signoz_latency"}
Pramod Sharma
03/10/2024, 1:06 AMPramod Sharma
03/10/2024, 1:06 AM{
"kind": "Event",
"apiVersion": "audit.k8s.io/v1",
"level": "Metadata",
"auditID": "a2355547-3f75-46f0-8084-f0741210c892",
"stage": "ResponseComplete",
"requestURI": "/api/v1/namespaces/vmware-system-csi/pods",
"verb": "deletecollection",
"user": {
"username": "system:serviceaccount:kube-system:namespace-controller",
"uid": "8ff8ce11-2bc1-4071-ba6c-6378a0f1cc93",
"groups": [
"system:serviceaccounts",
"system:serviceaccounts:kube-system",
"system:authenticated"
]
},
"sourceIPs": [
"10.0.0.176"
],
"userAgent": "kube-controller-manager/v1.28.3 (linux/amd64) kubernetes/a8a1abc/system:serviceaccount:kube-system:namespace-controller",
"objectRef": {
"resource": "pods",
"namespace": "vmware-system-csi",
"apiVersion": "v1"
},
"responseStatus": {
"metadata": {},
"code": 200
},
"requestReceivedTimestamp": "2024-03-09T08:57:11.838483Z",
"stageTimestamp": "2024-03-09T08:57:11.839564Z",
"annotations": {
"authorization.k8s.io/decision": "allow",
"authorization.k8s.io/reason": "RBAC: allowed by ClusterRoleBinding \"system:controller:namespace-controller\" of ClusterRole \"system:controller:namespace-controller\" to ServiceAccount \"namespace-controller/kube-system\""
}
}
Non working file
{
"category": "kube-audit",
"operationName": "Microsoft.ContainerService/managedClusters/diagnosticLogs/Read",
"properties": {
"stream": "stdout",
"pod": "kube-apiserver-75b4b75759-5v5lx",
"log": "{\"kind\":\"Event\",\"apiVersion\":\"audit.k8s.io/v1\",\"level\":\"Metadata\",\"auditID\":\"0daad20e-d916-4133-b204-6a48d4eda6e6\",\"stage\":\"ResponseComplete\",\"requestURI\":\"/api/v1/serviceaccounts?limit=500\\u0026resourceVersion=0\",\"verb\":\"list\",\"user\":{\"username\":\"system:apiserver\",\"uid\":\"9780069e-d923-43ce-b39b-7d961a904f45\",\"groups\":[\"system:masters\"]},\"sourceIPs\":[\"127.0.0.1\"],\"userAgent\":\"kube-apiserver/v1.27.9 (linux/amd64) kubernetes/d15213f\",\"objectRef\":{\"resource\":\"serviceaccounts\",\"apiVersion\":\"v1\"},\"responseStatus\":{\"metadata\":{},\"code\":200},\"requestReceivedTimestamp\":\"2024-03-09T06:29:15.156546Z\",\"stageTimestamp\":\"2024-03-09T06:29:15.253005Z\",\"annotations\":{\"authorization.k8s.io/decision\":\"allow\",\"authorization.k8s.io/reason\":\"\"}}\n",
"containerID": "57cb35a25c565fc468381b49dc2eb67dda586dc13f6fcaf20f14088f9ac5ad81"
},
"resourceId": "/SUBSCRIPTIONS/XXXXX",
"serviceBuild": "na",
"time": "2024-03-09T06:29:15.253110865Z"
}
I noticed something that logs start in non working json file there logs json object iside n json object but I am not sure if that difference is causing the logs to not show up
Not working - "log":"{\"kind\":\"Event\"
Working: {"kind":"Event","
Pramod Sharma
03/09/2024, 7:09 PMreceivers:
filelog:
include: [ /var/log/audit/aks.log ]
start_at: end
operators:
- type: json_parser
service:
pipelines:
logs:
receivers: [otlp, filelog, httplogreceiver/heroku, httplogreceiver/json]
processors: [batch]
exporters: [clickhouselogsexporter]
extraVolumeMounts:
- mountPath: /var/log/audit/audit.log
name: audit-log
- mountPath: /var/log/audit/aks.log
name: aks-log
- mountPath: /mnt/blob
name: blob-log
extraVolumes:
- hostPath:
path: /var/log/audit/audit.log
type: FileOrCreate
name: audit-log
- hostPath:
path: /var/log/audit/aks.log
type: FileOrCreate
name: aks-log
- name: blob-log
persistentVolumeClaim:
claimName: pvc-blob-fuse
See I am trying to search for newlog file name but it's still shows old file name. No result on file aks.log which I have configured above.
I can see the file in the pod
Pod: default/signoz-otel-collector-8cc98f667-b9grm | Container: signoz-otel-collector
~ $ ls /var/log/audit/
aks.log audit.log
cat conf/otel-collector-config.yaml
receivers:
filelog:
include:
- /var/log/audit/aks.log
operators:
- type: json_parser
start_at: end
Boris Servo
03/08/2024, 8:21 PMBoris Servo
03/08/2024, 7:52 PM