getauditlog — 감사 로그 구성 출력

getauditlog — 감사 로그 구성 출력

nodetool getauditlog 명령은 감사 로그의 구성 설정을 출력하는 명령이에요. 활성화되어 있으면 현재 구성을, 아니면 cassandra.yaml에 반영된 구성을 보여줘요.

출처: nodetool getauditlog

본문

getauditlog는 감사 로그가 어떤 설정으로 동작 중인지 확인할 때 써요. 감사 로그가 켜져 있으면 실행 중인 구성을, 꺼져 있으면 cassandra.yaml에 반영된 구성을 출력해요. 아래는 완전한 사용법이에요.

NAME
        nodetool getauditlog - Print configuration of audit log if enabled,
        otherwise the configuration reflected in cassandra.yaml

SYNOPSIS
        nodetool [(-h <host> | --host <host>)] [(-p <port> | --port <port>)]
                [(-pp | --print-port)] [(-pw <password> | --password <password>)]
                [(-pwf <passwordFilePath> | --password-file <passwordFilePath>)]
                [(-u <username> | --username <username>)] getauditlog

OPTIONS
        -h <host>, --host <host>
            Node hostname or ip address

        -p <port>, --port <port>
            Remote jmx agent port number

        -pp, --print-port
            Operate in 4.0 mode with hosts disambiguated by port number

        -pw <password>, --password <password>
            Remote jmx agent password

        -pwf <passwordFilePath>, --password-file <passwordFilePath>
            Path to the JMX password file

        -u <username>, --username <username>
            Remote jmx agent username

더 알아보기 (Learn more)