{
  "_meta": {
    "documentation": "https://www.elastic.co/guide/en/ecs/current/ecs-base.html",
    "ecs_version": "1.12.2"
  },
  "template": {
    "mappings": {
      "properties": {
        "juniper": {
          "properties": {
            "srx": {
              "properties": {
                "action": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "action_detail": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "alert": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "apbr_rule_type": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "application": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "application_category": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "application_characteristics": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "application_name": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "application_sub_category": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "attack_name": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "category": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "client_ip": {
                  "type": "ip"
                },
                "connection_hit_rate": {
                  "type": "long"
                },
                "connection_tag": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "context_hit_rate": {
                  "type": "long"
                },
                "context_name": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "context_value": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "context_value_hit_rate": {
                  "type": "long"
                },
                "ddos_application_name": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "dscp_value": {
                  "type": "long"
                },
                "dst_nat_rule_name": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "dst_nat_rule_type": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "dst_vrf_grp": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "elapsed_time": {
                  "type": "date"
                },
                "encrypted": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "epoch_time": {
                  "type": "date"
                },
                "error_code": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "error_message": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "export_id": {
                  "type": "long"
                },
                "feed_name": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "file_category": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "file_hash_lookup": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "file_name": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "filename": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "hostname": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "icmp_type": {
                  "type": "long"
                },
                "inbound_bytes": {
                  "type": "long"
                },
                "inbound_packets": {
                  "type": "long"
                },
                "index": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "logical_system_name": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "malware_info": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "message": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "message_type": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "name": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "nat_connection_tag": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "nested_application": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "obj": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "occur_count": {
                  "type": "long"
                },
                "outbound_bytes": {
                  "type": "long"
                },
                "outbound_packets": {
                  "type": "long"
                },
                "packet_log_id": {
                  "type": "long"
                },
                "peer_destination_address": {
                  "type": "ip"
                },
                "peer_destination_port": {
                  "type": "long"
                },
                "peer_session_id": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "peer_source_address": {
                  "type": "ip"
                },
                "peer_source_port": {
                  "type": "long"
                },
                "policy_name": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "process": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "profile": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "profile_name": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "protocol": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "protocol_id": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "protocol_name": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "reason": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "repeat_count": {
                  "type": "long"
                },
                "roles": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "routing_instance": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "rule_name": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "ruleebase_name": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "sample_sha256": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "secure_web_proxy_session_type": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "service_name": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "session_id": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "session_id_32": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "src_nat_rule_name": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "src_nat_rule_type": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "src_vrf_grp": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "state": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "status": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "sub_category": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "tag": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "temporary_filename": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "tenant_id": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "th": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "threat_severity": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "time_count": {
                  "type": "long"
                },
                "time_period": {
                  "type": "long"
                },
                "time_scope": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "timestamp": {
                  "type": "date"
                },
                "type": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "uplink_rx_bytes": {
                  "type": "long"
                },
                "uplink_tx_bytes": {
                  "type": "long"
                },
                "url": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "username": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "verdict_number": {
                  "type": "long"
                },
                "verdict_source": {
                  "ignore_above": 1024,
                  "type": "keyword"
                }
              }
            }
          }
        }
      }
    }
  }
}