clever-tools 3.8.1 → 3.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/clever.js +1 -2
- package/package.json +1 -1
- package/src/commands/drain.js +1 -1
package/bin/clever.js
CHANGED
|
@@ -417,8 +417,7 @@ function run () {
|
|
|
417
417
|
drainIndexPrefix: cliparse.option('index-prefix', {
|
|
418
418
|
aliases: ['i'],
|
|
419
419
|
metavar: 'index_prefix',
|
|
420
|
-
description: '(ElasticSearch drains)
|
|
421
|
-
default: 'logstash-<YYYY-MM-DD>',
|
|
420
|
+
description: '(ElasticSearch drains) optional index prefix. `logstash` value is used if not set',
|
|
422
421
|
}),
|
|
423
422
|
drainSDParameters: cliparse.option('sd-params', {
|
|
424
423
|
aliases: ['s'],
|
package/package.json
CHANGED
package/src/commands/drain.js
CHANGED
|
@@ -43,7 +43,7 @@ async function list (params) {
|
|
|
43
43
|
|
|
44
44
|
let drainView = `${id} -> ${state} for ${url} as ${drainType}`;
|
|
45
45
|
if (indexPrefix != null) {
|
|
46
|
-
drainView += `, index: '${indexPrefix}
|
|
46
|
+
drainView += `, custom index: '${indexPrefix}-YYYY-MM-DD'`;
|
|
47
47
|
}
|
|
48
48
|
if (structuredDataParameters != null) {
|
|
49
49
|
drainView += `, sd-params: '${structuredDataParameters}'`;
|