@@ -29,7 +29,7 @@ All of the above settings are _dynamic_ and can be set for each index using the
2929
3030[source,console]
3131--------------------------------------------------
32- PUT /twitter /_settings
32+ PUT /my-index-000001 /_settings
3333{
3434 "index.search.slowlog.threshold.query.warn": "10s",
3535 "index.search.slowlog.threshold.query.info": "5s",
@@ -41,7 +41,7 @@ PUT /twitter/_settings
4141 "index.search.slowlog.threshold.fetch.trace": "200ms"
4242}
4343--------------------------------------------------
44- // TEST[setup:twitter ]
44+ // TEST[setup:my_index ]
4545
4646By default thresholds are disabled (set to `-1`).
4747
@@ -108,7 +108,7 @@ All of the above settings are _dynamic_ and can be set for each index using the
108108
109109[source,console]
110110--------------------------------------------------
111- PUT /twitter /_settings
111+ PUT /my-index-000001 /_settings
112112{
113113 "index.indexing.slowlog.threshold.index.warn": "10s",
114114 "index.indexing.slowlog.threshold.index.info": "5s",
@@ -117,7 +117,7 @@ PUT /twitter/_settings
117117 "index.indexing.slowlog.source": "1000"
118118}
119119--------------------------------------------------
120- // TEST[setup:twitter ]
120+ // TEST[setup:my_index ]
121121
122122By default Elasticsearch will log the first 1000 characters of the _source in
123123the slowlog. You can change that with `index.indexing.slowlog.source`. Setting
0 commit comments