Kibana模板-仅更新刷新间隔

时间:2019-05-02 11:38:39

标签: elasticsearch kibana

模板:

{
  "mqtt" : {
    "order" : 0,
    "index_patterns" : [
      "mqtt-*"
    ],
    "settings" : {
      "index" : {
        "codec" : "best_compression",
        "mapping" : {
          "total_fields" : {
            "limit" : "1500"
          }
        },
        "refresh_interval" : "60s",
        "number_of_shards" : "1",
        "number_of_replicas" : "1"
      }
    },
    "mappings" : {
      "doc" : {
        "dynamic" : true,
        "properties" : {
          "severity" : {
            "type" : "keyword"
          }
        }
      }
    },
    "aliases" : { }
  }
}

我想将“ refresh_interval”变量更新为“ 30s”。是否可以在不覆盖整个模板的情况下做到这一点?

0 个答案:

没有答案