Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
20a41d3381 | |||
b2019b33f8 |
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@mojoio/elasticsearch",
|
"name": "@mojoio/elasticsearch",
|
||||||
"version": "1.0.25",
|
"version": "1.0.26",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@mojoio/elasticsearch",
|
"name": "@mojoio/elasticsearch",
|
||||||
"version": "1.0.25",
|
"version": "1.0.26",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "log to elasticsearch in a kibana compatible format",
|
"description": "log to elasticsearch in a kibana compatible format",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
@ -52,7 +52,8 @@ export class ElasticIndex {
|
|||||||
const done2 = plugins.smartpromise.defer();
|
const done2 = plugins.smartpromise.defer();
|
||||||
this.elasticSearchRef.client.indices.create(
|
this.elasticSearchRef.client.indices.create(
|
||||||
{
|
{
|
||||||
waitForActiveShards: '2',
|
|
||||||
|
waitForActiveShards: '1',
|
||||||
index: indexArg
|
index: indexArg
|
||||||
},
|
},
|
||||||
(error, response) => {
|
(error, response) => {
|
||||||
|
Reference in New Issue
Block a user