{ "order": 0, "template": "wazuh*", "settings": { "index.refresh_interval": "5s" }, "mappings": { "wazuh": { "dynamic_templates": [ { "notanalyzed": { "match": "*", "mapping": { "type": "string", "index": "not_analyzed", "doc_values": "true" } } } ], "properties": { "@timestamp": { "type": "date", "format": "dateOptionalTime" }, "@version": { "type": "string" }, "agent": { "properties": { "ip": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "id": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "name": { "type": "string", "index": "not_analyzed", "doc_values": "true" } } }, "manager": { "properties": { "name": { "type": "string", "index": "not_analyzed", "doc_values": "true" } } }, "dstuser": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "AlertsFile": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "full_log": { "type": "string" }, "previous_log": { "type": "string" }, "GeoLocation": { "properties": { "area_code": { "type": "long" }, "city_name": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "continent_code": { "type": "string" }, "coordinates": { "type": "double" }, "country_code2": { "type": "string" }, "country_code3": { "type": "string" }, "country_name": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "dma_code": { "type": "long" }, "ip": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "latitude": { "type": "double" }, "location": { "type": "geo_point" }, "longitude": { "type": "double" }, "postal_code": { "type": "string" }, "real_region_name": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "region_name": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "timezone": { "type": "string" } } }, "host": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "syscheck": { "properties": { "path": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "sha1_before": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "sha1_after": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "uid_before": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "uid_after": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "gid_before": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "perm_before": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "perm_after": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "md5_after": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "md5_before": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "gname_after": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "gname_before": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "inode_after": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "inode_before": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "mtime_after": { "type": "date", "format": "dateOptionalTime", "index": "not_analyzed", "doc_values": "true" }, "mtime_before": { "type": "date", "format": "dateOptionalTime", "index": "not_analyzed", "doc_values": "true" }, "uname_after": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "uname_before": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "size_before": { "type": "long", "index": "not_analyzed", "doc_values": "true" }, "size_after": { "type": "long", "index": "not_analyzed", "doc_values": "true" }, "diff": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "event": { "type": "string", "index": "not_analyzed", "doc_values": "true" } } }, "location": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "message": { "type": "string" }, "offset": { "type": "string" }, "rule": { "properties": { "description": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "groups": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "level": { "type": "long", "doc_values": "true" }, "id": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "cve": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "info": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "frequency": { "type": "long", "doc_values": "true" }, "firedtimes": { "type": "long", "doc_values": "true" }, "cis": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "pci_dss": { "type": "string", "index": "not_analyzed", "doc_values": "true" } } }, "decoder": { "properties": { "parent": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "name": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "ftscomment": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "fts": { "type": "long", "doc_values": "true" }, "accumulate": { "type": "long", "doc_values": "true" } } }, "srcip": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "protocol": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "action": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "dstip": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "dstport": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "srcuser": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "program_name": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "id": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "status": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "command": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "url": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "data": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "system_name": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "type": { "type": "string" }, "title": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "oscap": { "properties": { "check": { "properties": { "title": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "id": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "result": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "severity": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "description": { "type": "string" }, "rationale": { "type": "string" }, "references": { "type": "string" }, "identifiers": { "type": "string" }, "oval": { "properties": { "id": { "type": "string", "index": "not_analyzed", "doc_values": "true" } } } } }, "scan": { "properties": { "id": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "content": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "benchmark": { "properties": { "id": { "type": "string", "index": "not_analyzed", "doc_values": "true" } } }, "profile": { "properties": { "title": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "id": { "type": "string", "index": "not_analyzed", "doc_values": "true" } } }, "score": { "type": "double", "doc_values": "true" }, "return_code": { "type": "long", "doc_values": "true" } } } } }, "audit": { "properties": { "type": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "id": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "syscall": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "exit": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "ppid": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "pid": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "auid": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "uid": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "gid": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "euid": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "suid": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "fsuid": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "egid": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "sgid": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "fsgid": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "tty": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "session": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "command": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "exe": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "key": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "cwd": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "directory": { "properties": { "name": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "inode": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "mode": { "type": "string", "index": "not_analyzed", "doc_values": "true" } } }, "file": { "properties": { "name": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "inode": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "mode": { "type": "string", "index": "not_analyzed", "doc_values": "true" } } }, "acct": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "dev": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "enforcing": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "list": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "old-auid": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "old-ses": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "old_enforcing": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "old_prom": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "op": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "prom": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "res": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "srcip": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "subj": { "type": "string", "index": "not_analyzed", "doc_values": "true" }, "success": { "type": "string", "index": "not_analyzed", "doc_values": "true" } } } } } } }