Dear experts,
after migration from 6.8.13 to 7.10.2, MongoDB events logged are no more properly parsed by the factory mongodb ingest pipelines.
To be honest, I have no idea about the root cause. Many thanks for your help.
Here is an extract from Filebeat log files on MongoDB cluster node:
2021-03-10T09:30:38.185+0100 WARN [elasticsearch] elasticsearch/client.go:408 Cannot index event publisher.Event{Content:beat.Event{Timestamp:time.Time{wall:0xc00a3ecb065d4eea, ext:73104681731, loc:(*time.Location)(0x64d0ce0)}, Meta:{"pipeline":"filebeat-7.10.2-mongodb-log-pipeline"}, Fields:{"agent":{"ephemeral_id":"488341fb-a559-4f84-b127-28a2f2620734","hostname":"i-002c4ce9-hidden-database-server-15862443171.novalocal","id":"14bb78ce-e144-4aa5-9651-72441f09fe4f","name":"192.168.2.31","type":"filebeat","version":"7.10.2"},"cloud":{"availability_zone":"eu-west-0a","instance":{"id":"i-002c4ce9","name":"hidden-database-server-15862443171.novalocal"},"machine":{"type":"s3.xlarge.4"},"provider":"openstack"},"ecs":{"version":"1.5.0"},"event":{"dataset":"mongodb.log","module":"mongodb"},"fileset":{"name":"log"},"host":{"architecture":"x86_64","containerized":false,"hostname":"i-002c4ce9-hidden-database-server-15862443171.novalocal","id":"0a23dfe41753481fb353c17b22951382","ip":["192.168.2.31"],"mac":["fa:16:3e:e9:8f:ed"],"name":"192.168.2.31","os":{"codename":"Core","family":"redhat","kernel":"3.10.0-1160.15.2.el7.x86_64","name":"CentOS Linux","platform":"centos","version":"7 (Core)"}},"input":{"type":"log"},"log":{"file":{"path":"/mondata/log/mongod.log-20210310"},"offset":7912042},"message":"2021-03-09T15:52:56.676+0100 I NETWORK [conn17040] end connection 127.0.0.1:57984 (4 connections now open)","service":{"type":"mongodb"}}, Private:file.State{Id:"native::136017621-64784", PrevId:"", Finished:false, Fileinfo:(*os.fileStat)(0xc000be0b60), Source:"/mondata/log/mongod.log-20210310", Offset:7912150, Timestamp:time.Time{wall:0xc00a3eca52028631, ext:70300058716, loc:(*time.Location)(0x64d0ce0)}, TTL:-1, Type:"log", Meta:map[string]string(nil), FileStateOS:file.StateOS{Inode:0x81b76d5, Device:0xfd10}, IdentifierName:"native"}, TimeSeries:false}, Flags:0x1, Cache:publisher.EventCache{m:common.MapStr(nil)}} (status=400): {"type":"mapper_parsing_exception","reason":"failed to parse","caused_by":{"type":"illegal_argument_exception","reason":"Cannot write to a field alias [cloud.availability_zone]."}}