【问题标题】:Elassandra - Kibana Issue in creating the index and VisualizationElassandra - 创建索引和可视化的 Kibana 问题
【发布时间】:2017-07-04 10:13:05
【问题描述】:

我们尝试集成 Elassandra(2017-05-22 Release 2.4.5.1 Elasticsearch 2.4.5 + Cassandra 3.0.13 ) 与 Kibana (4..6.4)。但我们正在努力解决以下问题。

 log   [10:01:51.003] [info][listening] Server running at http://XXXXXX:5601
  log   [10:01:55.983] [info][status][plugin:elasticsearch@1.0.0] Status changed from yellow to yellow - No existing Kibana index found
  log   [10:02:00.913] [info][status][plugin:elasticsearch@1.0.0] Status changed from yellow to green - Kibana index ready
  log   [10:02:00.941] [error][status][plugin:elasticsearch@1.0.0] Status changed from green to red - [document_already_exists_exception] [config][4.6.4]: document already exists, with: {"shard":"0","index":"kibana"}
health status index        pri rep docs.count docs.deleted store.size pri.store.size

green  open   emp            2   0          0            0       142b           142b
green  open   weatherindex   2   0          0            0       142b           142b
green  open   weatherts1     2   0          0            0       142b           142b
green  open   kibana         2   0          0            0       142b           142b
green  open   weatherts      2   0          0            0       142b          142b

任何机构都可以帮助解决这个问题吗?

【问题讨论】:

    标签: elasticsearch cassandra kibana elassandra


    【解决方案1】:

    我在 Kibana 中的弹性搜索节点上看到了这种行为,其刷新间隔高于默认值。

    默认刷新间隔为1s。设置更高的刷新间隔可以提高(索引)性能,但会导致更改在以后变得可见。

    在这种情况下,1) kibana 检查 .kibana 索引是否存在,2) 发现它不存在,3) 创建 .kibana 索引,4) 检查它是否存在,5) 错误地断定它不存在t 因为 refresh_interval 还没有过期,再次回到 3)。

    解决方案:

    • 等待 refresh_interval 秒,之后 kibana 将继续启动。
    • 将 refresh_interval 恢复为默认值 1s(并接受较低的索引性能)。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-10-16
      • 2017-05-17
      • 1970-01-01
      • 2019-07-30
      • 2015-06-08
      • 2021-05-07
      相关资源
      最近更新 更多