OS X環境でBeatsのダッシュボード作成(import_dashboards.sh)を行うと、途中でエラーになります。
alpha4までは作成できていました。
・環境
OS X El Capitan 10.11.6
Elasticsearch, Kibana, Metericbeat, Packatbeat 5.0.0-alpha5
・手順
-
Elasticsearch 5.0.0-alpha5 / Kibana 5.0.0-alpha5 のインストール(zip / tar.gzの解凍)
-
Elasticsearch / Kibanaを起動(bin/elasticsearch / bin/kibana の実行)
-
Metricbeat / Packetbeatのインストール(tar.gzの解凍)
-
Metricbeat / Packetbeatのダッシュボードのローディング
cd ~/packetbeat-5.0.0-alpha5-darwin-x86_64/kibana
./import_dashboards.sh
ここで、ダッシュボード作成途中に止まる。
**・エラーメッセージ**
Metricbeat側
Import dashboards,visualizations, searches and index pattern from . to http://localhost:9200 in .kibana
Import search Apache-HTTPD:
{"_index":".kibana","_type":"search","_id":"Apache-HTTPD","_version":1,"result":"created","_shards":{"total":2,"successful":1,"failed":0},"created":true}
Import search Cpu-Load-stats:
{"_index":".kibana","_type":"search","_id":"Cpu-Load-stats","_version":1,"result":"created","_shards":{"total":2,"successful":1,"failed":0},"created":true}
(中略)
Import search System-stats:
{"_index":".kibana","_type":"search","_id":"System-stats","_version":1,"result":"created","_shards":{"total":2,"successful":1,"failed":0},"created":true}
Import visualization Apache-HTTPD-CPU:
curl: (52) Empty reply from server
Packetbeat側
Import dashboards,visualizations, searches and index pattern from . to http://localhost:9200 in .kibana
Import search Cache-transactions:
{"_index":".kibana","_type":"search","_id":"Cache-transactions","_version":1,"result":"created","_shards":{"total":2,"successful":1,"failed":0},"created":true}
Import search DB-transactions:
{"_index":".kibana","_type":"search","_id":"DB-transactions","_version":1,"result":"created","_shards":{"total":2,"successful":1,"failed":0},"created":true}
Import search HTTP-errors:
(中略)
{"_index":".kibana","_type":"visualization","_id":"Evolution-of-the-CPU-times-per-process","_version":1,"result":"created","_shards":{"total":2,"successful":1,"failed":0},"created":true}
Import visualization HTTP-codes-for-the-top-queries:
{"_index":".kibana","_type":"visualization","_id":"HTTP-codes-for-the-top-queries","_version":1,"result":"created","_shards":{"total":2,"successful":1,"failed":0},"created":true}
Import visualization HTTP-error-codes-evolution:
curl: (52) Empty reply from server
Elasticsearch側
[2016-09-14 20:26:07,185][WARN ][http.netty4 ] [KXOvHPh] caught exception while handling client http traffic, closing connection [id: 0xc1bd7db1, L:/0:0:0:0:0:0:0:1:9200 - R:/0:0:0:0:0:0:0:1:53468]
java.lang.UnsupportedOperationException: unsupported message type: DefaultFullHttpResponse (expected: ByteBuf, FileRegion)
at io.netty.channel.nio.AbstractNioByteChannel.filterOutboundMessage(AbstractNioByteChannel.java:260)
at io.netty.channel.AbstractChannel$AbstractUnsafe.write(AbstractChannel.java:799)
at io.netty.channel.DefaultChannelPipeline$HeadContext.write(DefaultChannelPipeline.java:1291)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:748)
at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:811)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:824)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:804)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:841)
at io.netty.handler.codec.MessageAggregator.decode(MessageAggregator.java:222)
(略)
よろしくお願いします!