zoukankan      html  css  js  c++  java
  • ELK练习

    1.ELK练习

    PUT s3/_doc/1
    {
        "mappings" : {
          "doc" : {
            "properties" : {
              
              "name" : {
                "type" : "text",
                "index":false,
                "fields" : {
                  "keyword" : {
                    "type" : "keyword",
                    "ignore_above" : 256
                  }
                }
              },
              
              "age" : {
                "index":false,
                "type" : "long"
              },
              
              "desc" : {
                "type" : "text",
                "fields" : {
                  "keyword" : {
                    "type" : "keyword",
                    "ignore_above" : 128,
                    "copy_to":["t1", "t2"]
                  }
                }
              },
              
              "tags" : {
                "type" : "text",
                "fields" : {
                  "keyword" : {
                    "type" : "keyword",
                    "ignore_above" : 128,
                    "copy_to":["t1", "t2"]
                  }
                }
              },
              
              
              "info" : {
                "properties":{
                  "addr":{
                    "type":"text"
                  },
                 "tel":{
                    "type":"long"
                  }
                }
              },
              
    
              "sex" : {
                "type" : "text",
                "fields" : {
                  "keyword" : {
                    "type" : "keyword",
                    "ignore_above" : 256
                  }
                }
              }
            }
          }
        },
        "settings": {
        "number_of_shards": 3,
        "number_of_replicas": 3
      }
    }
    
    
    GET s3/_doc/1
  • 相关阅读:
    javaScript
    CSS
    HTML
    折纸 (模拟)
    不等式(数学)
    周期串查询
    大集训模拟赛十一
    大假期集训模拟赛十
    P1631 序列合并
    KMP(烤馍片)算法
  • 原文地址:https://www.cnblogs.com/studybrother/p/10903823.html
Copyright © 2011-2022 走看看