Commit graph

670 commits

Author SHA1 Message Date
Liam Thompson
56db552831
[DOCS] Make Wolfi hardened Docker option more prominent (#118755) (#118949) 2024-12-19 00:20:30 +11:00
Rene Groeschke
ca58882352
Add wolfi documentation from 8.16 branch (#118835) (#118839)
port from https://github.com/elastic/elasticsearch/pull/118684
2024-12-18 00:12:02 +11:00
István Zoltán Szabó
fb431a30a0
[DOCS] Reviews docker examples. (#118339) (#118344) 2024-12-11 01:43:35 +11:00
David Kyle
b7e96f115e
Document using xpack.ml.use_auto_machine_memory_percent setting in docker getting started (#114009) (#116480)
If xpack.ml.use_auto_machine_memory_percent is not explicitly set to true then
the default value (false) means ML will only use 30% of the available memory making
it impractical to run the ELSER model. This is useful for users wanting to get started 
with semantic search.The single node docker instructions have been updated with a 
command that gives the container enough memory to run the ELSER model and enables xpack.ml.use_auto_machine_memory_percent. For the multi-node guide the docker 
compose file is updated to enable the ml setting for every node in the cluster.
2024-11-09 00:11:56 +11:00
David Turner
b6432e98ea
Clarify support for bundled JDK (#113993) (#114208)
Spells out that third-party EOL schedules don't affect our support. Also
reorders the information to talk about the benefits of the bundled JDK
before mentioning alternatives, and clarifies the division of
responsibilities for "supported" JDKs other than the bundled one.
2024-10-07 20:36:01 +11:00
David Turner
03804af0cc
Misc ReferenceDocs improvements (#113667) (#113861)
- Forbid ephemeral `_auto_gen.html` and `page.html#_auto_gen` links.
- Remove dangling/unused `BOOTSTRAP_CHECK_G1GC` link.
- Separate test suite into individual tests.
2024-10-01 23:42:15 +10:00
Simon Cooper
53d9c3cc6a
Add some information on locale database to the ES docs (#113587) 2024-09-30 09:28:13 +01:00
David Turner
2ba00c2810
Mention full-cluster restart in initial_master_node docs (#112986) (#113166)
Apparently some users consider "node is restarting" not to apply to a
full-cluster restart. This commit further clarifies that you must not
set `cluster.initial_master_nodes` in a full cluster restart.
2024-09-19 20:06:24 +10:00
Stef Nestor
98aa3f2572
(Doc+) Terminating Exit Codes (#112530) (#112774)
👋 howdy, team! Mini PR to cross-replicate [this knowledge article](https://support.elastic.co/knowledge/6610ba83) about Elasticsearch's exit codes which expands [this ES doc section](https://www.elastic.co/guide/en/elasticsearch/reference/master/stopping-elasticsearch.html#fatal-errors).
2024-09-12 07:58:18 +10:00
Slobodan Adamović
265c70423b
[DOCS] Add missing ELASTIC_PASSWORD in docker-compose (#112372)
This PR adds missing ELASTIC_PASSWORD environment variable to es02 and es03 nodes.

Resolves https://github.com/elastic/elasticsearch/issues/112235
2024-09-03 09:58:18 +02:00
Stef Nestor
05060f8413
(Doc+) Link Gateway Settings to Full Restart (#110902)
* (Doc+) Link Gateway Settings to Full Restart

---------

Co-authored-by: shainaraskas <58563081+shainaraskas@users.noreply.github.com>
2024-07-25 09:10:19 -06:00
David Turner
c8583cdcf8
Rework docs on logging levels (#111143)
Clarify that the default config is the recommended one, and that users
should not normally enable `DEBUG` or `TRACE` logging without looking at
the source code. Also reorders the information a bit for easier reading.
2024-07-22 20:23:06 +10:00
Andrei Verdes
fbe2b1ab24
update package-security.asciidoc to include link to reset password (#109314) 2024-06-05 11:38:52 +02:00
Liam Thompson
d0f4966431
[DOCS] Add local dev setup instructions (#107913)
* [DOCS] Add local dev setup instructions

- Replace existing Run ES in Docker locally page, with simpler no-security local dev setup
- Move this file into Quickstart folder, along with existing quickstart guide
- Update self-managed instructions in Quickstart guide to use local dev approach
2024-05-07 18:10:48 +02:00
shainaraskas
58729edc30
add gatekeeper workaround (#108265) 2024-05-06 09:18:51 -04:00
Liam Thompson
33a71e3289
[DOCS] Refactor book-scoped variables in docs/reference/index.asciidoc (#107413)
* Remove `es-test-dir` book-scoped variable

* Remove `plugins-examples-dir` book-scoped variable

* Remove `:dependencies-dir:` and `:xes-repo-dir:` book-scoped variables

- In `index.asciidoc`, two variables (`:dependencies-dir:` and `:xes-repo-dir:`) were removed.
- In `sql/index.asciidoc`, the `:sql-tests:` path was updated to fuller path
- In `esql/index.asciidoc`, the `:esql-tests:` path was updated idem

* Replace `es-repo-dir` with `es-ref-dir`

* Move `:include-xpack: true` to few files that use it, remove from index.asciidoc
2024-04-17 14:37:07 +02:00
shainaraskas
648c9cb05c
[DOCS] Add azure storage secure settings while the node is running (#107163) 2024-04-11 13:00:31 -04:00
David Turner
a8586f31bd
Document lack of logging BwC (#104459)
Our guarantees around backwards compatibility and breaking changes do
not apply to the Elasticsearch application logs. This commit adds a note
to the docs about this.
2024-03-21 16:31:10 +00:00
William Brafford
7a7cbe4879
[DOCS] Recommend a better installation directory for Windows (#106374) 2024-03-17 16:12:42 -04:00
Moritz Mack
6b50b6ddf9
Block updates to log level for restricted loggers if less specific than INFO (#105020)
To prevent leaking sensitive information such as credentials and keys in logs, this 
commit prevents configuring some restricted loggers (currently `org.apache.http` 
and `com.amazonaws.request`) at high verbosity unless the NetworkTraceFlag 
(`es.insecure_network_trace_enabled`) is enabled.
2024-02-21 17:45:51 +01:00
Nikolaj Volgushev
e241a91a4e
Docs for hot-reloadable remote cluster credentials (#105483)
Docs PR to accompany
https://github.com/elastic/elasticsearch/pull/103215.

Resolves: ES-7625
2024-02-15 06:02:13 -05:00
Slobodan Adamović
1f0ea3e015
[Doc] Mark secure_bind_password settings as reloadable (#105448)
This is a followup to #104320, which updates the docs for `secure_bind_password` 
settings and marks them as reloadable.
2024-02-13 14:04:32 +01:00
David Kilfoyle
6ae521bf12
[DOCS] Small fixes for the 'Installing Elasticsearch' page (#105034)
* [DOCS] Add link to on-prem install tutorial

* Move link to bottom of packages section

* Rearrange things according to suggestions

* Add another link on the 'Install Elasticsearch with RPM' page
2024-02-05 10:06:41 -05:00
Johannes Fredén
52eba9c8ca
Update docs to reflect new validation in reload_secure_settings api (#103550) 2023-12-20 12:06:20 +01:00
Iraklis Psaroudakis
6e248a868e
Fix Windows tcpretries as well (#103048)
In previous PR #102968 fixed the Linux value but not the Windows one.

Relates #102788
2023-12-06 15:26:36 +02:00
Iraklis Psaroudakis
bcce4282c4
Correct docs tcp retries timeout (#102968)
Closes #102788
2023-12-06 12:59:20 +02:00
Abdon Pijpelink
ee048c45a9
Update path-settings.asciidoc (#102615) (#102624)
The "the" is non-necessary and meaningless.

(cherry picked from commit 326421773f)

Co-authored-by: Ali <115415312+xogoodnow@users.noreply.github.com>
2023-11-27 04:48:21 -05:00
Abdon Pijpelink
7f5b68711d
[DOCS] Inconsistent ulimit (#100948)
* [DOCS] Inconsistent ulimit

* Another one
2023-10-19 11:34:21 +02:00
William Brafford
571cebc415
Warn about third-party JVM agents in docs (#99718)
* Warn about third-party JVM agents in docs

* Reword, and move warning to its own section

Co-authored-by: James Rodewig <james.rodewig@elastic.co>
2023-09-21 23:49:04 -04:00
David Turner
16744b8a94
Remove obsolete docs for G1GC check (#99729)
We removed this bootstrap check in #85361 but didn't remove its docs.
This commit removes the obsolete docs.
2023-09-21 10:42:02 +01:00
James Rodewig
255c9a7f95
[DOCS] Move x-pack docs to docs/reference dir (#99209)
**Problem:**
For historical reasons, source files for the Elasticsearch Guide's security, watcher, and Logstash API docs are housed in the `x-pack/docs` directory. This can confuse new contributors who expect Elasticsearch Guide docs to be located in `docs/reference`. 

**Solution:**
- Move the security, watcher, and Logstash API doc source files to the `docs/reference` directory
- Update doc snippet tests to use security

Rel: https://github.com/elastic/platform-docs-team/issues/208
2023-09-12 14:53:41 -04:00
James Rodewig
b3646595f1
[DOCS] Add docker-verify-signature anchor to Docker docs (#99431)
**Problem:**

Other Elastic doc sets ([Beats](https://www.elastic.co/guide/en/beats/auditbeat/current/running-on-docker.html), [APM](https://www.elastic.co/guide/en/apm/guide/current/running-on-docker.html)) link to the [Verify the Elasticsearch Docker image signature](https://www.elastic.co/guide/en/elasticsearch/reference/8.9/docker.html#docker-verify-signature) section of the Docker docs. This section was removed as part of https://github.com/elastic/elasticsearch/pull/99371. When we bump to the next version, this will create broken links and break the docs build.

**Solution:**
Re-add the anchor so we don't create broken links or break the docs build.

This commit was added to the backports of https://github.com/elastic/elasticsearch/pull/99371:

- https://github.com/elastic/elasticsearch/pull/99429
- https://github.com/elastic/elasticsearch/pull/99430
2023-09-11 12:10:01 -04:00
James Rodewig
22371de7c9
[DOCS] Streamline Docker Compose docs (#99371)
**Problem**:
The [Docker Compose docs](https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html#docker-compose-file) are overly long. They currently display the entire length of related `.env` and `docker-compose.yml` files.

**Solution**:
- Rewrite the Docker Compose docs as a procedural with ordered steps.
- Provide download links for the `.env` and `docker-compose.yml` files rather than display them.
- Move info about pulling and verifying Docker images into the [Run Elasticsearch in Docker docs](https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html#docker-cli-run-dev-mode). These steps don't apply to the Docker Compose docs.

Closes https://github.com/elastic/platform-docs-team/issues/186
Depends on https://github.com/elastic/enterprise-search-pubs/pull/3788
2023-09-11 11:05:08 -04:00
James Rodewig
87195052d7
[DOCS] Fix syntax errors in Docker docs (#99313)
**Problem:**
- The `elasticsearch-reset-password` commands in the ES Docker install docs are missing the required `-u` flag
- The `ifeval` blocks in the Kibana section of the ES Docker install docs aren't rendering correctly in released docs.


**Solution:**
- Add the `-u` flag to `elasticsearch-reset-password` examples
- Fix the Asciidoc syntax to correctly render the `ifeval` blocks. Example:

Rel: https://github.com/elastic/elasticsearch/pull/99112
2023-09-07 12:19:25 -04:00
James Rodewig
43abd92b37
[DOCS] Add Docker instructions for Kibana (#99112)
**Problem:**
The [Kibana Docker install docs](https://www.elastic.co/guide/en/kibana/master/docker.html) duplicate the Elasticsearch Docker instructions. This makes the two doc sets harder to maintain. For example, the docs currently use different container names, which makes them incompatible.

**Solution:**
Adds Kibana setup instructions to the Elasticsearch Docker install docs. This will let us eventually merge the two doc sets.

**Issues:**
Rel: https://github.com/elastic/platform-docs-team/issues/182
2023-09-06 07:50:51 -04:00
Tim
baa4e5d6ab
[DOCS] Deduplicate the JVM sizing instructions in Docker documentation (#99079)
- Deduplicates the JVM sizing instructions
- Links the `-m` tag tip section to the JVM sizing instructions
- Replaces the fully typed out container registry to {docker-image}

Co-authored-by: James Rodewig <james.rodewig@elastic.co>
2023-08-31 08:34:53 -04:00
James Rodewig
1301995a46
[DOCS] Remove unneeded ifevals from install docs (#98952)
Problem: The current install docs contain several `ifeval` statements that hide commands and code snippets based on the branch's release state. These statements make the Asciidoc hard to read  and maintain. It also makes doc changes difficult to preview.

Solution: Remove `ifeval` statements that hide commands or code snippets. Leave in any `ifeval` statements used to add warnings.
2023-08-29 07:56:10 -04:00
James Rodewig
29e2e6f141
[DOCS] Simplify single-node Docker instructions (#98886)
Problem:
The current [single-node Docker instructions](https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html#docker-cli-run-dev-mode) are overly verbose and contain a lot of unneeded info about security internals. 

Solution:
- Restructure the above docs to focus primarily on actionable steps.
- Test the docs across operating systems (Mac, Linux, Windows) to ensure they work.
2023-08-28 08:54:30 -04:00
James Rodewig
31408bddc1
[DOCS] Add $ELASTIC_PASSWORD env var to install docs (#98898)
- Removes duplicated security autoconfiguration output from the docs. This is difficult to keep updated and makes the docs longer.
- Encourages the user to store the `elastic` password as an environment variable. Users don't need to rely on curl's password prompts.
- Removes unused `api-call-widget` files. These aren't published anywhere in the docs currently.
2023-08-28 08:25:13 -04:00
Pooya Salehi
966eb022d9
[DOCS] Mention mmap and FD limits when increasing default max shard per node (#97975) 2023-07-26 16:45:27 +02:00
Ryan Ernst
3f8f7182be
Remove index version and transport version from main endpoint response (#97675)
The index and transport versions are low level details of how a node
behaves in a cluster. They were recently added to the main endpoint
response, but they are too low level and should be moved to another
endpoint TBD.

This commit removes those versions from the main endpoint response. Due
to the fact lucene version is now derived from index version, this
commit also adds an explicit lucene version member to the main response.
2023-07-18 06:36:46 -07:00
Simon Cooper
572716f7cc
Add IndexVersion to MainResponse (#97386) 2023-07-07 11:27:54 +01:00
Ryan Ernst
3d11f42888
Add transport version to main response (#96900)
The root endpoint for Elasticsearch contains diagnostic information
about what Elasticsearch is running. This commit adds TransportVersion
to this diagnostic information, alongside the existing version
information.
2023-06-20 16:36:04 -04:00
David Turner
b1c3ae582b
Bring-your-own JDK docs improvements (#96404)
- Bury these docs a little more, there's no need for them to be on the landing page for "Set up Elasticsearch".

- Clarify the responsibilities for JDK updates.
2023-06-01 03:39:00 -04:00
debadair
777598d602
[DOCS] Remove redirect pages (#88738)
* [DOCS] Remove manual redirects

* [DOCS] Removed refs to modules-discovery-hosts-providers

* [DOCS] Fixed broken internal refs

* Fixing bad cross links in ES book, and adding redirects.asciidoc[] back into docs/reference/index.asciidoc.

* Update docs/reference/search/point-in-time-api.asciidoc

Co-authored-by: James Rodewig <james.rodewig@elastic.co>

* Update docs/reference/setup/restart-cluster.asciidoc

Co-authored-by: James Rodewig <james.rodewig@elastic.co>

* Update docs/reference/sql/endpoints/translate.asciidoc

Co-authored-by: James Rodewig <james.rodewig@elastic.co>

* Update docs/reference/snapshot-restore/restore-snapshot.asciidoc

Co-authored-by: James Rodewig <james.rodewig@elastic.co>

* Update repository-azure.asciidoc

* Update node-tool.asciidoc

* Update repository-azure.asciidoc

---------

Co-authored-by: amyjtechwriter <61687663+amyjtechwriter@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Amy Jonsson <amy.jonsson@elastic.co>
Co-authored-by: James Rodewig <james.rodewig@elastic.co>
2023-05-24 12:32:46 +01:00
Maxime Gréau
66ce733e31
[DOCS] Verifying Elasticsearch container image signatures with Cosign from Sigstore (#96298)
* [DOCS] Verifying Elasticsearch container image signatures with Cosign/Sigstore

This commit adds a step to verify the Elasticsearch container image signatures after pulling the image and before starting any cluster.

The goal is to introduce an easy and standard way for Elastic users to verify the provenance of the Elasticsearch container images before deploying them to any infrastructure and therefore protect against supply chain attacks.

* Update docker.asciidoc

* Update docs/reference/setup/install/docker.asciidoc

* Update docs/reference/setup/install/docker.asciidoc

* Update docs/reference/setup/install/docker.asciidoc

Co-authored-by: David Kilfoyle <41695641+kilfoyle@users.noreply.github.com>

* Update docs/reference/setup/install/docker.asciidoc

Co-authored-by: David Kilfoyle <41695641+kilfoyle@users.noreply.github.com>

* Remove JSON section from sample output

* Fix up command output format

* Change 'console' to 'sh'

---------

Co-authored-by: David Kilfoyle <41695641+kilfoyle@users.noreply.github.com>
Co-authored-by: David Kilfoyle <david.kilfoyle@elastic.co>
2023-05-23 14:09:22 -04:00
Abdon Pijpelink
9180bea2f0
[DOCS] Fix small typo in secure-settings.asciidoc (#96040)
The word "in" was missing.
2023-05-11 19:05:25 +02:00
David Turner
3e61112b1e
Reword note on tmpfs (#95974)
There's no need to talk about unwelcome behaviour or power outages here,
and it caused at least one user some concern. This commit clarifies the
message.

Relates #95166
2023-05-10 13:47:01 +01:00
David Turner
a8d82d996f
Note renaming a cluster requires a full restart (#95858) 2023-05-05 10:35:58 +01:00
David Kilfoyle
2c8e29807e
[DOCS] Add note about /tmp removal (#95166) 2023-04-13 08:39:53 -04:00