Skip to content

Commit

Permalink
[Logs] Update the location of the Elasticsearch host (#3579) (#3582)
Browse files Browse the repository at this point in the history
(cherry picked from commit f524594)

Co-authored-by: Mike Birnstiehl <[email protected]>
  • Loading branch information
mergify[bot] and mdbirnstiehl authored Jan 30, 2024
1 parent 2a26da0 commit 569b6b2
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 22 deletions.
Binary file not shown.
Binary file added docs/en/observability/images/help-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 1 addition & 6 deletions docs/en/observability/logs-ecs-application.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,7 @@ output.elasticsearch:
api_key: "id:api_key"
----

. Set the `hosts` to your deployment's {es} endpoint. Copy the {es} endpoint from your deployment's page and add the port (the default port is `443`). For example, `https://my-deployment.es.us-central1.gcp.cloud.es.io:443`.
+
--
[role="screenshot"]
image::images/es-endpoint-cluster-id.png[{es} endpoint and cluster id location, 50%]
--
. Set the `hosts` to your deployment's {es} endpoint. Copy the {es} endpoint from *Help menu (image:images/help-icon.png[]) → Connection details*. For example, `https://my-deployment.es.us-central1.gcp.cloud.es.io:443`.
. From **Developer tools**, run the following command to create an API key that grants `manage` permissions for the `cluster` and the `filebeat-*` indices using:
+
[source,console]
Expand Down
7 changes: 1 addition & 6 deletions docs/en/observability/logs-plaintext.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,7 @@ output.elasticsearch:
api_key: "id:api_key"
----

. Set the `hosts` to your deployment's {es} endpoint. Copy the {es} endpoint from your deployment's page and add the port (the default port is `443`). For example, `https://my-deployment.es.us-central1.gcp.cloud.es.io:443`.
+
--
[role="screenshot"]
image::images/es-endpoint-cluster-id.png[{es} endpoint and cluster id location, 50%]
--
. Set the `hosts` to your deployment's {es} endpoint. Copy the {es} endpoint from *Help menu (image:images/help-icon.png[]) → Connection details*. For example, `https://my-deployment.es.us-central1.gcp.cloud.es.io:443`.
. From **Developer tools**, run the following command to create an API key that grants `manage` permissions for the `cluster` and the `filebeat-*` indices using:
+
[source,console]
Expand Down
7 changes: 1 addition & 6 deletions docs/en/observability/logs-stream.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,7 @@ inputs:

Next, set the values for these fields:

- `hosts` – Copy the {es} endpoint from your deployment's page and add the port (the default port is `443`). For example, `https://my-deployment.es.us-central1.gcp.cloud.es.io:443`.
+
--
[role="screenshot"]
image::images/es-endpoint-cluster-id.png[{es} endpoint and cluster id location, 50%]
--
- `hosts` – Copy the {es} endpoint from *Help menu (image:images/help-icon.png[]) → Connection details*. For example, `https://my-deployment.es.us-central1.gcp.cloud.es.io:443`.
- `api-key` – Use an API key to grant the agent access to {es}. To create an API key for your agent, refer to the {fleet-guide}/grant-access-to-elasticsearch.html#create-api-key-standalone-agent[Create API keys for standalone agents] documentation.
+
NOTE: The API key format should be `<id>:<key>`. Make sure you selected *Beats* when you created your API key. Base64 encoded API keys are not currently supported in this configuration.
Expand Down
5 changes: 1 addition & 4 deletions docs/en/observability/logs-troubleshooting.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,7 @@ Failed to connect to {host} port {port} after 0 ms: Connection refused
[[logs-troubleshooting-kib-not-accessible-solution]]
=== Solution

The host needs access to {kib}. Port `443` must be open and the deployment's {es} endpoint must be reachable. Locate your project's endpoint on the deployment page under *Applications*:

[role="screenshot"]
image::images/es-endpoint-cluster-id.png[{es} endpoint location, 50%]
The host needs access to {kib}. Port `443` must be open and the deployment's {es} endpoint must be reachable. Locate your project's endpoint from *Help menu (image:images/help-icon.png[]) → Connection details*.

Run the following command, replacing the URL with your endpoint, and you should get an authentication error with more details on resolving your issue:

Expand Down

0 comments on commit 569b6b2

Please sign in to comment.