이 페이지는 아직 한국어로 제공되지 않습니다. 번역 작업 중입니다.
현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우
언제든지 연락주시기 바랍니다.CloudPrem is in Preview
Join the CloudPrem Preview to access new self-hosted log management features.
Request AccessOverview
This quickstart covers the following:
- Start CloudPrem locally using Docker.
- Verify the cluster status.
- Send a “Hello World” log.
- View the log in the Datadog Log Explorer.
Prerequisites
Step 1: Start CloudPrem
Run the following command in your terminal to start a local CloudPrem instance. Replace <YOUR_API_KEY> with your actual Datadog API Key.
export DD_API_KEY="<YOUR_API_KEY>"
export DD_SITE="datadoghq.com"
docker run -d \
--name cloudprem \
-v $(pwd)/qwdata:/quickwit/qwdata \
-e DD_SITE=${DD_SITE} \
-e DD_API_KEY=${DD_API_KEY} \
-p 127.0.0.1:7280:7280 \
datadog/cloudprem run
Step 2: Verify status in the CloudPrem console
In Datadog, go to the CloudPrem console and check that your cluster is connected. You should see the connected status.
In the CloudPrem console, you can edit the cluster metadata and rename your cluster to demo.
Step 3: Send a log
In your terminal, send a “Hello World” log entry directly to your local CloudPrem instance using the API:
curl -X POST "http://localhost:7280/api/v2/logs" \
-H "Content-Type: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-d '[
{
"message": "Hello world from CloudPrem",
"level": "info",
"service": "demo"
}
]'
Step 4: Explore logs
- Go to the Datadog Log Explorer.
- On the left facet panel, select the checkbox for your index under CLOUDPREM INDEXES.
- You should see your “Hello world from CloudPrem” log entry.
Next steps
With CloudPrem running, you can: