Skip to content

Commit 63e0e1a

Browse files
committed
add mappings for passthrough fields
1 parent fcfc406 commit 63e0e1a

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

  • x-pack/platform/plugins/shared/fleet/common/constants

x-pack/platform/plugins/shared/fleet/common/constants/mappings.ts

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,23 @@ export const AGENT_MAPPINGS = {
401401
},
402402
},
403403
},
404+
service: {
405+
properties: {
406+
name: {
407+
type: 'keyword',
408+
},
409+
version: {
410+
type: 'keyword',
411+
},
412+
instance: {
413+
properties: {
414+
id: {
415+
type: 'keyword',
416+
},
417+
},
418+
},
419+
},
420+
},
404421
non_identifying_attributes: {
405422
properties: {
406423
host: {
@@ -425,6 +442,26 @@ export const AGENT_MAPPINGS = {
425442
},
426443
},
427444
},
445+
host: {
446+
properties: {
447+
arch: {
448+
type: 'keyword',
449+
},
450+
name: {
451+
type: 'keyword',
452+
},
453+
},
454+
},
455+
os: {
456+
properties: {
457+
type: {
458+
type: 'keyword',
459+
},
460+
description: {
461+
type: 'keyword',
462+
},
463+
},
464+
},
428465
},
429466
} as const;
430467

0 commit comments

Comments
 (0)