Skip to content

Commit

Permalink
Add a note about Cloud ID (elastic#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanRoscigno authored Oct 30, 2020
1 parent 15c6b5c commit 44ebd0c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/en/observability/monitor-java-app.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -422,12 +422,18 @@ use the commands that work with your system:
include::{beats-repo-dir}/tab-widgets/install-widget-filebeat.asciidoc[]

. Use the {filebeat} keystore to store {filebeat-ref}/keystore.html[secure
settings]. Let’s store the cloud id in the keystore.
settings]. Let’s store the Cloud ID in the keystore.
+
[NOTE]
=====
Substitute the Cloud ID from your deployment in the following command. To find your Cloud ID
Click on your deployment in https://cloud.elastic.co/deployments
=====
+
[source,bash]
----
./filebeat keystore create
echo -n "observability-javalin-app:ZXUtY2VudHJhbC0xLmF3cy5jbG91ZC5lcy5pbyQ4NDU5M2I1YmQzYTY0N2NhYjA2MWQ3NTJhZWFhNWEzYyQzYmQwMWE2OTQ2MmQ0N2ExYjdhYTkwMzI0YjJiOTMyYQ==" | ./filebeat keystore add CLOUD_ID --stdin
echo -n "<Your Cloud ID>" | ./filebeat keystore add CLOUD_ID --stdin
----
+
To store logs in {es} with minimal permissions, create an API key to send data from {filebeat} to {ess}.
Expand Down

0 comments on commit 44ebd0c

Please sign in to comment.