Skip to content

Commit

Permalink
Doc: Update Logstash intro and security overview for serverless (#15313
Browse files Browse the repository at this point in the history
…) (#15663)

(cherry picked from commit 0954a68)

Co-authored-by: Karen Metts <35154725+karenzone@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and karenzone committed Dec 6, 2023
1 parent 06bb7f1 commit e8fe80e
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 8 deletions.
20 changes: 20 additions & 0 deletions docs/index.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,26 @@ type of event can be enriched and transformed with a broad array of input, filte
native codecs further simplifying the ingestion process. Logstash accelerates your insights by harnessing a greater
volume and variety of data.


[serverless]
.Logstash to {serverless-full}
****
You'll use the {ls} <<plugins-outputs-elasticsearch,{es} output plugin>> to send data to {serverless-full}.
Note these differences between {es-serverless} and both {ess} and self-managed {es}:
* Use *API keys* to access {serverless-full} from {ls}.
Any user-based security settings in your in your <<plugins-outputs-elasticsearch,{es} output plugin>> configuration are ignored and may cause errors.
* {serverless-full} uses *data streams* and {ref}/data-stream-lifecycle.html[{dlm} ({dlm-init})] instead of {ilm} ({ilm-init}).
Any {ilm-init} settings in your <<plugins-outputs-elasticsearch,{es} output plugin>> configuration are ignored and may cause errors.
* *{ls} monitoring* is available through the https://github.com/elastic/integrations/blob/main/packages/logstash/_dev/build/docs/README.md[{ls} Integration] in {serverless-docs}/observability/what-is-observability-serverless[Elastic Observability] on {serverless-full}.
.Known issue for {ls} to {es-serverless}.
The logstash-output-elasticsearch `hosts` setting defaults to port :9200. Set the value to port :443 instead.
****


// The pass blocks here point to the correct repository for the edit links in the guide.

// Introduction
Expand Down
30 changes: 22 additions & 8 deletions docs/static/security/es-security.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,35 @@ See {ref}/configuring-stack-security.html[Starting the Elastic Stack with securi

{ess} uses certificates signed by standard publicly trusted certificate authorities, and therefore setting a cacert is not necessary.

.Hosted {ess} simplifies security
.Security to {serverless-full} [[serverless]]
[NOTE]
=====
Our hosted {ess} on Elastic Cloud simplifies safe, secure communication between {ls} and {es}.
When you configure the elasticsearch output plugin to use <<plugins-outputs-elasticsearch-cloud_id,`cloud_id`>> with either the <<plugins-outputs-elasticsearch-cloud_auth,`cloud_auth` option>> or the <<plugins-outputs-elasticsearch-api_key,`api_key` option>>, no additional SSL configuration steps are needed.
Examples:
{es-serverless} simplifies safe, secure communication between {ls} and {es}.
* `output {elasticsearch { cloud_id => "<cloud id>" cloud_auth => "<cloud auth>" } }`
* `output {elasticsearch { cloud_id => "<cloud id>" api_key => "<api key>" } }``
Configure the <<plugins-outputs-elasticsearch,{ls} {es} output plugin>> to use <<plugins-outputs-elasticsearch-cloud_id,`cloud_id`>> and an <<plugins-outputs-elasticsearch-api_key,`api_key`>> to establish safe, secure communication between {ls} and {es-serverless}.
No additional SSL configuration steps are needed.
Configuration example:
For more details, check out the
{logstash-ref}/connecting-to-cloud.html[Logstash-to-Cloud documentation].
* `output {elasticsearch { cloud_id => "<cloud id>" api_key => "<api key>" } }`
For more details, check out <<ls-api-keys>>.
=====

.Security to hosted {ess} [[hosted-ess]]
[NOTE]
=====
Our hosted {ess} on Elastic Cloud simplifies safe, secure communication between {ls} and {es}.
When you configure the <<plugins-outputs-elasticsearch,{ls} {es} output plugin>> to use <<plugins-outputs-elasticsearch-cloud_id,`cloud_id`>> with either the <<plugins-outputs-elasticsearch-cloud_auth,`cloud_auth` option>> or the <<plugins-outputs-elasticsearch-api_key,`api_key` option>>, no additional SSL configuration steps are needed.
{ess-leadin-short}
Configuration example:
* `output {elasticsearch { cloud_id => "<cloud id>" cloud_auth => "<cloud auth>" } }`
* `output {elasticsearch { cloud_id => "<cloud id>" api_key => "<api key>" } }`
For more details, check out <<ls-api-keys>> or <<connecting-to-cloud>>.
=====

[discrete]
Expand Down

0 comments on commit e8fe80e

Please sign in to comment.