x-pack

Hi

I can get searchguard to work but Kibana will not start with the x-pack plugin installed. We are using 5.6.2 elasticsearch.

elasticsearch.yml

xpack.security.enabled: false

xpack.monitoring.enabled: true

xpack.graph.enabled: false

xpack.watcher.enabled: false

xpack.monitoring.exporters:

id1:

type: http

host: [“https://127.0.0.1:9200”]

auth.username: monitor

auth.password: {password}

ssl:

truststore.path: truststore.jks

truststore.password: changeit

kibana.yml

xpack.monitoring.enabled: false

xpack.graph.enabled: false

xpack.ml.enabled: false

xpack.security.enabled: false

xpack.watcher.enabled: false

stdout stops at

{“type”:“log”,"@timestamp":“2017-10-11T13:43:29Z”,“tags”:[“reporting”,“error”],“pid”:12706,“level”:“error”,“message”:“cluster ‘security’ already exists”,“error”:{“message”:“cluster ‘security’ already exists”,“name”:“Error”,“stack”:“Error: cluster ‘security’ already exists\n at Object.create [as createCluster] (/usr/share/kibana/src/core_plugins/elasticsearch/lib/create_clusters.js:23:15)\n at exports.getClient.server (/usr/share/kibana/plugins/x-pack/server/lib/get_client_shield.js:6:48)\n at /usr/share/kibana/plugins/x-pack/node_modules/lodash/index.js:7363:25\n at getUserFn (/usr/share/kibana/plugins/x-pack/plugins/reporting/server/lib/get_user.js:5:33)\n at /usr/share/kibana/plugins/x-pack/plugins/reporting/server/lib/once_per_server.js:24:15\n at memoized (/usr/share/kibana/plugins/x-pack/node_modules/lodash/index.js:7912:27)\n at authorizedUserPreRoutingFn (/usr/share/kibana/plugins/x-pack/plugins/reporting/server/lib/authorized_user_pre_routing.js:8:19)\n at /usr/share/kibana/plugins/x-pack/plugins/reporting/server/lib/once_per_server.js:24:15\n at memoized (/usr/share/kibana/plugins/x-pack/node_modules/lodash/index.js:7912:27)\n at main (/usr/share/kibana/plugins/x-pack/plugins/reporting/server/routes/main.js:22:36)\n at _phantom.phantom.install.then.phantomPackage (/usr/share/kibana/plugins/x-pack/plugins/reporting/index.js:113:13)”}}

{“type”:“log”,"@timestamp":“2017-10-11T13:43:29Z”,“tags”:[“reporting”,“error”],“pid”:12706,“message”:“undefined”}

{“type”:“log”,"@timestamp":“2017-10-11T13:43:29Z”,“tags”:[“fatal”],“pid”:12706,“level”:“fatal”,“message”:“Cannot read property ‘code’ of undefined”,“error”:{“message”:“Cannot read property ‘code’ of undefined”,“name”:“TypeError”,“stack”:“TypeError: Cannot read property ‘code’ of undefined\n at _phantom.phantom.install.then.catch.err (/usr/share/kibana/plugins/x-pack/plugins/reporting/index.js:126:47)”}}

Thanks for reporting, we’ll investigate this.

···

On Wednesday, October 11, 2017 at 3:55:48 PM UTC+2, willetzkyuhsm@gmail.com wrote:

Hi

I can get searchguard to work but Kibana will not start with the x-pack plugin installed. We are using 5.6.2 elasticsearch.

elasticsearch.yml

xpack.security.enabled: false

xpack.monitoring.enabled: true

xpack.graph.enabled: false

xpack.watcher.enabled: false

xpack.monitoring.exporters:

id1:

type: http

host: [“https://127.0.0.1:9200”]

auth.username: monitor

auth.password: {password}

ssl:

truststore.path: truststore.jks

truststore.password: changeit

kibana.yml

xpack.monitoring.enabled: false

xpack.graph.enabled: false

xpack.ml.enabled: false

xpack.security.enabled: false

xpack.watcher.enabled: false

stdout stops at

{“type”:“log”,"@timestamp":“2017-10-11T13:43:29Z”,“tags”:[“reporting”,“error”],“pid”:12706,“level”:“error”,“message”:“cluster ‘security’ already exists”,“error”:{“message”:“cluster ‘security’ already exists”,“name”:“Error”,“stack”:“Error: cluster ‘security’ already exists\n at Object.create [as createCluster] (/usr/share/kibana/src/core_plugins/elasticsearch/lib/create_clusters.js:23:15)\n at exports.getClient.server (/usr/share/kibana/plugins/x-pack/server/lib/get_client_shield.js:6:48)\n at /usr/share/kibana/plugins/x-pack/node_modules/lodash/index.js:7363:25\n at getUserFn (/usr/share/kibana/plugins/x-pack/plugins/reporting/server/lib/get_user.js:5:33)\n at /usr/share/kibana/plugins/x-pack/plugins/reporting/server/lib/once_per_server.js:24:15\n at memoized (/usr/share/kibana/plugins/x-pack/node_modules/lodash/index.js:7912:27)\n at authorizedUserPreRoutingFn (/usr/share/kibana/plugins/x-pack/plugins/reporting/server/lib/authorized_user_pre_routing.js:8:19)\n at /usr/share/kibana/plugins/x-pack/plugins/reporting/server/lib/once_per_server.js:24:15\n at memoized (/usr/share/kibana/plugins/x-pack/node_modules/lodash/index.js:7912:27)\n at main (/usr/share/kibana/plugins/x-pack/plugins/reporting/server/routes/main.js:22:36)\n at _phantom.phantom.install.then.phantomPackage (/usr/share/kibana/plugins/x-pack/plugins/reporting/index.js:113:13)”}}

{“type”:“log”,"@timestamp":“2017-10-11T13:43:29Z”,“tags”:[“reporting”,“error”],“pid”:12706,“message”:“undefined”}

{“type”:“log”,"@timestamp":“2017-10-11T13:43:29Z”,“tags”:[“fatal”],“pid”:12706,“level”:“fatal”,“message”:“Cannot read property ‘code’ of undefined”,“error”:{“message”:“Cannot read property ‘code’ of undefined”,“name”:“TypeError”,“stack”:“TypeError: Cannot read property ‘code’ of undefined\n at _phantom.phantom.install.then.catch.err (/usr/share/kibana/plugins/x-pack/plugins/reporting/index.js:126:47)”}}

This is due to changes in the X-Pack plugins, we’ll fix this. Issue is tracked here:

https://github.com/floragunncom/search-guard-kibana-plugin/issues/43

···

On Thursday, October 12, 2017 at 6:48:51 PM UTC+2, Jochen Kressin wrote:

Thanks for reporting, we’ll investigate this.

On Wednesday, October 11, 2017 at 3:55:48 PM UTC+2, willetzkyuhsm@gmail.com wrote:

Hi

I can get searchguard to work but Kibana will not start with the x-pack plugin installed. We are using 5.6.2 elasticsearch.

elasticsearch.yml

xpack.security.enabled: false

xpack.monitoring.enabled: true

xpack.graph.enabled: false

xpack.watcher.enabled: false

xpack.monitoring.exporters:

id1:

type: http

host: [“https://127.0.0.1:9200”]

auth.username: monitor

auth.password: {password}

ssl:

truststore.path: truststore.jks

truststore.password: changeit

kibana.yml

xpack.monitoring.enabled: false

xpack.graph.enabled: false

xpack.ml.enabled: false

xpack.security.enabled: false

xpack.watcher.enabled: false

stdout stops at

{“type”:“log”,"@timestamp":“2017-10-11T13:43:29Z”,“tags”:[“reporting”,“error”],“pid”:12706,“level”:“error”,“message”:“cluster ‘security’ already exists”,“error”:{“message”:“cluster ‘security’ already exists”,“name”:“Error”,“stack”:“Error: cluster ‘security’ already exists\n at Object.create [as createCluster] (/usr/share/kibana/src/core_plugins/elasticsearch/lib/create_clusters.js:23:15)\n at exports.getClient.server (/usr/share/kibana/plugins/x-pack/server/lib/get_client_shield.js:6:48)\n at /usr/share/kibana/plugins/x-pack/node_modules/lodash/index.js:7363:25\n at getUserFn (/usr/share/kibana/plugins/x-pack/plugins/reporting/server/lib/get_user.js:5:33)\n at /usr/share/kibana/plugins/x-pack/plugins/reporting/server/lib/once_per_server.js:24:15\n at memoized (/usr/share/kibana/plugins/x-pack/node_modules/lodash/index.js:7912:27)\n at authorizedUserPreRoutingFn (/usr/share/kibana/plugins/x-pack/plugins/reporting/server/lib/authorized_user_pre_routing.js:8:19)\n at /usr/share/kibana/plugins/x-pack/plugins/reporting/server/lib/once_per_server.js:24:15\n at memoized (/usr/share/kibana/plugins/x-pack/node_modules/lodash/index.js:7912:27)\n at main (/usr/share/kibana/plugins/x-pack/plugins/reporting/server/routes/main.js:22:36)\n at _phantom.phantom.install.then.phantomPackage (/usr/share/kibana/plugins/x-pack/plugins/reporting/index.js:113:13)”}}

{“type”:“log”,"@timestamp":“2017-10-11T13:43:29Z”,“tags”:[“reporting”,“error”],“pid”:12706,“message”:“undefined”}

{“type”:“log”,"@timestamp":“2017-10-11T13:43:29Z”,“tags”:[“fatal”],“pid”:12706,“level”:“fatal”,“message”:“Cannot read property ‘code’ of undefined”,“error”:{“message”:“Cannot read property ‘code’ of undefined”,“name”:“TypeError”,“stack”:“TypeError: Cannot read property ‘code’ of undefined\n at _phantom.phantom.install.then.catch.err (/usr/share/kibana/plugins/x-pack/plugins/reporting/index.js:126:47)”}}