Giter Site home page Giter Site logo

Rejecting mapping update about pingbeat HOT 1 OPEN

spanthetree avatar spanthetree commented on July 30, 2024
Rejecting mapping update

from pingbeat.

Comments (1)

spanthetree avatar spanthetree commented on July 30, 2024

I've got this working. Here is a working template for 7.5.0

You can put this directly in the kibana console using the following api call:
PUT _template/pingbeat?include_type_name=true
followed by the below template:

{
  "order" : 0,
  "version" : 30502,
  "index_patterns" : [
    "pingbeat-*"
  ],
  "settings" : {
    "index" : {
      "codec" : "best_compression",
      "mapping" : {
        "total_fields" : {
          "limit" : "5000"
        }
      }
    }
  },
  "mappings" : {
    "_doc": {
      "numeric_detection" : true,
      "properties" : {
        "node" : {
          "dynamic" : true,
          "type" : "object",
          "properties" : {
            "hostname" : {
              "type" : "keyword"
            },
            "ipaddr" : {
              "type" : "ip"
            }
          }
        },
        "@timestamp" : {
          "type" : "date"
        },
        "@version" : {
          "type" : "keyword"
        },
        "event" : {
          "dynamic" : true,
          "type" : "object",
          "properties" : {
            "logstash_host" : {
              "type" : "keyword"
            },
            "host" : {
              "type" : "keyword"
            },
            "type" : {
              "type" : "keyword"
            }
          }
        },
        "beat": {
          "properties": {
            "hostname": {
              "ignore_above": 1024,
              "type": "keyword"
            },
            "name": {
              "ignore_above": 1024,
              "type": "keyword"
            },
            "version": {
              "ignore_above": 1024,
              "type": "keyword"
            }
          }
        },
        "fields": {
          "properties": {
            
          }
        },
        "geoip": {
          "properties": {
            "city_name": {
              "ignore_above": 1024,
              "type": "keyword"
            },
            "continent_name": {
              "ignore_above": 1024,
              "type": "keyword"
            },
            "country_iso_code": {
              "ignore_above": 1024,
              "type": "keyword"
            },
            "location": {
              "type": "geo_point"
            },
            "region_name": {
              "ignore_above": 1024,
              "type": "keyword"
            }
          }
        },
        "meta": {
          "properties": {
            "cloud": {
              "properties": {
                "availability_zone": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "instance_id": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "machine_type": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "project_id": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "provider": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "region": {
                  "ignore_above": 1024,
                  "type": "keyword"
                }
              }
            }
          }
        },
        "rtt": {
          "type": "double"
        },
        "target": {
          "properties": {
            "addr": {
              "type": "ip"
            },
            "description": {
              "norms": false,
              "type": "text"
            },
            "name": {
              "ignore_above": 1024,
              "type": "keyword"
            }
          }
        },
        "tags": {
          "type": "keyword"
        }
      }
    }
  },
  "aliases" : { }
}

from pingbeat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.