Skip to content

Commit

Permalink
Adding updated templates (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
f-galland authored Nov 13, 2024
1 parent bd947b4 commit e3248bb
Show file tree
Hide file tree
Showing 11 changed files with 4,172 additions and 40 deletions.
234 changes: 216 additions & 18 deletions plugins/setup/src/main/resources/index-template-agent.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,222 @@
"ignore_above": 1024,
"type": "keyword"
},
"host": {
"properties": {
"architecture": {
"ignore_above": 1024,
"type": "keyword"
},
"boot": {
"properties": {
"id": {
"ignore_above": 1024,
"type": "keyword"
}
}
},
"cpu": {
"properties": {
"usage": {
"type": "float"
}
}
},
"disk": {
"properties": {
"read": {
"properties": {
"bytes": {
"type": "long"
}
}
},
"write": {
"properties": {
"bytes": {
"type": "long"
}
}
}
}
},
"domain": {
"ignore_above": 1024,
"type": "keyword"
},
"geo": {
"properties": {
"city_name": {
"ignore_above": 1024,
"type": "keyword"
},
"continent_code": {
"ignore_above": 1024,
"type": "keyword"
},
"continent_name": {
"ignore_above": 1024,
"type": "keyword"
},
"country_iso_code": {
"ignore_above": 1024,
"type": "keyword"
},
"country_name": {
"ignore_above": 1024,
"type": "keyword"
},
"location": {
"type": "geo_point"
},
"name": {
"ignore_above": 1024,
"type": "keyword"
},
"postal_code": {
"ignore_above": 1024,
"type": "keyword"
},
"region_iso_code": {
"ignore_above": 1024,
"type": "keyword"
},
"region_name": {
"ignore_above": 1024,
"type": "keyword"
},
"timezone": {
"ignore_above": 1024,
"type": "keyword"
}
}
},
"hostname": {
"ignore_above": 1024,
"type": "keyword"
},
"id": {
"ignore_above": 1024,
"type": "keyword"
},
"ip": {
"type": "ip"
},
"mac": {
"ignore_above": 1024,
"type": "keyword"
},
"name": {
"ignore_above": 1024,
"type": "keyword"
},
"network": {
"properties": {
"egress": {
"properties": {
"bytes": {
"type": "long"
},
"packets": {
"type": "long"
}
}
},
"ingress": {
"properties": {
"bytes": {
"type": "long"
},
"packets": {
"type": "long"
}
}
}
}
},
"os": {
"properties": {
"family": {
"ignore_above": 1024,
"type": "keyword"
},
"full": {
"fields": {
"text": {
"type": "match_only_text"
}
},
"ignore_above": 1024,
"type": "keyword"
},
"kernel": {
"ignore_above": 1024,
"type": "keyword"
},
"name": {
"fields": {
"text": {
"type": "match_only_text"
}
},
"ignore_above": 1024,
"type": "keyword"
},
"platform": {
"ignore_above": 1024,
"type": "keyword"
},
"type": {
"ignore_above": 1024,
"type": "keyword"
},
"version": {
"ignore_above": 1024,
"type": "keyword"
}
}
},
"pid_ns_ino": {
"ignore_above": 1024,
"type": "keyword"
},
"risk": {
"properties": {
"calculated_level": {
"ignore_above": 1024,
"type": "keyword"
},
"calculated_score": {
"type": "float"
},
"calculated_score_norm": {
"type": "float"
},
"static_level": {
"ignore_above": 1024,
"type": "keyword"
},
"static_score": {
"type": "float"
},
"static_score_norm": {
"type": "float"
}
}
},
"type": {
"ignore_above": 1024,
"type": "keyword"
},
"uptime": {
"type": "long"
}
}
},
"id": {
"ignore_above": 1024,
"type": "keyword"
},
"is_connected": {
"type": "boolean"
},
"key": {
"ignore_above": 1024,
"type": "keyword"
Expand All @@ -30,6 +239,10 @@
"ignore_above": 1024,
"type": "keyword"
},
"status": {
"ignore_above": 1024,
"type": "keyword"
},
"type": {
"ignore_above": 1024,
"type": "keyword"
Expand All @@ -39,21 +252,6 @@
"type": "keyword"
}
}
},
"host": {
"properties": {
"ip": {
"type": "ip"
},
"os": {
"properties": {
"full": {
"ignore_above": 1024,
"type": "keyword"
}
}
}
}
}
}
},
Expand Down
Loading

0 comments on commit e3248bb

Please sign in to comment.