aboutsummaryrefslogtreecommitdiffstats
path: root/test/baseline/elastic-mapping-ip-subset.json
blob: 49333ffc01bdc7d6f00664b8bf3d42fbdecac080 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
  "template" : "packets-*",
  "settings" : {
    "index.mapping.total_fields.limit" : 1000000
  },
  "mappings" : {
    "pcap_file" : {
      "dynamic" : false,
      "properties" : {
        "timestamp" : {
          "type" : "date"
        },
        "layers" : {
          "properties" : {
            "ip" : {
              "properties" : {
                "ip_version" : {
                  "type" : "short"
                },
                "ip_tos_delay" : {
                  "type" : "boolean"
                },
                "ip_len" : {
                  "type" : "integer"
                },
                "ip_dst" : {
                  "type" : "ip"
                },
                "ip_dst_host" : {
                  "type" : "string"
                },
                "ip_geoip_lat" : {
                  "type" : "float"
                },
                "ip_opt_padding" : {
                  "type" : "byte"
                }
              }
            }
          }
        }
      }
    }
  }
}