I'm not getting an error in the logs at all, but I'll include the messages from the syslog from start until repeating info messages, so you can see:
Jun 14 13:31:55 [redacted] metricbeat[31709]: 2021-06-14T13:31:55.191Z#011INFO#011instance/beat.go:660#011Home path: [/usr/share/metricbeat] Config path: [/etc/metricbeat] Data path: [/var/lib/metricbeat] Logs path: [/var/log/metricbeat]
Jun 14 13:31:55 [redacted] metricbeat[31709]: 2021-06-14T13:31:55.191Z#011INFO#011instance/beat.go:668#011Beat ID: 4cfa5e4f-00a1-4a8c-a490-4a009a71bc97
Jun 14 13:31:55 [redacted] metricbeat[31709]: 2021-06-14T13:31:55.192Z#011INFO#011[seccomp]#011seccomp/seccomp.go:124#011Syscall filter successfully installed
Jun 14 13:31:55 [redacted] metricbeat[31709]: 2021-06-14T13:31:55.193Z#011INFO#011[beat]#011instance/beat.go:996#011Beat info#011{"system_info": {"beat": {"path": {"config": "/etc/metricbeat", "data": "/var/lib/metricbeat", "home": "/usr/share/metricbeat", "logs": "/var/log/metricbeat"}, "type": "metricbeat", "uuid": "4cfa5e4f-00a1-4a8c-a490-4a009a71bc97"}}}
Jun 14 13:31:55 [redacted] metricbeat[31709]: 2021-06-14T13:31:55.193Z#011INFO#011[beat]#011instance/beat.go:1005#011Build info#011{"system_info": {"build": {"commit": "08e20483a651ea5ad60115f68ff0e53e6360573a", "libbeat": "7.12.0", "time": "2021-03-18T06:28:33.000Z", "version": "7.12.0"}}}
Jun 14 13:31:55 [redacted] metricbeat[31709]: 2021-06-14T13:31:55.193Z#011INFO#011[beat]#011instance/beat.go:1008#011Go runtime info#011{"system_info": {"go": {"os":"linux","arch":"amd64","max_procs":8,"version":"go1.15.8"}}}
Jun 14 13:31:55 [redacted] metricbeat[31709]: 2021-06-14T13:31:55.193Z#011INFO#011[beat]#011instance/beat.go:1012#011Host info#011{"system_info": {"host": {"architecture":"x86_64","boot_time":"2021-06-10T09:34:43Z","containerized":false,"name":"[redacted]","ip":["127.0.0.1/8","::1/128","[redacted]/24","[redacted]/64"],"kernel_version":"4.4.0-1128-aws","mac":["0a:9c:b8:1d:dd:b4"],"os":{"type":"linux","family":"debian","platform":"ubuntu","name":"Ubuntu","version":"16.04.6 LTS (Xenial Xerus)","major":16,"minor":4,"patch":6,"codename":"xenial"},"timezone":"UTC","timezone_offset_sec":0,"id":"ec2ad126334ee7d109c14749d21476ff"}}}
Jun 14 13:31:55 [redacted] metricbeat[31709]: 2021-06-14T13:31:55.193Z#011INFO#011[add_cloud_metadata]#011add_cloud_metadata/add_cloud_metadata.go:105#011add_cloud_metadata: hosting provider type detected as aws, metadata={"account":{"id":"986771151983"},"availability_zone":"us-east-1b","image":{"id":"[redacted]"},"instance":{"id":"[redacted]"},"machine":{"type":"i3en.2xlarge"},"provider":"aws","region":"us-east-1"}
Jun 14 13:31:55 [redacted] metricbeat[31709]: 2021-06-14T13:31:55.193Z#011INFO#011[beat]#011instance/beat.go:1041#011Process info#011{"system_info": {"process": {"capabilities": {"inheritable":null,"permitted":["chown","dac_override","dac_read_search","fowner","fsetid","kill","setgid","setuid","setpcap","linux_immutable","net_bind_service","net_broadcast","net_admin","net_raw","ipc_lock","ipc_owner","sys_module","sys_rawio","sys_chroot","sys_ptrace","sys_pacct","sys_admin","sys_boot","sys_nice","sys_resource","sys_time","sys_tty_config","mknod","lease","audit_write","audit_control","setfcap","mac_override","mac_admin","syslog","wake_alarm","block_suspend","audit_read"],"effective":["chown","dac_override","dac_read_search","fowner","fsetid","kill","setgid","setuid","setpcap","linux_immutable","net_bind_service","net_broadcast","net_admin","net_raw","ipc_lock","ipc_owner","sys_module","sys_rawio","sys_chroot","sys_ptrace","sys_pacct","sys_admin","sys_boot","sys_nice","sys_resource","sys_time","sys_tty_config","mknod","lease","audit_write","audit_control","setfcap","mac_override","mac_admin","syslog","wake_alarm","block_suspend","audit_read"],"bounding":["chown","dac_override","dac_read_search","fowner","fsetid","kill","setgid","setuid","setpcap","linux_immutable","net_bind_service","net_broadcast","net_admin","net_raw","ipc_lock","ipc_owner","sys_module","sys_rawio","sys_chroot","sys_ptrace","sys_pacct","sys_admin","sys_boot","sys_nice","sys_resource","sys_time","sys_tty_config","mknod","lease","audit_write","audit_control","setfcap","mac_override","mac_admin","syslog","wake_alarm","block_suspend","audit_read"],"ambient":null}, "cwd": "/", "exe": "/usr/share/metricbeat/bin/metricbeat", "name": "metricbeat", "pid": 31709, "ppid": 1, "seccomp": {"mode":"filter"}, "start_time": "2021-06-14T13:31:54.380Z"}}}
Jun 14 13:31:55 [redacted] metricbeat[31709]: 2021-06-14T13:31:55.194Z#011INFO#011instance/beat.go:304#011Setup Beat: metricbeat; Version: 7.12.0
Jun 14 13:31:55 [redacted] metricbeat[31709]: 2021-06-14T13:31:55.194Z#011INFO#011[index-management]#011idxmgmt/std.go:184#011Set output.elasticsearch.index to 'metricbeat-7.12.0' as ILM is enabled.
Jun 14 13:31:55 [redacted] metricbeat[31709]: 2021-06-14T13:31:55.194Z#011WARN#011[cfgwarn]#011tlscommon/config.go:101#011DEPRECATED: Treating the CommonName field on X.509 certificates as a host name when no Subject Alternative Names are present is going to be removed. Please update your certificates if needed. Will be removed in version: 8.0.0
Jun 14 13:31:55 [redacted] metricbeat[31709]: 2021-06-14T13:31:55.194Z#011INFO#011eslegclient/connection.go:99#011elasticsearch url: http://[redacted].compute-1.amazonaws.com:9200
Jun 14 13:31:55 [redacted] metricbeat[31709]: 2021-06-14T13:31:55.194Z#011WARN#011[tls]#011tlscommon/tls_config.go:98#011SSL/TLS verifications disabled.
Jun 14 13:31:55 [redacted] metricbeat[31709]: 2021-06-14T13:31:55.194Z#011INFO#011[publisher]#011pipeline/module.go:113#011Beat name: [redacted]
Jun 14 13:31:55 [redacted] metricbeat[31709]: 2021-06-14T13:31:55.206Z#011INFO#011[monitoring]#011log/log.go:117#011Starting metrics logging every 30s
Jun 14 13:31:55 [redacted] metricbeat[31709]: 2021-06-14T13:31:55.206Z#011INFO#011instance/beat.go:468#011metricbeat start running.
Jun 14 13:31:55 [redacted] metricbeat[31709]: 2021-06-14T13:31:55.208Z#011INFO#011filesystem/filesystem.go:57#011Ignoring filesystem types: sysfs, rootfs, ramfs, bdev, proc, cpuset, cgroup, tmpfs, devtmpfs, debugfs, tracefs, securityfs, sockfs, bpf, pipefs, devpts, hugetlbfs, ecryptfs, fuse, fusectl, pstore, mqueue, autofs
Jun 14 13:31:55 [redacted] metricbeat[31709]: 2021-06-14T13:31:55.208Z#011INFO#011[system.fsstat]#011fsstat/fsstat.go:57#011Ignoring filesystem types: %ssysfs, rootfs, ramfs, bdev, proc, cpuset, cgroup, tmpfs, devtmpfs, debugfs, tracefs, securityfs, sockfs, bpf, pipefs, devpts, hugetlbfs, ecryptfs, fuse, fusectl, pstore, mqueue, autofs
Jun 14 13:31:55 [redacted] metricbeat[31709]: 2021-06-14T13:31:55.208Z#011INFO#011cfgfile/reload.go:164#011Config reloader started
Jun 14 13:31:55 [redacted] metricbeat[31709]: 2021-06-14T13:31:55.209Z#011INFO#011filesystem/filesystem.go:57#011Ignoring filesystem types: sysfs, rootfs, ramfs, bdev, proc, cpuset, cgroup, tmpfs, devtmpfs, debugfs, tracefs, securityfs, sockfs, bpf, pipefs, devpts, hugetlbfs, ecryptfs, fuse, fusectl, pstore, mqueue, autofs
Jun 14 13:31:55 [redacted] metricbeat[31709]: 2021-06-14T13:31:55.209Z#011INFO#011[system.fsstat]#011fsstat/fsstat.go:57#011Ignoring filesystem types: %ssysfs, rootfs, ramfs, bdev, proc, cpuset, cgroup, tmpfs, devtmpfs, debugfs, tracefs, securityfs, sockfs, bpf, pipefs, devpts, hugetlbfs, ecryptfs, fuse, fusectl, pstore, mqueue, autofs
Jun 14 13:31:55 [redacted] metricbeat[31709]: 2021-06-14T13:31:55.212Z#011INFO#011cfgfile/reload.go:224#011Loading of config files completed.
Jun 14 13:31:56 [redacted] metricbeat[31709]: 2021-06-14T13:31:56.210Z#011INFO#011[publisher]#011pipeline/retry.go:219#011retryer: send unwait signal to consumer
Jun 14 13:31:56 [redacted] metricbeat[31709]: 2021-06-14T13:31:56.210Z#011INFO#011[publisher]#011pipeline/retry.go:223#011 done
Jun 14 13:31:56 [redacted] metricbeat[31709]: 2021-06-14T13:31:56.210Z#011INFO#011[publisher_pipeline_output]#011pipeline/output.go:143#011Connecting to backoff(elasticsearch(http://[redacted].compute-1.amazonaws.com:9200))
Jun 14 13:31:56 [redacted] metricbeat[31709]: 2021-06-14T13:31:56.212Z#011INFO#011[esclientleg]#011eslegclient/connection.go:314#011Attempting to connect to Elasticsearch version 7.12.0
Jun 14 13:31:56 [redacted] metricbeat[31709]: 2021-06-14T13:31:56.226Z#011INFO#011[license]#011licenser/es_callback.go:51#011Elasticsearch license: Basic
Jun 14 13:31:56 [redacted] metricbeat[31709]: 2021-06-14T13:31:56.227Z#011INFO#011[esclientleg]#011eslegclient/connection.go:314#011Attempting to connect to Elasticsearch version 7.12.0
Jun 14 13:31:56 [redacted] metricbeat[31709]: 2021-06-14T13:31:56.244Z#011INFO#011[index-management]#011idxmgmt/std.go:261#011Auto ILM enable success.
Jun 14 13:31:56 [redacted] metricbeat[31709]: 2021-06-14T13:31:56.244Z#011INFO#011[index-management.ilm]#011ilm/std.go:139#011do not generate ilm policy: exists=true, overwrite=false
Jun 14 13:31:56 [redacted] metricbeat[31709]: 2021-06-14T13:31:56.245Z#011INFO#011[index-management]#011idxmgmt/std.go:274#011ILM policy successfully loaded.
Jun 14 13:31:56 [redacted] metricbeat[31709]: 2021-06-14T13:31:56.245Z#011INFO#011[index-management]#011idxmgmt/std.go:407#011Set setup.template.name to '{metricbeat-7.12.0 {now/d}-000001}' as ILM is enabled.
Jun 14 13:31:56 [redacted] metricbeat[31709]: 2021-06-14T13:31:56.245Z#011INFO#011[index-management]#011idxmgmt/std.go:412#011Set setup.template.pattern to 'metricbeat-7.12.0-*' as ILM is enabled.
Jun 14 13:31:56 [redacted] metricbeat[31709]: 2021-06-14T13:31:56.245Z#011INFO#011[index-management]#011idxmgmt/std.go:446#011Set settings.index.lifecycle.rollover_alias in template to {metricbeat-7.12.0 {now/d}-000001} as ILM is enabled.
Jun 14 13:31:56 [redacted] metricbeat[31709]: 2021-06-14T13:31:56.245Z#011INFO#011[index-management]#011idxmgmt/std.go:450#011Set settings.index.lifecycle.name in template to {metricbeat {"policy":{"phases":{"hot":{"actions":{"rollover":{"max_age":"30d","max_size":"50gb"}}}}}}} as ILM is enabled.
Jun 14 13:31:56 [redacted] metricbeat[31709]: 2021-06-14T13:31:56.245Z#011INFO#011template/load.go:97#011Template metricbeat-7.12.0 already exists and will not be overwritten.
Jun 14 13:31:56 [redacted] metricbeat[31709]: 2021-06-14T13:31:56.245Z#011INFO#011[index-management]#011idxmgmt/std.go:298#011Loaded index template.
Jun 14 13:31:56 [redacted] metricbeat[31709]: 2021-06-14T13:31:56.246Z#011INFO#011[index-management]#011idxmgmt/std.go:309#011Write alias successfully generated.
Jun 14 13:31:56 [redacted] metricbeat[31709]: 2021-06-14T13:31:56.246Z#011INFO#011[publisher_pipeline_output]#011pipeline/output.go:151#011Connection to backoff(elasticsearch(http://[redacted].compute-1.amazonaws.com:9200)) established