InfoGrab Docs

ClickHouse 데이터베이스 접근

Teleport 데이터베이스 접근을 ClickHouse와 함께 구성하는 방법.

Teleport ClickHouse 통합을 통해 ClickHouse 데이터베이스를 Teleport에 등록할 수 있습니다. 이 가이드를 통해 다음을 수행할 수 있습니다: Teleport 데이터베이스 에이전트를 설치하고 구성합니다. 셀프 호스팅 ClickHouse 데이터베이스에 접근하기 위해 Teleport를 설정합니다. Teleport를 통해 데이터베이스에 연결합니다. 작동 방식 # Teleport 데이터베이스 서비스는 x509 인증서를 사용하여 ClickHouse에 인증하며, 이 인증서는 ClickHouse HTTP 및 Native(TCP) 인터페이스 에서 사용 가능합니다. Teleport 데이터베이스 서비스는 ClickHouse Native(TCP) 및 HTTP 프로토콜 모두로 통신할 수 있으며, Teleport 데이터베이스 서비스를 구성할 때 사용할 프로토콜을 선택할 수 있습니다. 쿼리 활동에 대한 Teleport 감사 로그는 ClickHouse HTTP 인터페이스에서만 지원됩니다. ClickHouse의 네이티브 인터페이스에 대한 Teleport 지원에는 데이터베이스 쿼리 활동에 대한 감사 로그가 포함되지 않습니다. Self-Hosted Teleport Cloud 사전 조건 # A running Teleport cluster. If you want to get started with Teleport, sign up for a free trial or set up a demo environment . The tctl and tsh clients. Installing `tctl` and `tsh` clients Determine the version of your Teleport cluster. The tctl and tsh clients must be at most one major version behind your Teleport cluster version. Send a GET request to the Proxy Service at /v1/webapi/find and use a JSON query tool to obtain your cluster version. Replace with the web address of your Teleport Proxy Service: $ TELEPORT_DOMAIN= $ TELEPORT_VERSION="$(curl -s https://$TELEPORT_DOMAIN/v1/webapi/find | jq -r '.server_version')" Follow the instructions for your platform to install tctl and tsh clients: Teleport 데이터베이스 서비스를 실행할 Linux 호스트 또는 Kubernetes 클러스터. 선택한 ClickHouse 프로토콜에 따라 다음도 필요합니다: HTTP Native (TCP) ClickHouse Server v22.3 이상의 셀프 호스팅 배포. ClickHouse Server v23.3 이상의 셀프 호스팅 배