{
  "_meta": {
    "documentation": "https://www.elastic.co/guide/en/ecs/current/ecs-process.html",
    "ecs_version": "8.7.0-dev+exp"
  },
  "template": {
    "mappings": {
      "properties": {
        "process": {
          "properties": {
            "args": {
              "ignore_above": 1024,
              "type": "keyword"
            },
            "args_count": {
              "type": "long"
            },
            "code_signature": {
              "properties": {
                "digest_algorithm": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "exists": {
                  "type": "boolean"
                },
                "signing_id": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "status": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "subject_name": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "team_id": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "timestamp": {
                  "type": "date"
                },
                "trusted": {
                  "type": "boolean"
                },
                "valid": {
                  "type": "boolean"
                }
              }
            },
            "command_line": {
              "fields": {
                "text": {
                  "type": "match_only_text"
                }
              },
              "type": "wildcard"
            },
            "elf": {
              "properties": {
                "architecture": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "byte_order": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "cpu_type": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "creation_date": {
                  "type": "date"
                },
                "exports": {
                  "type": "flattened"
                },
                "go_import_hash": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "go_imports": {
                  "type": "flattened"
                },
                "go_imports_names_entropy": {
                  "type": "long"
                },
                "go_imports_names_var_entropy": {
                  "type": "long"
                },
                "go_stripped": {
                  "type": "boolean"
                },
                "header": {
                  "properties": {
                    "abi_version": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "class": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "data": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "entrypoint": {
                      "type": "long"
                    },
                    "object_version": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "os_abi": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "type": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "version": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "import_hash": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "imports": {
                  "type": "flattened"
                },
                "imports_names_entropy": {
                  "type": "long"
                },
                "imports_names_var_entropy": {
                  "type": "long"
                },
                "sections": {
                  "properties": {
                    "chi2": {
                      "type": "long"
                    },
                    "entropy": {
                      "type": "long"
                    },
                    "flags": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "physical_offset": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "physical_size": {
                      "type": "long"
                    },
                    "type": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "var_entropy": {
                      "type": "long"
                    },
                    "virtual_address": {
                      "type": "long"
                    },
                    "virtual_size": {
                      "type": "long"
                    }
                  },
                  "type": "nested"
                },
                "segments": {
                  "properties": {
                    "sections": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "type": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  },
                  "type": "nested"
                },
                "shared_libraries": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "telfhash": {
                  "ignore_above": 1024,
                  "type": "keyword"
                }
              }
            },
            "end": {
              "type": "date"
            },
            "entity_id": {
              "ignore_above": 1024,
              "type": "keyword"
            },
            "entry_leader": {
              "properties": {
                "args": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "args_count": {
                  "type": "long"
                },
                "attested_groups": {
                  "properties": {
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "attested_user": {
                  "properties": {
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "name": {
                      "fields": {
                        "text": {
                          "type": "match_only_text"
                        }
                      },
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "command_line": {
                  "fields": {
                    "text": {
                      "type": "match_only_text"
                    }
                  },
                  "type": "wildcard"
                },
                "entity_id": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "entry_meta": {
                  "properties": {
                    "source": {
                      "properties": {
                        "ip": {
                          "type": "ip"
                        }
                      }
                    },
                    "type": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "executable": {
                  "fields": {
                    "text": {
                      "type": "match_only_text"
                    }
                  },
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "group": {
                  "properties": {
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "interactive": {
                  "type": "boolean"
                },
                "name": {
                  "fields": {
                    "text": {
                      "type": "match_only_text"
                    }
                  },
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "parent": {
                  "properties": {
                    "entity_id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "pid": {
                      "type": "long"
                    },
                    "session_leader": {
                      "properties": {
                        "entity_id": {
                          "ignore_above": 1024,
                          "type": "keyword"
                        },
                        "pid": {
                          "type": "long"
                        },
                        "start": {
                          "type": "date"
                        }
                      }
                    },
                    "start": {
                      "type": "date"
                    }
                  }
                },
                "pid": {
                  "type": "long"
                },
                "real_group": {
                  "properties": {
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "real_user": {
                  "properties": {
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "name": {
                      "fields": {
                        "text": {
                          "type": "match_only_text"
                        }
                      },
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "same_as_process": {
                  "type": "boolean"
                },
                "saved_group": {
                  "properties": {
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "saved_user": {
                  "properties": {
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "name": {
                      "fields": {
                        "text": {
                          "type": "match_only_text"
                        }
                      },
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "start": {
                  "type": "date"
                },
                "supplemental_groups": {
                  "properties": {
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "tty": {
                  "properties": {
                    "char_device": {
                      "properties": {
                        "major": {
                          "type": "long"
                        },
                        "minor": {
                          "type": "long"
                        }
                      }
                    }
                  },
                  "type": "object"
                },
                "user": {
                  "properties": {
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "name": {
                      "fields": {
                        "text": {
                          "type": "match_only_text"
                        }
                      },
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "working_directory": {
                  "fields": {
                    "text": {
                      "type": "match_only_text"
                    }
                  },
                  "ignore_above": 1024,
                  "type": "keyword"
                }
              }
            },
            "env_vars": {
              "ignore_above": 1024,
              "type": "keyword"
            },
            "executable": {
              "fields": {
                "text": {
                  "type": "match_only_text"
                }
              },
              "ignore_above": 1024,
              "type": "keyword"
            },
            "exit_code": {
              "type": "long"
            },
            "group_leader": {
              "properties": {
                "args": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "args_count": {
                  "type": "long"
                },
                "command_line": {
                  "fields": {
                    "text": {
                      "type": "match_only_text"
                    }
                  },
                  "type": "wildcard"
                },
                "entity_id": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "executable": {
                  "fields": {
                    "text": {
                      "type": "match_only_text"
                    }
                  },
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "group": {
                  "properties": {
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "interactive": {
                  "type": "boolean"
                },
                "name": {
                  "fields": {
                    "text": {
                      "type": "match_only_text"
                    }
                  },
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "pid": {
                  "type": "long"
                },
                "real_group": {
                  "properties": {
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "real_user": {
                  "properties": {
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "name": {
                      "fields": {
                        "text": {
                          "type": "match_only_text"
                        }
                      },
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "same_as_process": {
                  "type": "boolean"
                },
                "saved_group": {
                  "properties": {
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "saved_user": {
                  "properties": {
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "name": {
                      "fields": {
                        "text": {
                          "type": "match_only_text"
                        }
                      },
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "start": {
                  "type": "date"
                },
                "supplemental_groups": {
                  "properties": {
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "tty": {
                  "properties": {
                    "char_device": {
                      "properties": {
                        "major": {
                          "type": "long"
                        },
                        "minor": {
                          "type": "long"
                        }
                      }
                    }
                  },
                  "type": "object"
                },
                "user": {
                  "properties": {
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "name": {
                      "fields": {
                        "text": {
                          "type": "match_only_text"
                        }
                      },
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "working_directory": {
                  "fields": {
                    "text": {
                      "type": "match_only_text"
                    }
                  },
                  "ignore_above": 1024,
                  "type": "keyword"
                }
              }
            },
            "hash": {
              "properties": {
                "md5": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "sha1": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "sha256": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "sha384": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "sha512": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "ssdeep": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "tlsh": {
                  "ignore_above": 1024,
                  "type": "keyword"
                }
              }
            },
            "interactive": {
              "type": "boolean"
            },
            "io": {
              "properties": {
                "bytes_skipped": {
                  "properties": {
                    "length": {
                      "type": "long"
                    },
                    "offset": {
                      "type": "long"
                    }
                  },
                  "type": "object"
                },
                "max_bytes_per_process_exceeded": {
                  "type": "boolean"
                },
                "text": {
                  "type": "wildcard"
                },
                "total_bytes_captured": {
                  "type": "long"
                },
                "total_bytes_skipped": {
                  "type": "long"
                },
                "type": {
                  "ignore_above": 1024,
                  "type": "keyword"
                }
              },
              "type": "object"
            },
            "macho": {
              "properties": {
                "go_import_hash": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "go_imports": {
                  "type": "flattened"
                },
                "go_imports_names_entropy": {
                  "type": "long"
                },
                "go_imports_names_var_entropy": {
                  "type": "long"
                },
                "go_stripped": {
                  "type": "boolean"
                },
                "import_hash": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "imports": {
                  "type": "flattened"
                },
                "imports_names_entropy": {
                  "type": "long"
                },
                "imports_names_var_entropy": {
                  "type": "long"
                },
                "sections": {
                  "properties": {
                    "entropy": {
                      "type": "long"
                    },
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "physical_size": {
                      "type": "long"
                    },
                    "var_entropy": {
                      "type": "long"
                    },
                    "virtual_size": {
                      "type": "long"
                    }
                  },
                  "type": "nested"
                },
                "symhash": {
                  "ignore_above": 1024,
                  "type": "keyword"
                }
              }
            },
            "name": {
              "fields": {
                "text": {
                  "type": "match_only_text"
                }
              },
              "ignore_above": 1024,
              "type": "keyword"
            },
            "parent": {
              "properties": {
                "args": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "args_count": {
                  "type": "long"
                },
                "code_signature": {
                  "properties": {
                    "digest_algorithm": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "exists": {
                      "type": "boolean"
                    },
                    "signing_id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "status": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "subject_name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "team_id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "timestamp": {
                      "type": "date"
                    },
                    "trusted": {
                      "type": "boolean"
                    },
                    "valid": {
                      "type": "boolean"
                    }
                  }
                },
                "command_line": {
                  "fields": {
                    "text": {
                      "type": "match_only_text"
                    }
                  },
                  "type": "wildcard"
                },
                "elf": {
                  "properties": {
                    "architecture": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "byte_order": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "cpu_type": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "creation_date": {
                      "type": "date"
                    },
                    "exports": {
                      "type": "flattened"
                    },
                    "go_import_hash": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "go_imports": {
                      "type": "flattened"
                    },
                    "go_imports_names_entropy": {
                      "type": "long"
                    },
                    "go_imports_names_var_entropy": {
                      "type": "long"
                    },
                    "go_stripped": {
                      "type": "boolean"
                    },
                    "header": {
                      "properties": {
                        "abi_version": {
                          "ignore_above": 1024,
                          "type": "keyword"
                        },
                        "class": {
                          "ignore_above": 1024,
                          "type": "keyword"
                        },
                        "data": {
                          "ignore_above": 1024,
                          "type": "keyword"
                        },
                        "entrypoint": {
                          "type": "long"
                        },
                        "object_version": {
                          "ignore_above": 1024,
                          "type": "keyword"
                        },
                        "os_abi": {
                          "ignore_above": 1024,
                          "type": "keyword"
                        },
                        "type": {
                          "ignore_above": 1024,
                          "type": "keyword"
                        },
                        "version": {
                          "ignore_above": 1024,
                          "type": "keyword"
                        }
                      }
                    },
                    "import_hash": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "imports": {
                      "type": "flattened"
                    },
                    "imports_names_entropy": {
                      "type": "long"
                    },
                    "imports_names_var_entropy": {
                      "type": "long"
                    },
                    "sections": {
                      "properties": {
                        "chi2": {
                          "type": "long"
                        },
                        "entropy": {
                          "type": "long"
                        },
                        "flags": {
                          "ignore_above": 1024,
                          "type": "keyword"
                        },
                        "name": {
                          "ignore_above": 1024,
                          "type": "keyword"
                        },
                        "physical_offset": {
                          "ignore_above": 1024,
                          "type": "keyword"
                        },
                        "physical_size": {
                          "type": "long"
                        },
                        "type": {
                          "ignore_above": 1024,
                          "type": "keyword"
                        },
                        "var_entropy": {
                          "type": "long"
                        },
                        "virtual_address": {
                          "type": "long"
                        },
                        "virtual_size": {
                          "type": "long"
                        }
                      },
                      "type": "nested"
                    },
                    "segments": {
                      "properties": {
                        "sections": {
                          "ignore_above": 1024,
                          "type": "keyword"
                        },
                        "type": {
                          "ignore_above": 1024,
                          "type": "keyword"
                        }
                      },
                      "type": "nested"
                    },
                    "shared_libraries": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "telfhash": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "end": {
                  "type": "date"
                },
                "entity_id": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "executable": {
                  "fields": {
                    "text": {
                      "type": "match_only_text"
                    }
                  },
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "exit_code": {
                  "type": "long"
                },
                "group": {
                  "properties": {
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "group_leader": {
                  "properties": {
                    "entity_id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "pid": {
                      "type": "long"
                    },
                    "start": {
                      "type": "date"
                    }
                  }
                },
                "hash": {
                  "properties": {
                    "md5": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "sha1": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "sha256": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "sha384": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "sha512": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "ssdeep": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "tlsh": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "interactive": {
                  "type": "boolean"
                },
                "macho": {
                  "properties": {
                    "go_import_hash": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "go_imports": {
                      "type": "flattened"
                    },
                    "go_imports_names_entropy": {
                      "type": "long"
                    },
                    "go_imports_names_var_entropy": {
                      "type": "long"
                    },
                    "go_stripped": {
                      "type": "boolean"
                    },
                    "import_hash": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "imports": {
                      "type": "flattened"
                    },
                    "imports_names_entropy": {
                      "type": "long"
                    },
                    "imports_names_var_entropy": {
                      "type": "long"
                    },
                    "sections": {
                      "properties": {
                        "entropy": {
                          "type": "long"
                        },
                        "name": {
                          "ignore_above": 1024,
                          "type": "keyword"
                        },
                        "physical_size": {
                          "type": "long"
                        },
                        "var_entropy": {
                          "type": "long"
                        },
                        "virtual_size": {
                          "type": "long"
                        }
                      },
                      "type": "nested"
                    },
                    "symhash": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "name": {
                  "fields": {
                    "text": {
                      "type": "match_only_text"
                    }
                  },
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "pe": {
                  "properties": {
                    "architecture": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "company": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "description": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "file_version": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "go_import_hash": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "go_imports": {
                      "type": "flattened"
                    },
                    "go_imports_names_entropy": {
                      "type": "long"
                    },
                    "go_imports_names_var_entropy": {
                      "type": "long"
                    },
                    "go_stripped": {
                      "type": "boolean"
                    },
                    "imphash": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "import_hash": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "imports": {
                      "type": "flattened"
                    },
                    "imports_names_entropy": {
                      "type": "long"
                    },
                    "imports_names_var_entropy": {
                      "type": "long"
                    },
                    "original_file_name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "pehash": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "product": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "sections": {
                      "properties": {
                        "entropy": {
                          "type": "long"
                        },
                        "name": {
                          "ignore_above": 1024,
                          "type": "keyword"
                        },
                        "physical_size": {
                          "type": "long"
                        },
                        "var_entropy": {
                          "type": "long"
                        },
                        "virtual_size": {
                          "type": "long"
                        }
                      },
                      "type": "nested"
                    }
                  }
                },
                "pgid": {
                  "type": "long"
                },
                "pid": {
                  "type": "long"
                },
                "real_group": {
                  "properties": {
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "real_user": {
                  "properties": {
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "name": {
                      "fields": {
                        "text": {
                          "type": "match_only_text"
                        }
                      },
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "saved_group": {
                  "properties": {
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "saved_user": {
                  "properties": {
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "name": {
                      "fields": {
                        "text": {
                          "type": "match_only_text"
                        }
                      },
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "start": {
                  "type": "date"
                },
                "supplemental_groups": {
                  "properties": {
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "thread": {
                  "properties": {
                    "id": {
                      "type": "long"
                    },
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "title": {
                  "fields": {
                    "text": {
                      "type": "match_only_text"
                    }
                  },
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "tty": {
                  "properties": {
                    "char_device": {
                      "properties": {
                        "major": {
                          "type": "long"
                        },
                        "minor": {
                          "type": "long"
                        }
                      }
                    }
                  },
                  "type": "object"
                },
                "uptime": {
                  "type": "long"
                },
                "user": {
                  "properties": {
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "name": {
                      "fields": {
                        "text": {
                          "type": "match_only_text"
                        }
                      },
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "working_directory": {
                  "fields": {
                    "text": {
                      "type": "match_only_text"
                    }
                  },
                  "ignore_above": 1024,
                  "type": "keyword"
                }
              }
            },
            "pe": {
              "properties": {
                "architecture": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "company": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "description": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "file_version": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "go_import_hash": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "go_imports": {
                  "type": "flattened"
                },
                "go_imports_names_entropy": {
                  "type": "long"
                },
                "go_imports_names_var_entropy": {
                  "type": "long"
                },
                "go_stripped": {
                  "type": "boolean"
                },
                "imphash": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "import_hash": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "imports": {
                  "type": "flattened"
                },
                "imports_names_entropy": {
                  "type": "long"
                },
                "imports_names_var_entropy": {
                  "type": "long"
                },
                "original_file_name": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "pehash": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "product": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "sections": {
                  "properties": {
                    "entropy": {
                      "type": "long"
                    },
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "physical_size": {
                      "type": "long"
                    },
                    "var_entropy": {
                      "type": "long"
                    },
                    "virtual_size": {
                      "type": "long"
                    }
                  },
                  "type": "nested"
                }
              }
            },
            "pgid": {
              "type": "long"
            },
            "pid": {
              "type": "long"
            },
            "previous": {
              "properties": {
                "args": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "args_count": {
                  "type": "long"
                },
                "executable": {
                  "fields": {
                    "text": {
                      "type": "match_only_text"
                    }
                  },
                  "ignore_above": 1024,
                  "type": "keyword"
                }
              }
            },
            "real_group": {
              "properties": {
                "id": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "name": {
                  "ignore_above": 1024,
                  "type": "keyword"
                }
              }
            },
            "real_user": {
              "properties": {
                "id": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "name": {
                  "fields": {
                    "text": {
                      "type": "match_only_text"
                    }
                  },
                  "ignore_above": 1024,
                  "type": "keyword"
                }
              }
            },
            "saved_group": {
              "properties": {
                "id": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "name": {
                  "ignore_above": 1024,
                  "type": "keyword"
                }
              }
            },
            "saved_user": {
              "properties": {
                "id": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "name": {
                  "fields": {
                    "text": {
                      "type": "match_only_text"
                    }
                  },
                  "ignore_above": 1024,
                  "type": "keyword"
                }
              }
            },
            "session_leader": {
              "properties": {
                "args": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "args_count": {
                  "type": "long"
                },
                "command_line": {
                  "fields": {
                    "text": {
                      "type": "match_only_text"
                    }
                  },
                  "type": "wildcard"
                },
                "entity_id": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "executable": {
                  "fields": {
                    "text": {
                      "type": "match_only_text"
                    }
                  },
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "group": {
                  "properties": {
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "interactive": {
                  "type": "boolean"
                },
                "name": {
                  "fields": {
                    "text": {
                      "type": "match_only_text"
                    }
                  },
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "parent": {
                  "properties": {
                    "entity_id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "pid": {
                      "type": "long"
                    },
                    "session_leader": {
                      "properties": {
                        "entity_id": {
                          "ignore_above": 1024,
                          "type": "keyword"
                        },
                        "pid": {
                          "type": "long"
                        },
                        "start": {
                          "type": "date"
                        }
                      }
                    },
                    "start": {
                      "type": "date"
                    }
                  }
                },
                "pid": {
                  "type": "long"
                },
                "real_group": {
                  "properties": {
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "real_user": {
                  "properties": {
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "name": {
                      "fields": {
                        "text": {
                          "type": "match_only_text"
                        }
                      },
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "same_as_process": {
                  "type": "boolean"
                },
                "saved_group": {
                  "properties": {
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "saved_user": {
                  "properties": {
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "name": {
                      "fields": {
                        "text": {
                          "type": "match_only_text"
                        }
                      },
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "start": {
                  "type": "date"
                },
                "supplemental_groups": {
                  "properties": {
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "tty": {
                  "properties": {
                    "char_device": {
                      "properties": {
                        "major": {
                          "type": "long"
                        },
                        "minor": {
                          "type": "long"
                        }
                      }
                    }
                  },
                  "type": "object"
                },
                "user": {
                  "properties": {
                    "id": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "name": {
                      "fields": {
                        "text": {
                          "type": "match_only_text"
                        }
                      },
                      "ignore_above": 1024,
                      "type": "keyword"
                    }
                  }
                },
                "working_directory": {
                  "fields": {
                    "text": {
                      "type": "match_only_text"
                    }
                  },
                  "ignore_above": 1024,
                  "type": "keyword"
                }
              }
            },
            "start": {
              "type": "date"
            },
            "supplemental_groups": {
              "properties": {
                "id": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "name": {
                  "ignore_above": 1024,
                  "type": "keyword"
                }
              }
            },
            "thread": {
              "properties": {
                "id": {
                  "type": "long"
                },
                "name": {
                  "ignore_above": 1024,
                  "type": "keyword"
                }
              }
            },
            "title": {
              "fields": {
                "text": {
                  "type": "match_only_text"
                }
              },
              "ignore_above": 1024,
              "type": "keyword"
            },
            "tty": {
              "properties": {
                "char_device": {
                  "properties": {
                    "major": {
                      "type": "long"
                    },
                    "minor": {
                      "type": "long"
                    }
                  }
                },
                "columns": {
                  "type": "long"
                },
                "rows": {
                  "type": "long"
                }
              },
              "type": "object"
            },
            "uptime": {
              "type": "long"
            },
            "user": {
              "properties": {
                "id": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "name": {
                  "fields": {
                    "text": {
                      "type": "match_only_text"
                    }
                  },
                  "ignore_above": 1024,
                  "type": "keyword"
                }
              }
            },
            "working_directory": {
              "fields": {
                "text": {
                  "type": "match_only_text"
                }
              },
              "ignore_above": 1024,
              "type": "keyword"
            }
          }
        }
      }
    }
  }
}
