You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/quickstart/ech/hosts_vms.md
+80-2
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,84 @@ nav_order: 2
5
5
parent: Elastic Cloud Hosted
6
6
---
7
7
8
-
# Quickstart - Hosts & VMs - Hosted
8
+
# Quickstart
9
9
10
-
TODO
10
+
🖥 Hosts / VMs
11
+
{: .label .label-red }
12
+
13
+
🗄️ Elastic Cloud Hosted
14
+
{: .label .label-blue }
15
+
16
+
The quick start for Hosts / VMs with with Elastic Cloud Hosted will guide you through setting up the EDOT Collector and EDOT SDKs to collect host metrics, logs and application traces.
17
+
18
+
1.**Download the EDOT Collector**
19
+
20
+
[Download the EDOT Collector](../../edot-collector/download) for your operating system.
21
+
22
+
2.**Configure the EDOT Collector**
23
+
24
+
Retrieve the `Elasticsearch Endpoint` and the `Elastic API Key` for your Elastic Cloud deployment by [following these instructions](./#retrieving-connection-details-for-your-elastic-cloud-deployment).
25
+
26
+
Replace `<ELASTICSEARCH_ENDPOINT>` and `<ELASTIC_API_KEY>` before applying the below command.
27
+
28
+
*Linux*
29
+
30
+
```bash
31
+
ELASTICSEARCH_ENDPOINT=<ELASTICSEARCH_ENDPOINT> \
32
+
ELASTIC_API_KEY=<ELASTIC_API_KEY> \
33
+
rm ./otel.yml && cp ./otel_samples/logs_metrics_traces.yml ./otel.yml && mkdir -p ./data/otelcol && sed -i 's#\${env:STORAGE_DIR}#'"$PWD"/data/otelcol'#g' ./otel.yml && sed -i 's#\${env:ELASTIC_ENDPOINT}#$ELASTICSEARCH_ENDPOINT' ./otel.yml && sed -i 's/\${env:ELASTIC_API_KEY}/$ELASTIC_API_KEY/g' ./otel.yml
34
+
```
35
+
36
+
*MacOS*
37
+
38
+
```bash
39
+
ELASTICSEARCH_ENDPOINT=<ELASTICSEARCH_ENDPOINT> \
40
+
ELASTIC_API_KEY=<ELASTIC_API_KEY> \
41
+
rm ./otel.yml && cp ./otel_samples/logs_metrics_traces.yml ./otel.yml && mkdir -p ./data/otelcol && sed -i '''s#\${env:STORAGE_DIR}#'"$PWD"/data/otelcol'#g' ./otel.yml && sed -i '''s#\${env:ELASTIC_ENDPOINT}#$ELASTICSEARCH_ENDPOINT' ./otel.yml && sed -i '''s/\${env:ELASTIC_API_KEY}/$ELASTIC_API_KEY/g' ./otel.yml
Retrieve the `Elasticsearch Endpoint` and the `Elastic API Key`for your Elastic Cloud deployment by [following these instructions](./#retrieving-connection-details-for-your-elastic-cloud-deployment).
28
+
29
+
Replace both, `<ELASTICSEARCH_ENDPOINT>` and `<ELASTIC_API_KEY>`in the below command to create a namespace and a secret with your credentials.
Add a language-specific annotation to your namespace by replacing `<LANGUAGE>` with one of the supported values (`nodejs`, `java`, `python`, `dotnet` or `go`) in the below command.
Restart your deployment to ensure the annotations and auto-instrumentations are applied.
59
+
60
+
For languages where auto-instrumentation is not available, you will need to manually instrument your application. See the [Setup section in the corresponding SDK](../../edot-sdks).
Copy file name to clipboardexpand all lines: docs/quickstart/self-managed/hosts_vms.md
+15-4
Original file line number
Diff line number
Diff line change
@@ -21,12 +21,22 @@ The quick start for Hosts / VMs with a self-managed Elastic Stack will guide you
21
21
22
22
2.**Configure the EDOT Collector**
23
23
24
-
Retrieve your [Elasticsearch endpoint](https://www.elastic.co/guide/en/kibana/current/search-space-connection-details.html) and [API key](https://www.elastic.co/guide/en/kibana/current/api-keys.html) and replace `<ELASTICSEARCH_ENDPOINT>` and `<BASE64_APIKEY>` before applying the below command.
24
+
Retrieve your [Elasticsearch endpoint](https://www.elastic.co/guide/en/kibana/current/search-space-connection-details.html){:target="_blank"} and [API key](https://www.elastic.co/guide/en/kibana/current/api-keys.html){:target="_blank"} and replace `<ELASTICSEARCH_ENDPOINT>` and `<ELASTIC_API_KEY>` before applying the below command.
25
25
26
-
*Linux / MacOS*
26
+
*Linux*
27
+
28
+
```bash
29
+
ELASTICSEARCH_ENDPOINT=<ELASTICSEARCH_ENDPOINT> \
30
+
ELASTIC_API_KEY=<ELASTIC_API_KEY> \
31
+
rm ./otel.yml && cp ./otel_samples/logs_metrics_traces.yml ./otel.yml && mkdir -p ./data/otelcol && sed -i 's#\${env:STORAGE_DIR}#'"$PWD"/data/otelcol'#g' ./otel.yml && sed -i 's#\${env:ELASTIC_ENDPOINT}#$ELASTICSEARCH_ENDPOINT' ./otel.yml && sed -i 's/\${env:ELASTIC_API_KEY}/$ELASTIC_API_KEY/g' ./otel.yml
32
+
```
33
+
34
+
*MacOS*
27
35
28
36
```bash
29
-
rm ./otel.yml && cp ./otel_samples/logs_metrics_traces.yml ./otel.yml && mkdir -p ./data/otelcol && sed -i 's#\${env:STORAGE_DIR}#'"$PWD"/data/otelcol'#g' ./otel.yml && sed -i 's#\${env:ELASTIC_ENDPOINT}#<ELASTICSEARCH_ENDPOINT>' ./otel.yml && sed -i 's/\${env:ELASTIC_API_KEY}/<BASE64_APIKEY>/g' ./otel.yml
37
+
ELASTICSEARCH_ENDPOINT=<ELASTICSEARCH_ENDPOINT> \
38
+
ELASTIC_API_KEY=<ELASTIC_API_KEY> \
39
+
rm ./otel.yml && cp ./otel_samples/logs_metrics_traces.yml ./otel.yml && mkdir -p ./data/otelcol && sed -i '''s#\${env:STORAGE_DIR}#'"$PWD"/data/otelcol'#g' ./otel.yml && sed -i '''s#\${env:ELASTIC_ENDPOINT}#$ELASTICSEARCH_ENDPOINT' ./otel.yml && sed -i '''s/\${env:ELASTIC_API_KEY}/$ELASTIC_API_KEY/g' ./otel.yml
30
40
```
31
41
32
42
*Windows*
@@ -39,7 +49,7 @@ The quick start for Hosts / VMs with a self-managed Elastic Stack will guide you
Copy file name to clipboardexpand all lines: docs/quickstart/self-managed/k8s.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ logs collection and application monitoring.
24
24
25
25
2. **Setup Credentials**
26
26
27
-
Retrieve your [Elasticsearch endpoint](https://www.elastic.co/guide/en/kibana/current/search-space-connection-details.html) and [API key](https://www.elastic.co/guide/en/kibana/current/api-keys.html) and replace both in the below command to create a namespace and a secret with your credentials.
27
+
Retrieve your [Elasticsearch endpoint](https://www.elastic.co/guide/en/kibana/current/search-space-connection-details.html){:target="_blank"} and [API key](https://www.elastic.co/guide/en/kibana/current/api-keys.html){:target="_blank"} and replace both in the below command to create a namespace and a secret with your credentials.
Copy file name to clipboardexpand all lines: docs/quickstart/serverless/hosts_vms.md
+81-2
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,85 @@ nav_order: 2
5
5
parent: Elastic Cloud Serverless
6
6
---
7
7
8
-
# Quickstart - Hosts & VMs - Serverless
8
+
# Quickstart
9
9
10
-
TODO
10
+
🖥 Hosts / VMs
11
+
{: .label .label-red }
12
+
13
+
☁️ Elastic Cloud Serverless
14
+
{: .label .label-green }
15
+
16
+
The quick start for Hosts / VMs with Elastic Cloud Serverless will guide you through setting up the EDOT Collector and EDOT SDKs to collect host metrics,
17
+
logs and application traces and send the data through OTLP to your Elastic Serverless Porject.
18
+
19
+
1.**Download the EDOT Collector**
20
+
21
+
[Download the EDOT Collector](../../edot-collector/download) for your operating system.
22
+
23
+
2.**Configure the EDOT Collector**
24
+
25
+
Retrieve the `Elastic OTLP Endpoint` and the `Elastic API Key` for your Serverless Project by [following these instructions](./#retrieving-connection-details-for-your-serverless-project).
26
+
27
+
Replace `<ELASTICSEARCH_ENDPOINT>` and `<ELASTIC_API_KEY>` before applying the below command.
28
+
29
+
*Linux*
30
+
31
+
```bash
32
+
ELASTICSEARCH_ENDPOINT=<ELASTICSEARCH_ENDPOINT> \
33
+
ELASTIC_API_KEY=<ELASTIC_API_KEY> \
34
+
rm ./otel.yml && cp ./otel_samples/managed_otlp/logs_metrics_traces.yml ./otel.yml && mkdir -p ./data/otelcol && sed -i 's#\${env:STORAGE_DIR}#'"$PWD"/data/otelcol'#g' ./otel.yml && sed -i 's#\${env:ELASTIC_ENDPOINT}#$ELASTICSEARCH_ENDPOINT' ./otel.yml && sed -i 's/\${env:ELASTIC_API_KEY}/$ELASTIC_API_KEY/g' ./otel.yml
35
+
```
36
+
37
+
*MacOS*
38
+
39
+
```bash
40
+
ELASTICSEARCH_ENDPOINT=<ELASTICSEARCH_ENDPOINT> \
41
+
ELASTIC_API_KEY=<ELASTIC_API_KEY> \
42
+
rm ./otel.yml && cp ./otel_samples/managed_otlp/logs_metrics_traces.yml ./otel.yml && mkdir -p ./data/otelcol && sed -i '''s#\${env:STORAGE_DIR}#'"$PWD"/data/otelcol'#g' ./otel.yml && sed -i '''s#\${env:ELASTIC_ENDPOINT}#$ELASTICSEARCH_ENDPOINT' ./otel.yml && sed -i '''s/\${env:ELASTIC_API_KEY}/$ELASTIC_API_KEY/g' ./otel.yml
Retrieve the `Elastic OTLP Endpoint` and the `Elastic API Key`for your Serverless Project by [following these instructions](./#retrieving-connection-details-for-your-serverless-project).
27
28
28
-
Retrieve your [Elasticsearch endpoint](https://www.elastic.co/guide/en/kibana/current/search-space-connection-details.html) and [API key](https://www.elastic.co/guide/en/kibana/current/api-keys.html) and replace bothin the below command to create a namespace and a secret with your credentials.
29
+
Replace both, `<ELASTIC_OTLP_ENDPOINT>`and `<ELASTIC_API_KEY>`in the below command to create a namespace and a secret with your credentials.
0 commit comments