Browse Source

Fleet: Add new mappings for .fleet-agents last_checkin_message and components fields (#89599)

* Fleet: Add new mappings for .fleet-agents last_checkin_message and components fields

* Update docs/changelog/89599.yaml

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Aleksandr Maus 3 years ago
parent
commit
4b4116533a
2 changed files with 19 additions and 0 deletions
  1. 6 0
      docs/changelog/89599.yaml
  2. 13 0
      x-pack/plugin/core/src/main/resources/fleet-agents.json

+ 6 - 0
docs/changelog/89599.yaml

@@ -0,0 +1,6 @@
+pr: 89599
+summary: "Fleet: Add new mappings for .fleet-agents `last_checkin_message` and components\
+  \ fields"
+area: Mapping
+type: enhancement
+issues: []

+ 13 - 0
x-pack/plugin/core/src/main/resources/fleet-agents.json

@@ -48,6 +48,19 @@
         "last_checkin_status": {
           "type": "keyword"
         },
+        "last_checkin_message": {
+          "type": "text",
+          "fields": {
+            "keyword": {
+              "type": "keyword",
+              "ignore_above": 1024
+            }
+          }
+        },
+        "components": {
+          "type": "object",
+          "enabled": false
+        },
         "last_updated": {
           "type": "date"
         },