Skip to content

Commit 76b886d

Browse files
elastic-jasperthomasneirynck
authored andcommitted
Update date pattern in tutorial-define-index (elastic#9808)
Backports PR elastic#9806 In `tutorial-define.text.asciidoc`, it is stated that the typical index name contains the date as `MM-DD-YYYY`, and then proceeds to give an example of how a log index from May, 2015 would look like: `logstash-2015.05*`, which doesn't match the typical pattern for dates stated above. This PR changes the date pattern, as to me `YYYY.MM.DD` is more accurate on a world-wide scale.
1 parent ab6a18c commit 76b886d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/getting-started/tutorial-define-index.asciidoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Each set of data loaded to Elasticsearch has an index pattern. In the previous section, the
55
Shakespeare data set has an index named `shakespeare`, and the accounts data set has an index named `bank`. An _index
66
pattern_ is a string with optional wildcards that can match multiple indices. For example, in the common logging use
7-
case, a typical index name contains the date in MM-DD-YYYY format, and an index pattern for May would look something
7+
case, a typical index name contains the date in YYYY.MM.DD format, and an index pattern for May would look something
88
like `logstash-2015.05*`.
99

1010
For this tutorial, any pattern that matches the name of an index we've loaded will work. Open a browser and

0 commit comments

Comments
 (0)