Private GIT

Skip to content
Snippets Groups Projects
Select Git revision
0 results

pfelk

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Andrew authored
    Utilizes Geo_Point data from:
    
    PUT _template/pf-location-template
    {
      "index_patterns": [
        "pf-*"
      ],
      "mappings": {
        "properties": {
          "destination": {
            "properties": {
              "geo": {
                "dynamic": true,
                "properties": {
                  "ip": {
                    "type": "ip"
                  },
                  "location": {
                    "type": "geo_point"
                  }
                }
              },
              "as": {
                "dynamic": true,
                "properties": {
                  "ip": {
                    "type": "ip"
                  },
                  "location": {
                    "type": "geo_point"
                  }
                }
              }
            }
          },
          "source": {
            "properties": {
              "geo": {
                "dynamic": true,
                "properties": {
                  "ip": {
                    "type": "ip"
                  },
                  "location": {
                    "type": "geo_point"
                  }
                }
              },
              "as": {
                "dynamic": true,
                "properties": {
                  "ip": {
                    "type": "ip"
                  },
                  "location": {
                    "type": "geo_point"
                  }
                }
              }
            }
          }
        }
      }
    }
    9b58a649
    History
    Name Last commit Last update