Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "template": "nmap-logstash-*",
- "mappings": {
- "nmap_scan_metadata" : {
- "properties" : {
- "@timestamp" : {
- "type" : "date",
- "format" : "strict_date_optional_time||epoch_millis"
- },
- "@version" : {
- "type" : "string",
- "index" : "not_analyzed"
- },
- "arguments" : {
- "type" : "string",
- "analyzer" : "whitespace"
- },
- "host" : {
- "type" : "string",
- "index" : "not_analyzed"
- },
- "host_stats" : {
- "properties" : {
- "down" : {
- "type" : "long"
- },
- "total" : {
- "type" : "long"
- },
- "up" : {
- "type" : "long"
- }
- }
- },
- "id" : {
- "type" : "string",
- "index" : "not_analyzed"
- },
- "run_stats" : {
- "properties" : {
- "elapsed" : {
- "type" : "double"
- },
- "end_time" : {
- "type" : "string",
- "index" : "not_analyzed"
- },
- "exit_status" : {
- "type" : "string",
- "index" : "not_analyzed"
- },
- "summary" : {
- "type" : "string",
- "index" : "not_analyzed"
- }
- }
- },
- "scan_id" : {
- "type" : "string",
- "index" : "not_analyzed"
- },
- "tags" : {
- "type" : "string",
- "index" : "not_analyzed"
- },
- "type" : {
- "type" : "string",
- "index" : "not_analyzed"
- },
- "version" : {
- "type" : "string",
- "index" : "not_analyzed"
- }
- }
- },
- "nmap_port": {
- "properties": {
- "@timestamp": {
- "type": "date",
- "format": "strict_date_optional_time||epoch_millis"
- },
- "@version": {
- "type": "string",
- "index": "not_analyzed"
- },
- "address": {
- "type": "string",
- "index": "not_analyzed"
- },
- "addresses": {
- "properties": {
- "addr": {
- "type": "string",
- "index": "not_analyzed"
- },
- "type": {
- "type": "string",
- "index": "not_analyzed"
- }
- }
- },
- "arguments": {
- "type": "string",
- "analyzer": "whitespace",
- "fields": {
- "raw": {
- "type": "string",
- "index": "not_analyzed"
- }
- }
- },
- "end_time": {
- "type": "date",
- "format": "strict_date_optional_time||epoch_millis"
- },
- "geoip": {
- "properties": {
- "area_code": {
- "type": "string",
- "index": "not_analyzed"
- },
- "city_name": {
- "type": "string"
- },
- "continent_code": {
- "type": "string",
- "index": "not_analyzed"
- },
- "country_code2": {
- "type": "string",
- "index": "not_analyzed"
- },
- "country_code3": {
- "type": "string",
- "index": "not_analyzed"
- },
- "country_name": {
- "type": "string",
- "index": "not_analyzed"
- },
- "dma_code": {
- "type": "integer"
- },
- "ip": {
- "type": "ip"
- },
- "latitude": {
- "type": "double"
- },
- "location": {
- "type": "geo_point"
- },
- "longitude": {
- "type": "double"
- },
- "postal_code": {
- "type": "string",
- "index": "not_analyzed"
- },
- "real_region_name": {
- "type": "string",
- "index": "not_analyzed"
- },
- "region_name": {
- "type": "string",
- "index": "not_analyzed"
- },
- "timezone": {
- "type": "string",
- "index": "not_analyzed"
- }
- }
- },
- "host": {
- "type": "string",
- "index": "not_analyzed"
- },
- "id": {
- "type": "string",
- "index": "not_analyzed"
- },
- "ip": {
- "type": "string",
- "index": "not_analyzed"
- },
- "ipv4": {
- "type": "ip"
- },
- "os": {
- "properties": {
- "classes": {
- "properties": {
- "accuracy": {
- "type": "integer"
- },
- "family": {
- "type": "string",
- "index": "not_analyzed"
- },
- "gen": {
- "type": "string",
- "index": "not_analyzed"
- },
- "type": {
- "type": "string",
- "index": "not_analyzed"
- },
- "vendor": {
- "type": "string",
- "index": "not_analyzed"
- }
- }
- },
- "matches": {
- "properties": {
- "accuracy": {
- "type": "long"
- },
- "name": {
- "type": "string",
- "index": "not_analyzed"
- }
- }
- },
- "ports_used": {
- "type": "long"
- }
- }
- },
- "port": {
- "properties": {
- "number": {
- "type": "integer"
- },
- "protocol": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- },
- "service": {
- "properties": {
- "confidence": {
- "type": "integer"
- },
- "fingerprint_method": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "product": {
- "type": "string"
- },
- "ssl": {
- "type": "boolean"
- }
- }
- },
- "state": {
- "type": "string"
- }
- "script": {
- "properties": {
- "id": {
- "type: "string"
- },
- "output": {
- "type: "string"
- }
- }
- }
- }
- },
- "scan_host_id": {
- "type": "string",
- "index": "not_analyzed"
- },
- "scan_id": {
- "type": "string",
- "index": "not_analyzed"
- },
- "start_time": {
- "type": "date",
- "format": "strict_date_optional_time||epoch_millis"
- },
- "status": {
- "properties": {
- "reason": {
- "type": "string",
- "index": "not_analyzed"
- },
- "state": {
- "type": "string",
- "index": "not_analyzed"
- }
- }
- },
- "tags": {
- "type": "string",
- "index": "not_analyzed"
- },
- "type": {
- "type": "string",
- "index": "not_analyzed"
- },
- "uptime": {
- "properties": {
- "last_boot": {
- "type": "date",
- "format": "strict_date_optional_time||epoch_millis"
- },
- "seconds": {
- "type": "long"
- }
- }
- },
- "version": {
- "type": "string",
- "index": "not_analyzed"
- }
- }
- },
- "nmap_traceroute_link": {
- "properties": {
- "@timestamp": {
- "type": "date",
- "format": "strict_date_optional_time||epoch_millis"
- },
- "@version": {
- "type": "string",
- "index": "not_analyzed"
- },
- "address": {
- "type": "string",
- "index": "not_analyzed"
- },
- "addresses": {
- "properties": {
- "addr": {
- "type": "string",
- "index": "not_analyzed"
- },
- "type": {
- "type": "string",
- "index": "not_analyzed"
- }
- }
- },
- "arguments": {
- "type": "string",
- "analyzer": "whitespace",
- "fields": {
- "raw": {
- "type": "string",
- "index": "not_analyzed"
- }
- }
- },
- "end_time": {
- "type": "date",
- "format": "strict_date_optional_time||epoch_millis"
- },
- "from": {
- "properties": {
- "address": {
- "type": "string",
- "index": "not_analyzed",
- "fields": {
- "address_ipv4": {
- "type": "ip"
- }
- }
- },
- "geoip": {
- "properties": {
- "area_code": {
- "type": "string",
- "index": "not_analyzed"
- },
- "city_name": {
- "type": "string"
- },
- "continent_code": {
- "type": "string",
- "index": "not_analyzed"
- },
- "country_code2": {
- "type": "string",
- "index": "not_analyzed"
- },
- "country_code3": {
- "type": "string",
- "index": "not_analyzed"
- },
- "country_name": {
- "type": "string",
- "index": "not_analyzed"
- },
- "dma_code": {
- "type": "integer"
- },
- "ip": {
- "type": "ip"
- },
- "latitude": {
- "type": "double"
- },
- "location": {
- "type": "geo_point"
- },
- "longitude": {
- "type": "double"
- },
- "postal_code": {
- "type": "string",
- "index": "not_analyzed"
- },
- "real_region_name": {
- "type": "string",
- "index": "not_analyzed"
- },
- "region_name": {
- "type": "string",
- "index": "not_analyzed"
- },
- "timezone": {
- "type": "string",
- "index": "not_analyzed"
- }
- }
- },
- "hostname": {
- "type": "string",
- "index": "not_analyzed"
- },
- "index": {
- "type": "integer"
- },
- "rtt": {
- "type": "long"
- },
- "ttl": {
- "type": "integer"
- }
- }
- },
- "geoip": {
- "properties": {
- "area_code": {
- "type": "string",
- "index": "not_analyzed"
- },
- "city_name": {
- "type": "string"
- },
- "continent_code": {
- "type": "string",
- "index": "not_analyzed"
- },
- "country_code2": {
- "type": "string",
- "index": "not_analyzed"
- },
- "country_code3": {
- "type": "string",
- "index": "not_analyzed"
- },
- "country_name": {
- "type": "string",
- "index": "not_analyzed"
- },
- "dma_code": {
- "type": "integer"
- },
- "ip": {
- "type": "ip"
- },
- "latitude": {
- "type": "double"
- },
- "location": {
- "type": "geo_point"
- },
- "longitude": {
- "type": "double"
- },
- "postal_code": {
- "type": "string",
- "index": "not_analyzed"
- },
- "real_region_name": {
- "type": "string",
- "index": "not_analyzed"
- },
- "region_name": {
- "type": "string",
- "index": "not_analyzed"
- },
- "timezone": {
- "type": "string",
- "index": "not_analyzed"
- }
- }
- },
- "host": {
- "type": "string",
- "index": "not_analyzed"
- },
- "id": {
- "type": "string",
- "index": "not_analyzed"
- },
- "ip": {
- "type": "string",
- "index": "not_analyzed"
- },
- "ipv4": {
- "type": "ip"
- },
- "os": {
- "properties": {
- "classes": {
- "properties": {
- "accuracy": {
- "type": "integer"
- },
- "family": {
- "type": "string",
- "index": "not_analyzed"
- },
- "gen": {
- "type": "string",
- "index": "not_analyzed"
- },
- "type": {
- "type": "string",
- "index": "not_analyzed"
- },
- "vendor": {
- "type": "string",
- "index": "not_analyzed"
- }
- }
- },
- "matches": {
- "properties": {
- "accuracy": {
- "type": "long"
- },
- "name": {
- "type": "string",
- "index": "not_analyzed"
- }
- }
- },
- "ports_used": {
- "type": "long"
- }
- }
- },
- "rtt_diff": {
- "type": "integer"
- },
- "scan_host_id": {
- "type": "string",
- "index": "not_analyzed"
- },
- "scan_id": {
- "type": "string",
- "index": "not_analyzed"
- },
- "start_time": {
- "type": "date",
- "format": "strict_date_optional_time||epoch_millis"
- },
- "status": {
- "properties": {
- "reason": {
- "type": "string",
- "index": "not_analyzed"
- },
- "state": {
- "type": "string",
- "index": "not_analyzed"
- }
- }
- },
- "tags": {
- "type": "string",
- "index": "not_analyzed"
- },
- "to": {
- "properties": {
- "address": {
- "type": "string",
- "index": "not_analyzed",
- "fields": {
- "address_ipv4": {
- "type": "ip"
- }
- }
- },
- "geoip": {
- "properties": {
- "area_code": {
- "type": "string",
- "index": "not_analyzed"
- },
- "city_name": {
- "type": "string"
- },
- "continent_code": {
- "type": "string",
- "index": "not_analyzed"
- },
- "country_code2": {
- "type": "string",
- "index": "not_analyzed"
- },
- "country_code3": {
- "type": "string",
- "index": "not_analyzed"
- },
- "country_name": {
- "type": "string",
- "index": "not_analyzed"
- },
- "dma_code": {
- "type": "integer"
- },
- "ip": {
- "type": "ip"
- },
- "latitude": {
- "type": "double"
- },
- "location": {
- "type": "geo_point"
- },
- "longitude": {
- "type": "double"
- },
- "postal_code": {
- "type": "string"
- },
- "real_region_name": {
- "type": "string"
- },
- "region_name": {
- "type": "string"
- },
- "timezone": {
- "type": "string",
- "index": "not_analyzed"
- }
- }
- },
- "hostname": {
- "type": "string",
- "index": "not_analyzed"
- },
- "index": {
- "type": "integer"
- },
- "rtt": {
- "type": "long"
- },
- "ttl": {
- "type": "integer"
- }
- }
- },
- "type": {
- "type": "string",
- "index": "not_analyzed"
- },
- "uptime": {
- "properties": {
- "last_boot": {
- "type": "date",
- "format": "strict_date_optional_time||epoch_millis"
- },
- "seconds": {
- "type": "long"
- }
- }
- },
- "version": {
- "type": "string",
- "index": "not_analyzed"
- }
- }
- },
- "nmap_host": {
- "properties": {
- "@timestamp": {
- "type": "date",
- "format": "strict_date_optional_time||epoch_millis"
- },
- "@version": {
- "type": "string",
- "index": "not_analyzed"
- },
- "address": {
- "type": "string",
- "index": "not_analyzed"
- },
- "addresses": {
- "properties": {
- "addr": {
- "type": "string",
- "index": "not_analyzed"
- },
- "type": {
- "type": "string",
- "index": "not_analyzed"
- }
- }
- },
- "arguments": {
- "type": "string",
- "analyzer": "whitespace",
- "fields": {
- "raw": {
- "type": "string",
- "index": "not_analyzed"
- }
- }
- },
- "end_time": {
- "type": "date",
- "format": "strict_date_optional_time||epoch_millis"
- },
- "geoip": {
- "properties": {
- "area_code": {
- "type": "string",
- "index": "not_analyzed"
- },
- "city_name": {
- "type": "string"
- },
- "continent_code": {
- "type": "string",
- "index": "not_analyzed"
- },
- "country_code2": {
- "type": "string",
- "index": "not_analyzed"
- },
- "country_code3": {
- "type": "string",
- "index": "not_analyzed"
- },
- "country_name": {
- "type": "string",
- "index": "not_analyzed"
- },
- "dma_code": {
- "type": "integer"
- },
- "ip": {
- "type": "ip"
- },
- "latitude": {
- "type": "double"
- },
- "location": {
- "type": "geo_point"
- },
- "longitude": {
- "type": "double"
- },
- "postal_code": {
- "type": "string",
- "index": "not_analyzed"
- },
- "real_region_name": {
- "type": "string",
- "index": "not_analyzed"
- },
- "region_name": {
- "type": "string",
- "index": "not_analyzed"
- },
- "timezone": {
- "type": "string",
- "index": "not_analyzed"
- }
- }
- },
- "host": {
- "type": "string",
- "index": "not_analyzed"
- },
- "hostname": {
- "properties": {
- "name": {
- "type": "string",
- "index": "not_analyzed"
- },
- "type": {
- "type": "string",
- "index": "not_analyzed"
- }
- }
- },
- "id": {
- "type": "string",
- "index": "not_analyzed"
- },
- "ip": {
- "type": "string",
- "index": "not_analyzed"
- },
- "ipv4": {
- "type": "ip"
- },
- "mac": {
- "type": "string",
- "index": "not_analyzed"
- },
- "os": {
- "properties": {
- "classes": {
- "properties": {
- "accuracy": {
- "type": "integer"
- },
- "family": {
- "type": "string",
- "index": "not_analyzed"
- },
- "gen": {
- "type": "string",
- "index": "not_analyzed"
- },
- "type": {
- "type": "string",
- "index": "not_analyzed"
- },
- "vendor": {
- "type": "string",
- "index": "not_analyzed"
- }
- }
- },
- "matches": {
- "properties": {
- "accuracy": {
- "type": "long"
- },
- "name": {
- "type": "string",
- "index": "not_analyzed"
- }
- }
- },
- "ports_used": {
- "type": "long"
- }
- }
- },
- "ports": {
- "properties": {
- "number": {
- "type": "integer"
- },
- "protocol": {
- "type": "string",
- "index": "not_analyzed"
- },
- "reason": {
- "type": "string",
- "index": "not_analyzed"
- },
- "service": {
- "properties": {
- "confidence": {
- "type": "long"
- },
- "fingerprint_method": {
- "type": "string",
- "index": "not_analyzed"
- },
- "name": {
- "type": "string",
- "index": "not_analyzed"
- },
- "product": {
- "type": "string",
- "index": "not_analyzed"
- },
- "ssl": {
- "type": "boolean"
- }
- }
- },
- "state": {
- "type": "string",
- "index": "not_analyzed"
- }
- }
- },
- "scan_id": {
- "type": "string",
- "index": "not_analyzed"
- },
- "start_time": {
- "type": "date",
- "format": "strict_date_optional_time||epoch_millis"
- },
- "status": {
- "properties": {
- "reason": {
- "type": "string",
- "index": "not_analyzed"
- },
- "state": {
- "type": "string",
- "index": "not_analyzed"
- }
- }
- },
- "tags": {
- "type": "string",
- "index": "not_analyzed"
- },
- "traceroute": {
- "properties": {
- "hops": {
- "properties": {
- "address": {
- "type": "string",
- "index": "not_analyzed"
- },
- "geoip": {
- "properties": {
- "area_code": {
- "type": "string",
- "index": "not_analyzed"
- },
- "city_name": {
- "type": "string"
- },
- "continent_code": {
- "type": "string",
- "index": "not_analyzed"
- },
- "country_code2": {
- "type": "string",
- "index": "not_analyzed"
- },
- "country_code3": {
- "type": "string",
- "index": "not_analyzed"
- },
- "country_name": {
- "type": "string",
- "index": "not_analyzed"
- },
- "dma_code": {
- "type": "integer"
- },
- "ip": {
- "type": "ip"
- },
- "latitude": {
- "type": "double"
- },
- "location": {
- "type": "geo_point"
- },
- "longitude": {
- "type": "double"
- },
- "postal_code": {
- "type": "string",
- "index": "not_analyzed"
- },
- "real_region_name": {
- "type": "string",
- "index": "not_analyzed"
- },
- "region_name": {
- "type": "string",
- "index": "not_analyzed"
- },
- "timezone": {
- "type": "string",
- "index": "not_analyzed"
- }
- }
- },
- "hostname": {
- "type": "string",
- "index": "not_analyzed"
- },
- "index": {
- "type": "integer"
- },
- "rtt": {
- "type": "long"
- },
- "ttl": {
- "type": "integer"
- }
- }
- },
- "port": {
- "type": "integer"
- },
- "protocol": {
- "type": "string",
- "index": "not_analyzed"
- }
- }
- },
- "type": {
- "type": "string",
- "index": "not_analyzed"
- },
- "uptime": {
- "properties": {
- "last_boot": {
- "type": "date",
- "format": "strict_date_optional_time||epoch_millis"
- },
- "seconds": {
- "type": "long"
- },
- "uptime": {
- "type": "integer"
- }
- }
- },
- "version": {
- "type": "string",
- "index": "not_analyzed"
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement