TMAegisBeta
yugabytedb için daha fazla kural

YugabyteDB

TMA-YUGABYTEDB-3.1.1

Ensure the log destinations are set correctly

OrtaDüzey 1Manuel incelemeyugabytedb

Açıklama

YugabyteDB by default supports logging server messages to stderr. Assessed manually here: the benchmark check is environment-specific and cannot be evaluated reliably by a single command.

Nasıl denetlenir

Denetim yöntemi: Manuel inceleme

Bu öneri otomatik olarak denetlenemez. --include-manual parametresini verdiğinizde tarama bunu bu talimatlarla birlikte listeler.

Run SHOW log_destination; in ysqlsh. The value (default stderr) must include every log destination your organisation logging policy requires (e.g. stderr, csvlog, syslog). Missing required destinations are a finding.

Nasıl düzeltilir

Düzeltme yöntemi: Kılavuz veya altyapı yaması

Use the yb-tserver binary and its flags to configure the YB-TServer server. Add the following GFLAG to YB-TServer: ./bin/yb-tserver --ysql_pg_conf_csv="log_destination='stderr'"

Özellikler

İşletim sistemleri
Herhangi biri
Etiketler
yugabytedblogging
Referans
CIS YugabyteDB Benchmark v2.0.0 - 3.1.1 Ensure the log destinations are set correctly