Tag: kibana 5

Kibana和Docker-Compose:自动加载保存的对象

目标 :在从Docker-Compose启动Elastic Stack时加载Kibana保存的对象。 我有一个来自Kibana的“export.json”对象,包含我的默认索引,10+可视化和仪表板设置。 我能够成功地从Docker-Compose启动Elastic Stack并手动加载对象,但是它不会在容器启动时自动加载它。 我需要find一种方法来以编程方式加载这个对象,因为我将有多个对象,可以部署取决于容器运行。 换句话说(使用伪configuration): test1 container a # code to run container b # code send metrics test1_export.json # display metrics test2 container c # code to run container d # code send metrics test2_export.json # display metrics 使用这些定义: > run test1 将执行两个Docker-Compose文件,一个运行代码,另一个运行Elastic Stack。 后者也需要加载到export.json对象中。 我到目前为止所尝试的 这个方法从这个configuration文件逃避了: Kibana在Elasticsearch中使用索引来存储保存的search,可视化和仪表板。 如果索引不存在,Kibana会创build一个新的索引。 也从这里 : […]

Kibana 5.5.1后面的一个nginx 1.13代理(dockerized)

目标: 我想在Docker容器中运行麋鹿堆栈。 为了能够通过nginx代理访问ELK栈来绕过服务的各个端口。 Kibana服务(默认端口5601) http://<server>.com:5601 应通过以下地址可达: http://<server>.com/kibana 问题: 问题是,在将server.basePath设置添加到configuration后,无法到达kibana站点。 如果我将Kibana的每个base API调用添加到nginxconfiguration(/ api,/ ui,…),我只能提供服务。 configuration: Kibana的configuration: /opt/kibana/config/kibana.yml 有以下条目: server.host: "0.0.0.0" server.basePath: "/kibana" 其他一切都是默认的 Doku server.basePath # Enables you to specify a path to mount Kibana at if you are running behind a proxy. This only affects # the URLs generated by Kibana, your proxy is expected […]

无法使用elasticsearch运行kibana和logstash

弹性的serach在9201端口上运行良好。 但无法与docker-compose一起运行kibana和logstash。 对于logstash,它会抛出错误:尝试重新连接到死ES实例的连接,但出现错误。 对于kibana它会发出警告:“warning”,“elasticsearch”,“admin”],“pid”:1,“message”:“没有活的连接” 以下是docker-compose.yml文件: version: '2' services: # Service 1 : elasticsearch elasticsearch-5-6: image: docker.elastic.co/elasticsearch/elasticsearch:5.6.3 container_name: elasticsearch-5-6 ports: – "9201:9200" volumes: – /etc/elasticsearch/elasticsearch-5-6.yml:/usr/share/elasticsearch/config/elasticsearch.yml – /var/elasticsearch/data/immunedata-5-6/:/usr/share/elasticsearch/data/ #- /etc/elasticsearch/logging.yml:/usr/share/elasticsearch/config/logging.yml #- /var/log/elasticsearch/:/usr/share/elasticsearch/logs/ environment: – cluster.name=docker-cluster-elasticsearch-5-6 #- bootstrap.memory_lock=true – "ES_JAVA_OPTS: -Xmx2048m -Xms2048m" # Disabling the xpack security as it costs after one month of free trail. – xpack.security.enabled=false […]