{
  "_meta": {
    "documentation": "https://www.elastic.co/guide/en/ecs/current/ecs-base.html",
    "ecs_version": "1.12.2"
  },
  "template": {
    "mappings": {
      "properties": {
        "google_workspace": {
          "properties": {
            "actor": {
              "properties": {
                "key": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "type": {
                  "ignore_above": 1024,
                  "type": "keyword"
                }
              }
            },
            "admin": {
              "properties": {
                "alert": {
                  "properties": {
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "api": {
                  "properties": {
                    "client": {
                      "properties": {
                        "name": {
                          "ignore_above": 1024,
                          "type": "keyword"
                        }
                      }
                    },
                    "scopes": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "application": {
                  "properties": {
                    "asp_id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "edition": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "enabled": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "licences_order_number": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "licences_purchased": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "package_id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "bulk_upload": {
                  "properties": {
                    "failed": {
                      "type": "long"
                    },
                    "total": {
                      "type": "long"
                    }
                  }
                },
                "chrome_licenses": {
                  "properties": {
                    "allowed": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "enabled": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "chrome_os": {
                  "properties": {
                    "session_type": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "device": {
                  "properties": {
                    "command_details": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "serial_number": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "type": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "distribution": {
                  "properties": {
                    "entity": {
                      "properties": {
                        "name": {
                          "ignore_above": 1024,
                          "type": "keyword"
                        },
                        "type": {
                          "ignore_above": 1024,
                          "type": "keyword"
                        }
                      }
                    }
                  }
                },
                "domain": {
                  "properties": {
                    "alias": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "secondary_name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "email": {
                  "properties": {
                    "log_search_filter": {
                      "properties": {
                        "end_date": {
                          "type": "date"
                        },
                        "message_id": {
                          "ignore_above": 1024,
                          "type": "keyword"
                        },
                        "recipient": {
                          "properties": {
                            "ip": {
                              "type": "ip"
                            },
                            "value": {
                              "ignore_above": 1024,
                              "type": "keyword"
                            }
                          }
                        },
                        "sender": {
                          "properties": {
                            "ip": {
                              "type": "ip"
                            },
                            "value": {
                              "ignore_above": 1024,
                              "type": "keyword"
                            }
                          }
                        },
                        "start_date": {
                          "type": "date"
                        }
                      }
                    },
                    "quarantine_name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "email_dump": {
                  "properties": {
                    "include_deleted": {
                      "type": "boolean"
                    },
                    "package_content": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "query": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "email_monitor": {
                  "properties": {
                    "dest_email": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "level": {
                      "properties": {
                        "chat": {
                          "ignore_above": 1024,
                          "type": "keyword"
                        },
                        "draft": {
                          "ignore_above": 1024,
                          "type": "keyword"
                        },
                        "incoming": {
                          "ignore_above": 1024,
                          "type": "keyword"
                        },
                        "outgoing": {
                          "ignore_above": 1024,
                          "type": "keyword"
                        }
                      }
                    }
                  }
                },
                "field": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "gateway": {
                  "properties": {
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "group": {
                  "properties": {
                    "allowed_list": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "email": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "priorities": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "info_type": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "managed_configuration": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "mdm": {
                  "properties": {
                    "token": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "vendor": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "mobile": {
                  "properties": {
                    "action": {
                      "properties": {
                        "id": {
                          "ignore_above": 1024,
                          "type": "keyword"
                        },
                        "type": {
                          "ignore_above": 1024,
                          "type": "keyword"
                        }
                      }
                    },
                    "certificate": {
                      "properties": {
                        "name": {
                          "ignore_above": 1024,
                          "type": "keyword"
                        }
                      }
                    },
                    "company_owned_devices": {
                      "type": "long"
                    }
                  }
                },
                "new_value": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "non_featured_services_selection": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "oauth2": {
                  "properties": {
                    "application": {
                      "properties": {
                        "id": {
                          "ignore_above": 1024,
                          "type": "keyword"
                        },
                        "name": {
                          "ignore_above": 1024,
                          "type": "keyword"
                        },
                        "type": {
                          "ignore_above": 1024,
                          "type": "keyword"
                        }
                      }
                    },
                    "service": {
                      "properties": {
                        "name": {
                          "ignore_above": 1024,
                          "type": "keyword"
                        }
                      }
                    }
                  }
                },
                "old_value": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "org_unit": {
                  "properties": {
                    "full": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "print_server": {
                  "properties": {
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "printer": {
                  "properties": {
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "privilege": {
                  "properties": {
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "product": {
                  "properties": {
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "sku": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "request": {
                  "properties": {
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "resource": {
                  "properties": {
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "role": {
                  "properties": {
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "rule": {
                  "properties": {
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "service": {
                  "properties": {
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "setting": {
                  "properties": {
                    "description": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "url": {
                  "properties": {
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "user": {
                  "properties": {
                    "birthdate": {
                      "type": "date"
                    },
                    "email": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "nickname": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "user_defined_setting": {
                  "properties": {
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "verification_method": {
                  "ignore_above": 1024,
                  "type": "keyword"
                }
              }
            },
            "drive": {
              "properties": {
                "added_role": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "billable": {
                  "type": "boolean"
                },
                "destination_folder_id": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "destination_folder_title": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "file": {
                  "properties": {
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "owner": {
                      "properties": {
                        "email": {
                          "ignore_above": 1024,
                          "type": "keyword"
                        },
                        "is_shared_drive": {
                          "type": "boolean"
                        }
                      }
                    },
                    "type": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "membership_change_type": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "new_value": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "old_value": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "old_visibility": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "originating_app_id": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "primary_event": {
                  "type": "boolean"
                },
                "removed_role": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "shared_drive_id": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "shared_drive_settings_change_type": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "sheets_import_range_recipient_doc": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "source_folder_id": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "source_folder_title": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "target": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "target_domain": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "visibility": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "visibility_change": {
                  "ignore_above": 1024,
                  "type": "keyword"
                }
              }
            },
            "event": {
              "properties": {
                "type": {
                  "ignore_above": 1024,
                  "type": "keyword"
                }
              }
            },
            "groups": {
              "properties": {
                "acl_permission": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "email": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "member": {
                  "properties": {
                    "email": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "role": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "message": {
                  "properties": {
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "moderation_action": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "new_value": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "old_value": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "setting": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "status": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "value": {
                  "ignore_above": 1024,
                  "type": "keyword"
                }
              }
            },
            "kind": {
              "ignore_above": 1024,
              "type": "keyword"
            },
            "login": {
              "properties": {
                "affected_email_address": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "challenge_method": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "failure_type": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "is_second_factor": {
                  "type": "boolean"
                },
                "is_suspicious": {
                  "type": "boolean"
                },
                "type": {
                  "ignore_above": 1024,
                  "type": "keyword"
                }
              }
            },
            "organization": {
              "properties": {
                "domain": {
                  "ignore_above": 1024,
                  "type": "keyword"
                }
              }
            },
            "saml": {
              "properties": {
                "application_name": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "failure_type": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "initiated_by": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "orgunit_path": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "second_level_status_code": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "status_code": {
                  "ignore_above": 1024,
                  "type": "keyword"
                }
              }
            }
          }
        }
      }
    }
  }
}