Can Somoene please help me understand the message below? What I did is convert the puppetlogs go json format, in hope to avoid parsing and send it directly to elastic search instead of sending to logstash.
I do see the results in elastic, but I'm not sure if I'm seeing all results because of message below, plus it generates about 20 of these per second.
2019-06-27T18:00:43.571Z WARN elasticsearch/client.go:527 Cannot index event publisher.Event{Content:beat.Event{Timestamp:time.Time{wall:0xbf3d5ef2a10ed73f, ext:290519073867, loc:(*time.Location)(0x2bcc360)}, Meta:common.MapStr(nil), Fields:common.MapStr{"@version":1, "agent":common.MapStr{"ephemeral_id":"e76d148b-b1df-4c8b-81ea-007cb14fd455", "hostname":"myhostnamehere", "id":"5f24a946-e052-4dda-9071-2d1abcb5c0d8", "type":"filebeat", "version":"7.2.0"}, "auth":"-", "bytes":305, "clientip":"10.192.14.160", "ecs":common.MapStr{"version":"1.0.0"}, "host":common.MapStr{"architecture":"x86_64", "containerized":false, "hostname":"myhostnamehere", "id":"9577872c547c4c349d7f4dc18016252e", "name":"myhostnamehere", "os":common.MapStr{"codename":"Core", "family":"redhat", "kernel":"3.10.0-229.el7.x86_64", "name":"CentOS Linux", "platform":"centos", "version":"7 (Core)"}}, "input":common.MapStr{"type":"log"}, "log":common.MapStr{"file":common.MapStr{"path":"/var/log/puppetlabs/puppetserver/puppetserver-access.log.json"}, "offset":128218614}, "puppet.client-cert":"-", "puppet.client-dn":"-", "puppet.client-verify":"-", "rawrequest":"GET /puppet/v3/file_metadata/modules/node_hubs/ssh_keys/hubpushprod.authorized_keys?environment=test&links=manage&checksum_type=md5&source_permissions=ignore HTTP/1.1", "referrer":"-", "request":"myhostnamehere:8140/puppet/v3/file_metadata/modules/node_hubs/ssh_keys/hubpushprod.authorized_keys", "request.accept":"pson, binary", "request.accept-encoding":"gzip;q=1.0,deflate;q=0.6,identity;q=0.3", "request.connection":"-", "request.host":"myhostnamehere:8140", "requestprotocol":"HTTP/1.1", "response":200, "response.connection":"null", "response.content-length":"null", "response.content-type":"text/pson; charset=ISO-8859-1", "response.server":"null", "total_service_time":18, "verb":"GET"}, Private:file.State{Id:"", Finished:false, Fileinfo:(*os.fileStat)(0xc0003ea750), Source:"/var/log/puppetlabs/puppetserver/puppetserver-access.log.json", Offset:128219520, Timestamp:time.Time{wall:0xbf3d5eaa054db96d, ext:53432913, loc:(*time.Location)(0x2bcc360)}, TTL:-1, Type:"log", Meta:map[string]string(nil), FileStateOS:file.StateOS{Inode:0x12039, Device:0xfd03}}, TimeSeries:false}, Flags:0x1} (status=400): {"type":"illegal_argument_exception","reason":"mapper [request] of different type, current_type [keyword], merged_type [ObjectMapper]"}