Commit graph

85 commits

Author SHA1 Message Date
James Rodewig
3182482701
[DOCS] Update alias references (#73427) (#73502)
Updates several `index aliases` references to `aliases`.
2021-05-27 17:57:51 -04:00
James Rodewig
21ae3440b4
[DOCS] Update alias xrefs (#73380) (#73391)
Updates several internal 'alias' xrefs to point to the aliases guide rather than
API docs.
2021-05-26 08:15:35 -04:00
James Rodewig
b5295ba22d
[DOCS] Update allowed operations on data stream write index (#72994) (#73008)
With #70908, you can now close a write index in 7.12.1 and later versions.
This removes an outdated reference from the data stream overview docs.
2021-05-12 15:19:19 -04:00
Jay Modi
5ab3092272
Add Fleet action results system data stream (#71966)
This commit adds support for system data streams and also the first use
of a system data stream with the fleet action results data stream. A
system data stream is one that is used to store system data that users
should not interact with directly. Elasticsearch will manage these data
streams. REST API access is available for external system data streams
so that other stack components can store system data within a system
data stream. System data streams will not use the system index read and
write threadpools.

Backport of #71667
2021-04-20 15:17:56 -06:00
James Rodewig
53685e9010
[DOCS] Add how-to guide for time series data (#71195) (#71296) 2021-04-05 15:03:20 -04:00
James Rodewig
06ff249a14
[DOCS] Update button copy (#71220) (#71225) 2021-04-02 09:34:06 -04:00
James Rodewig
79b69dd164
[DOCS] Add ECS and runtime fields tip to data stream tutorial (#71183) (#71200) 2021-04-01 16:12:24 -04:00
James Rodewig
b7bca93a35 [DOCS] Reword data stream indexing section 2021-04-01 10:24:26 -04:00
James Rodewig
20d8b3172f [DOCS] Reword link to Fleet data stream docs 2021-04-01 10:16:22 -04:00
James Rodewig
4c7a730767
[DOCS] Refactor data stream setup tutorial (#71074) (#71152) 2021-03-31 18:22:12 -04:00
James Rodewig
c757f9e4e7
[DOCS] Fix double spaces (#71082) (#71120) 2021-03-31 11:43:34 -04:00
James Rodewig
a4c6ad6fef
[DOCS] Update data stream rollover references (#70993) (#70997) 2021-03-29 11:07:51 -04:00
James Rodewig
302341a526
[DOCS] Replace put with create or update in API names (#70330) (#70421)
Co-authored-by: debadair <debadair@elastic.co>
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2021-03-15 17:16:13 -04:00
Joe Gallo
bc5ac4a25a
Switch built-in policies to max_primary_shard_size (#69995) (#70002) 2021-03-04 18:18:09 -05:00
James Rodewig
202e32a4b3
[DOCS] Update priority recommendation for index templates (#69006) (#69053) 2021-02-16 11:34:19 -05:00
James Rodewig
74458e8478
[DOCS] Update ILM screenshots and tutorial (#68482) (#68584)
Changes:

- Reworks the ILM tutorial to focus on the Elastic Agent and a built-in ILM policy
- Updates several screenshots in the docs for the new ILM UI

Co-authored-by: debadair <debadair@elastic.co>
2021-02-05 10:01:04 -05:00
James Rodewig
75af775498
[DOCS] Add link to Elastic data stream naming scheme blog (#68449) (#68456) 2021-02-03 10:42:06 -05:00
James Rodewig
1dd0f6cb4e
[DOCS] Add Elastic data stream naming scheme docs (#68310) (#68368) 2021-02-02 09:23:29 -05:00
James Rodewig
3ee4cc0610
[DOCS] Reuse built-in index templates admon (#68314) (#68317) 2021-02-01 12:48:01 -05:00
James Rodewig
eea0150764
[DOCS] Reuse timestamp reqs (#68299) (#68306)
Removes some duplication and reuses information about data stream
timestamp requirements using a tagged region.
2021-02-01 10:01:19 -05:00
Martijn van Groningen
68afd6e509
Adjust manage_follow_index privilege for promote data stream api (#67811)
Backport of #67773 to 7.x branch.

This fixes the manage_follow_index builtin privilege so that it can be used
for managing data streams in a follower cluster. In order to successfully
unfollow a data stream the promote data stream and rollover APIs need to be
executed. (This is additional to the close and unfollow APIs).
2021-01-21 10:44:35 +01:00
James Rodewig
11b6d5030d
[DOCS] Add security privileges to data stream API docs (#67612) (#67766) 2021-01-20 10:26:37 -05:00
James Rodewig
b8b841ab73
[DOCS] Fix title casing (#67529) (#67531) 2021-01-14 13:45:18 -05:00
James Rodewig
345dd82b06
[DOCS] Document hidden data streams and naming restrictions (#65862) (#67434) 2021-01-13 09:29:17 -05:00
James Rodewig
3872f08b33
[DOCS] Clean up index template xrefs (#67264) (#67272) 2021-01-11 12:58:00 -05:00
Yulia Čech
b5f9f214a1
[DOCS] Update data streams list screenshots and description of "delete data stream" (#67145) (#67172)
* [DOCS] Updated data streams list screenshots and delete functionality description

* Update docs/reference/data-streams/set-up-a-data-stream.asciidoc

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>

* Update set-up-a-data-stream.asciidoc

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
2021-01-07 18:10:04 +01:00
James Rodewig
090f77ade2
[DOCS] Add index alias conversion to data stream setup docs (#65979) (#66054)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-12-23 09:53:09 -05:00
James Rodewig
83eabfcf2e
[DOCS] Data stream migration API (#65017) (#66786)
Co-authored-by: Dan Hermann <danhermann@users.noreply.github.com>
2020-12-23 09:40:21 -05:00
James Rodewig
d126c31636
[DOCS] Fix Fleet links (#66553) (#66558) 2020-12-17 15:35:15 -05:00
Dan Hermann
39c09f9326
[7.x] Include date in data stream backing index names (#66307) 2020-12-14 19:36:59 -06:00
Martijn van Groningen
1596b93731
Protect replicated data streams against local rollovers (#65999)
Backporting #64710 to the 7.x branch.

When a data stream is being auto followed then a rollover in a local cluster can break auto following,
if the local cluster performs a rollover then it creates a new write index and if then later the remote
cluster rolls over as well then that new write index can't be replicated, because it has the same name
as in the write index in the local cluster, which was created earlier.

If a data stream is managed by ccr, then the local cluster should not do a rollover for those data streams.
The data stream should be rolled over in the remote cluster and that change should replicate to the local
cluster. Performing a rollover in the local cluster is an operation that the data stream support in ccr should
perform.

To protect against rolling over a replicated data stream, this PR adds a replicate field to DataStream class.
The rollover api will fail with an error in case a data stream is being rolled over and the targeted data stream is
a replicated data stream. When the put follow api creates a data stream in the local cluster then the replicate flag
is set to true. There should be a way to turn a replicated data stream into a regular data stream when for example
during disaster recovery. The newly added api in this pr (promote data stream api) is doing that. After a replicated
data stream is promoted to a regular data stream then the local data stream can be rolled over, so that the new
write index is no longer a follower index. Also if the put follow api is attempting to update this data stream
(for example to attempt to resume auto following) then that with fail, because the data stream is no longer a
replicated data stream.

Today with time based indices behind an alias, the is_write_index property isn't replicated from remote cluster
to the local cluster, so when attempting to rollover the alias in the local cluster the rollover fails, because the
alias doesn't have a write index. The added replicated field in the DataStream class and added validation
achieve the same kind of protection, but in a more robust way.

A followup from #61993
2020-12-08 10:45:58 +01:00
James Rodewig
28b54debdb
[DOCS] Make data stream names consistent (#65920) (#65943) 2020-12-07 09:13:55 -05:00
DeDe Morton
9908b871ec
Fix links to Fleet overview (#65174) (#65232) 2020-11-18 11:03:44 -08:00
Przemko Robakowski
a06b65cfb9
[7.x] Hidden data streams (#63987) (#64402)
Backports the following commits to 7.x:

Hidden data streams (#63987)
2020-11-02 12:10:30 +01:00
James Rodewig
abd23f6add [DOCS] Minor data stream docs fixes 2020-10-24 19:50:39 -04:00
James Rodewig
d9d405c091
[DOCS] Remove unneeded link 2020-10-24 17:07:32 -04:00
James Rodewig
8a223a1674
[DOCS] Tighten data streams copy (#64085) (#64110) 2020-10-24 14:39:03 -04:00
Lee Hinman
6b2af30a62
[7.x] Add "synthetics-*-*" templates for synthetics fleet data (#62193) (#62346)
* Add "synthetics-*-*" templates for synthetics fleet data

For the Elastic Agent we currently have `logs` and `metrics`, however, synthetic data doesn't belong
with those and thus we should have a place for it to live. This would be data reported from
heartbeat and under the 'monitoring' category.

This commit adds a composable index template for `synthetics-*-*` indices similar to the work in
 #56709 and #57629.

Resolves #61665
2020-09-14 17:14:34 -06:00
James Rodewig
4701832879
[DOCS] Add 7.9 breaking change for built-in templates (#61549) (#61558) 2020-08-26 08:10:59 -04:00
James Rodewig
2b852388c5
[DOCS] Fix hyphenation for "time series" (#61472) (#61481) 2020-08-24 11:18:07 -04:00
James Rodewig
6a248aea07
[DOCS] Add admon for built-in index templates (#61063) (#61220)
Adds an important admonition for the built-in `metrics-*-*` and `logs-*-*` index
templates.

Updates several put index template snippets to include a priority.
2020-08-17 12:48:34 -04:00
James Rodewig
910abeea2e
[DOCS] Change wildcard to index pattern in DS docs (#61058) (#61060) 2020-08-12 15:14:03 -04:00
James Rodewig
ff4ea4720a
[DOCS] Update example data stream names (#60783) (#60820)
Uses `my-data-stream` in place of `logs` for data stream examples.
This provides a more intuitive experience for users that copy/paste
their own values into snippets.
2020-08-06 09:38:35 -04:00
James Rodewig
5be515f126 [DOCS] Unhide EQL search in data streams docs 2020-08-03 11:59:12 -04:00
James Rodewig
747f8bfe79
[DOCS] Add Kibana screenshots to data stream docs (#60118) (#60217) 2020-07-27 10:39:32 -04:00
James Rodewig
401e12dc2b
[DOCS] Fix data stream docs (#59818) (#60010) 2020-07-21 17:04:13 -04:00
James Rodewig
76b2dd23e2
[DOCS] Document data stream stats API (#59435) (#59874) 2020-07-20 09:50:26 -04:00
James Rodewig
ef9b14b07e
[DOCS] Add write_index_only param to ds mapping tutorials (#59618) (#59639) 2020-07-15 13:02:01 -04:00
James Rodewig
4e58f967de
[DOCS] Update ds overview for optional @timestamp mapping (#59558) (#59614) 2020-07-15 09:46:55 -04:00
James Rodewig
e5baacbe2e
[DOCS] Simplify index template snippets for data streams (#59533) (#59553)
Removes the `@timestamp` field mapping from several data stream index
template snippets.

With #59317, the `@timestamp` field defaults to a `date` field data type
for data streams.
2020-07-14 17:28:43 -04:00