正在运行ELK 6.2.4(在docker中)。数据已加载到Elasticsearch中,已创建索引,依此类推。 当我将源导入Dremio时,会添加源,但是当我单击它时,会看到“ doc”,当我单击该文档以“查询”它时(从doc中选择*),它会给我“尝试读取elasticsearch.nyc_visionzero.doc的元数据时。”
我正在运行3.1.1-201901281837360699-30c9d74(内部版本) 一切都在docker上,我已经创建了一个docker-compose文件
cluster health :
{
“cluster_name” : “internal iot cluster”,
“status” : “yellow”,
“timed_out” : false,
“number_of_nodes” : 1,
“number_of_data_nodes” : 1,
“active_primary_shards” : 17,
“active_shards” : 17,
“relocating_shards” : 0,
“initializing_shards” : 0,
“unassigned_shards” : 5,
“delayed_unassigned_shards” : 0,
“number_of_pending_tasks” : 0,
“number_of_in_flight_fetch” : 0,
“task_max_waiting_in_queue_millis” : 0,
“active_shards_percent_as_number” : 77.27272727272727
}
我的docker-compose文件:
version: '3.0'
services:
elasticsearch:
build:
context: elasticsearch/
volumes:
- ./elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:ro
ports:
- "9200:9200"
- "9300:9300"
environment:
ES_JAVA_OPTS: "-Xmx1024m -Xms1024m"
ELASTIC_PASSWORD: elastic123
networks:
- afCompressor
kibana:
build:
context: kibana/
volumes:
- ./kibana/config/kibana.yml:/usr/share/kibana/config/kibana.yml:ro
ports:
- "5601:5601"
networks:
- afCompressor
depends_on:
- elasticsearch
filebeat:
build:
context: filebeat/
volumes:
- ./filebeat/config/filebeat.docker.yml:/usr/share/filebeat/filebeat.yml
- /var/lib/docker/containers:/var/lib/docker/containers:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./filebeat/data/:/usr/share/filebeat/data/
command: ./filebeat -e --strict.perms=false
environment:
- output.elasticsearch.hosts=["elasticsearch:9200"]
ports:
- "5000:5000"
networks:
- afCompressor
depends_on:
- elasticsearch
dremio:
image: dremio/dremio-oss
ports:
- "9047:9047"
- "31010:31010"
- "45678:45678"
networks:
- afCompressor
depends_on:
- elasticsearch
networks:
afCompressor:
使用的图像:
docker.elastic.co/kibana/kibana:6.2.4
docker.elastic.co/elasticsearch/elasticsearch-platinum:6.2.4
docker.elastic.co/beats/filebeat:6.2.4
dremio/dremio-oss