Commit graph

48 commits

Author SHA1 Message Date
Stuart Tettemer
d42211c431
Ingest: IngestDocument requires non-null version (#87665)
Changes the type of the version parameter in `IngestDocument` from
`Long` to `long` and moves it to the third argument, so all required
values occur before nullable arguments.

The `IngestService` expects a non-null version for a document and will
throw an `NullPointerException` if one is not provided.

Related: #87309
2022-06-15 07:50:45 -05:00
James Rodewig
d3d468e5f1
[DOCS] Update screenshots for ingest pipeline docs (#83845)
https://github.com/elastic/kibana/pull/101216 adds a new ECS mapper feature to the Ingest Pipelines UI. This updates the ES docs to cover the new feature.
2022-02-23 10:50:02 -05:00
James Rodewig
eda391a7ed
[DOCS] Delete pipeline containing stored script (#83102)
Adds a hidden snippet to delete the pipeline containing a stored script for cleanup.

Relates to https://github.com/elastic/elasticsearch/issues/83097.
2022-01-25 16:32:56 -05:00
James Rodewig
b41397111c
[DOCS] Rename example stored script (#83054)
Changes:

* Renames the example stored script to avoid naming collisions with the [stored script API docs](https://www.elastic.co/guide/en/elasticsearch/reference/master/create-stored-script-api.html).
* Adds a hidden snippet to delete the script for cleanup.

Relates to https://github.com/elastic/elasticsearch/issues/83038
2022-01-25 10:17:33 -05:00
James Rodewig
7f9b62ee7a
[DOCS] Clarify document updates don't apply ingest pipelines (#82232) (#82328)
Adding text to clarify that the default pipeline only applies to indexing requests, not updates.

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
(cherry picked from commit 4e6e4eab22)

Co-authored-by: Mike Barretta <mike.barretta@elastic.co>
2022-01-06 16:51:45 -05:00
James Rodewig
f1004ee698
[DOCS] Fix xref for conditionally running ingest processor (#82001)
Closes #81966
2021-12-21 11:37:20 -05:00
Dan Hermann
a23f58f809
[DOCS] if_version parameter for OCC on pipeline updates (#79640) 2021-10-25 08:25:26 -05:00
DeDe Morton
8d277d0712
Update links to Fleet/Agent docs (#79303) 2021-10-18 11:44:21 -07:00
James Rodewig
a763a86a0d
[DOCS] Update ingest node pipeline refs (#78770)
In https://github.com/elastic/kibana/pull/113783, we renamed Kibana's **Ingest Pipelines** feature to **Ingest Pipelines**. This updates screenshots and references for the feature. It also replaces a few remaining `ingest node pipeline` references.
2021-10-12 08:18:24 -04:00
James Rodewig
5c7fac77b3
[DOCS] Add Beats config example for ingest pipelines (#78633)
* [DOCS] Add Beats config example for ingest pipelines

The Elasticsearch ingest pipeline docs cover ingest pipelines for Fleet and
Elastic Agent. However, the docs don't cover Beats. This adds those docs.

Relates to https://github.com/elastic/beats/pull/28239.

* Update docs/reference/ingest.asciidoc

Co-authored-by: DeDe Morton <dede.morton@elastic.co>

Co-authored-by: DeDe Morton <dede.morton@elastic.co>
2021-10-05 05:47:50 -04:00
James Rodewig
5252995b48
[DOCS] Document regex circuit breaker (#76048)
Documents the `script.painless.regex.enabled` and
`script.painless.regex.limit-factor` cluster settings.

Relates to #63029.

Closes #75199.
2021-08-04 16:37:29 -04:00
James Rodewig
1d68baf065 [DOCS] Fix typo 2021-07-23 15:10:12 -04:00
James Rodewig
8a48d7ff12 [DOCS] Reword for clarity 2021-07-23 14:55:16 -04:00
Dan Hermann
bf64ebf90b
[DOC] Add ingest error metadata (#75653)
These docs were accidentally removed in #70253.
2021-07-23 11:54:03 -04:00
Nhat Nguyen
46ada227dc
Expose dynamic_templates parameter in Ingest (#71716)
This change exposes the newly introduced parameter `dynamic_templates`
in ingest. This parameter can be set by a set processor or a script processor.

Relates #69948
2021-04-19 11:34:13 -04:00
Gonzalo Servat
3a5eba485b
Fix typo in "handing" (missing "l") (#71383) 2021-04-07 08:07:50 -04:00
James Rodewig
40b491b2f1
[DOCS] Use HTML-unescaped Mustache variables in ingest pipelines (#71360) 2021-04-06 15:33:10 -04:00
James Rodewig
4963118fcc
[DOCS] Update button copy (#71220) 2021-04-02 09:06:50 -04:00
James Rodewig
f41320616c
[DOCS] Refactor data stream setup tutorial (#71074) 2021-03-31 17:28:55 -04:00
James Rodewig
27abdd9f2a
[DOCS] Document ingest pipelines for Fleet and Elastic Agent (#70907) 2021-03-31 09:01:18 -04:00
James Rodewig
ea347302e2
[DOCS] Add reusable tests to ingest docs (#70990) 2021-03-30 06:38:34 -04:00
James Rodewig
77cd0b5b74 [DOCS] Sync timestamps 2021-03-26 12:30:44 -04:00
James Rodewig
1514fa8619 [DOCS] Fix whitespace consistency 2021-03-26 11:45:43 -04:00
James Rodewig
06010b96aa [DOCS] Remove leading slash for consistency 2021-03-26 11:06:58 -04:00
James Rodewig
fa93666b6a
[DOCS] Document ingest processor description (#70899) 2021-03-26 09:42:46 -04:00
James Rodewig
d7144dedf8
[DOCS] Document on_failure param for create pipeline API (#70679) 2021-03-23 09:22:34 -04:00
James Rodewig
026c02b1ee
[DOCS] Add additional example to ingest pipeline docs (#70677) 2021-03-23 07:54:41 -04:00
James Rodewig
85516d6901 [DOCS] Fix typos 2021-03-22 10:43:44 -04:00
James Rodewig
010a973018
[DOCS] Refactor ingest pipeline docs (#70253) 2021-03-15 12:22:57 -04:00
James Rodewig
6e215ee4b1
[DOCS] Fix instructions for dedicated ingest node (#69179) 2021-02-18 08:53:20 -05:00
James Rodewig
f63e54ad4a
[DOCS] Fix ingest node.roles example (#66287) 2020-12-15 08:19:54 -05:00
James Rodewig
441c3a21b1
[DOCS] Update my-index examples (#60132)
Changes the following example index names to `my-index-000001` for consistency:

* `my-index`
* `my_index`
* `myindex`
2020-07-27 14:46:39 -04:00
Jason Tedor
da20957e81
Replace required pipeline with final pipeline (#49470)
This commit enhances the required pipeline functionality by changing it
so that default/request pipelines can also be executed, but the required
pipeline is always executed last. This gives users the flexibility to
execute their own indexing pipelines, but also ensure that any required
pipelines are also executed. Since such pipelines are executed last, we
change the name of required pipelines to final pipelines.
2019-11-22 14:00:38 -05:00
Alan Woodward
566e1b7d33
Remove type field from DocWriteRequest and associated Response objects (#47671)
This commit removes the type field from index, update and delete requests, and their
associated responses.

Relates to #41059
2019-10-11 10:23:55 +01:00
James Rodewig
e43be90e6c
[DOCS] [5 of 5] Change // TESTRESPONSE comments to [source,console-results] (#46449) 2019-09-06 14:05:36 -04:00
James Rodewig
97802d8aff
[DOCS] Change // CONSOLE comments to [source,console] (#46441) 2019-09-06 10:55:16 -04:00
weizijun
0fe62de217 show a full ingest example in the index page, to let user fast understand ingest node. (#43476) 2019-07-01 08:04:26 +02:00
Jake Landis
067d135bfd
ingest: document index.default_pipeline (#34500) 2018-10-23 13:49:25 -05:00
Lisa Cawley
949e4e9d1a
[DOCS] Synchronizes captialization in top-level titles (#33605) 2018-09-27 08:36:18 -07:00
fbsolo
71ba314c73 [Docs] Changes to ingest.asciidoc (#28212) 2018-01-16 09:36:19 +01:00
Adrien Grand
1b660821a2
Allow _doc as a type. (#27816)
Allowing `_doc` as a type will enable users to make the transition to 7.0
smoother since the index APIs will be `PUT index/_doc/id` and `POST index/_doc`.
This also moves most of the documentation to `_doc` as a type name.

Closes #27750
Closes #27751
2017-12-14 17:47:53 +01:00
markwalkom
3d5f70790a [Docs] Update ingest.asciidoc (#26599)
Added a brief note to clarify where configured pipelines are stored (cluster state).
2017-09-15 11:15:31 +02:00
Michael Basnight
f385e0cf26 Add bad_request to the rest-api-spec catch params (#26539)
This adds another request to the catch params. It also makes sure that
the generic request param does not allow 400 either.
2017-09-14 14:24:03 -05:00
Clinton Gormley
3f594089c2 Renamed all AUTOSENSE snippets to CONSOLE (#18210) 2016-05-09 15:42:23 +02:00
Nik Everett
4b1c116461 Generate and run tests from the docs
Adds infrastructure so `gradle :docs:check` will extract tests from
snippets in the documentation and execute the tests. This is included
in `gradle check` so it should happen on CI and during a normal build.

By default each `// AUTOSENSE` snippet creates a unique REST test. These
tests are executed in a random order and the cluster is wiped between
each one. If multiple snippets chain together into a test you can annotate
all snippets after the first with `// TEST[continued]` to have the
generated tests for both snippets joined.

Snippets marked as `// TESTRESPONSE` are checked against the response
of the last action.

See docs/README.asciidoc for lots more.

Closes #12583. That issue is about catching bugs in the docs during build.
This catches *some* bugs in the docs during build which is a good start.
2016-05-05 13:58:03 -04:00
Clinton Gormley
432f0cc193 Docs: Added the ingest node to the modules/nodes page
Closes #17113
2016-03-15 19:03:18 +01:00
DeDe Morton
6b52b0bdc3 Ingest node edits 2016-03-03 22:29:27 -08:00
DeDe Morton
2734737d55 Add ingest docs to the build 2016-02-11 14:16:56 -08:00