Moved logging to its own file.
[centos@server9 filebeat]$ sudo systemctl start filebeat
[centos@server9 filebeat]$ sudo systemctl status filebeat
ā filebeat.service - Filebeat sends log files to Logstash or directly to Elasticsearch.
Loaded: loaded (/usr/lib/systemd/system/filebeat.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2020-07-28 14:05:29 UTC; 4s ago
Docs: https://www.elastic.co/products/beats/filebeat
Main PID: 26230 (filebeat)
CGroup: /system.slice/filebeat.service
āā26230 /usr/share/filebeat/bin/filebeat -environment systemd -c /etc/filebeat/filebeat.yml -path.home /usr/share/filebeat -path.config /etc/fileb...
Jul 28 14:05:29 server9 systemd[1]: Started Filebeat sends log files to Logstash or directly to Elasticsearch..
[centos@server9 filebeat]$ sudo ls /var/log/filebeat
filebeat filebeat.1 filebeat.2 filebeat.3 filebeat.4 filebeat.5 filebeat.6 filebeat.7
sudo cat /var/log/filebeat/filebeat
2020-07-28T14:05:29.342Z INFO instance/beat.go:647 Home path: [/usr/share/filebeat] Config path: [/etc/filebeat] Data path: [/var/lib/filebeat] Logs path: [/var/log/filebeat]
2020-07-28T14:05:29.346Z INFO instance/beat.go:655 Beat ID: 7e03be58-5896-4100-b203-d47c82a9dd9e
2020-07-28T14:05:29.346Z INFO [seccomp] seccomp/seccomp.go:124 Syscall filter successfully installed
2020-07-28T14:05:29.346Z INFO [beat] instance/beat.go:983 Beat info {"system_info": {"beat": {"path": {"config": "/etc/filebeat", "data": "/var/lib/filebeat", "home": "/usr/share/filebeat", "logs": "/var/log/filebeat"}, "type": "filebeat", "uuid": "7e03be58-5896-4100-b203-d47c82a9dd9e"}}}
2020-07-28T14:05:29.347Z INFO [beat] instance/beat.go:992 Build info {"system_info": {"build": {"commit": "f79387d32717d79f689d94fda1ec80b2cf285d30", "libbeat": "7.8.0", "time": "2020-06-14T18:15:37.000Z", "version": "7.8.0"}}}
2020-07-28T14:05:29.347Z INFO [beat] instance/beat.go:995 Go runtime info {"system_info": {"go": {"os":"linux","arch":"amd64","max_procs":1,"version":"go1.13.10"}}}
2020-07-28T14:05:29.347Z INFO [beat] instance/beat.go:999 Host info {"system_info": {"host": {"architecture":"x86_64","boot_time":"2020-01-04T22:19:24Z","containerized":false,"name":"server9.cazillo.net","ip":["127.0.0.1/8","::1/128","10.0.0.109/24","fe80::c9f:2eff:fee9:265f/64"],"kernel_version":"3.10.0-957.27.2.el7.x86_64","mac":["0e:9f:2e:e9:26:5f"],"os":{"family":"redhat","platform":"centos","name":"CentOS Linux","version":"7 (Core)","major":7,"minor":6,"patch":1810,"codename":"Core"},"timezone":"UTC","timezone_offset_sec":0,"id":"f9afeb75a5a382dce8269887a67fbf58"}}}
2020-07-28T14:05:29.348Z INFO [beat] instance/beat.go:1028 Process info {"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"],"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"],"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"],"ambient":null}, "cwd": "/", "exe": "/usr/share/filebeat/bin/filebeat", "name": "filebeat", "pid": 26230, "ppid": 1, "seccomp": {"mode":"filter"}, "start_time": "2020-07-28T14:05:28.280Z"}}}
2020-07-28T14:05:29.348Z INFO instance/beat.go:310 Setup Beat: filebeat; Version: 7.8.0
2020-07-28T14:05:29.348Z INFO [index-management] idxmgmt/std.go:183 Set output.elasticsearch.index to 'filebeat-7.8.0' as ILM is enabled.
2020-07-28T14:05:29.348Z INFO eslegclient/connection.go:97 elasticsearch url: http://mydomain.org:9200
2020-07-28T14:05:29.348Z INFO [publisher] pipeline/module.go:113 Beat name: server9.cazillo.net
2020-07-28T14:05:29.392Z INFO instance/beat.go:463 filebeat start running.
2020-07-28T14:05:29.393Z INFO [monitoring] log/log.go:118 Starting metrics logging every 30s
2020-07-28T14:05:29.393Z INFO registrar/registrar.go:145 Loading registrar data from /var/lib/filebeat/registry/filebeat/data.json
2020-07-28T14:05:29.393Z INFO registrar/registrar.go:152 States Loaded from registrar: 27
2020-07-28T14:05:29.393Z INFO [crawler] beater/crawler.go:71 Loading Inputs: 0
2020-07-28T14:05:29.424Z INFO log/input.go:152 Configured paths: [/var/log/apache2/access.log* /var/log/apache2/other_vhosts_access.log* /var/log/httpd/access_log*]
2020-07-28T14:05:29.424Z INFO log/input.go:152 Configured paths: [/var/log/apache2/error.log* /var/log/httpd/error_log*]
2020-07-28T14:05:29.454Z INFO log/input.go:152 Configured paths: [/var/log/auth.log* /var/log/secure*]
2020-07-28T14:05:29.454Z INFO log/input.go:152 Configured paths: [/var/log/messages /var/log/audit/audit.log /var/log/firewalld]
2020-07-28T14:05:29.455Z INFO [crawler] beater/crawler.go:108 Loading and starting Inputs completed. Enabled inputs: 0
2020-07-28T14:05:29.455Z INFO cfgfile/reload.go:164 Config reloader started
2020-07-28T14:05:29.464Z INFO log/input.go:152 Configured paths: [/var/log/apache2/access.log* /var/log/apache2/other_vhosts_access.log* /var/log/httpd/access_log*]
2020-07-28T14:05:29.479Z INFO log/input.go:152 Configured paths: [/var/log/apache2/error.log* /var/log/httpd/error_log*]
2020-07-28T14:05:29.479Z INFO eslegclient/connection.go:97 elasticsearch url: http://mydomain.org:9200
2020-07-28T14:05:29.706Z INFO [esclientleg] eslegclient/connection.go:306 Attempting to connect to Elasticsearch version 7.8.0
2020-07-28T14:05:29.800Z INFO log/harvester.go:297 Harvester started for file: /var/log/httpd/access_log
2020-07-28T14:05:29.800Z INFO log/harvester.go:297 Harvester started for file: /var/log/httpd/error_log
2020-07-28T14:05:30.443Z INFO log/input.go:152 Configured paths: [/var/log/auth.log* /var/log/secure*]
2020-07-28T14:05:30.451Z INFO log/input.go:152 Configured paths: [/var/log/messages /var/log/audit/audit.log /var/log/firewalld]
2020-07-28T14:05:30.451Z INFO eslegclient/connection.go:97 elasticsearch url: http://mydomain.org:9200
2020-07-28T14:05:30.508Z INFO [esclientleg] eslegclient/connection.go:306 Attempting to connect to Elasticsearch version 7.8.0
2020-07-28T14:05:30.559Z INFO cfgfile/reload.go:224 Loading of config files completed.
2020-07-28T14:05:30.561Z INFO log/harvester.go:297 Harvester started for file: /var/log/secure
2020-07-28T14:05:30.562Z INFO log/harvester.go:297 Harvester started for file: /var/log/messages
2020-07-28T14:05:30.562Z INFO log/harvester.go:297 Harvester started for file: /var/log/audit/audit.log
2020-07-28T14:05:30.801Z INFO [publisher_pipeline_output] pipeline/output.go:144 Connecting to backoff(elasticsearch(http://mydomain.org:9200))
2020-07-28T14:05:30.802Z INFO [publisher] pipeline/retry.go:221 retryer: send unwait signal to consumer
2020-07-28T14:05:30.802Z INFO [publisher] pipeline/retry.go:225 done
2020-07-28T14:05:30.860Z INFO [esclientleg] eslegclient/connection.go:306 Attempting to connect to Elasticsearch version 7.8.0
2020-07-28T14:05:30.930Z INFO [license] licenser/es_callback.go:51 Elasticsearch license: Basic
2020-07-28T14:05:30.953Z INFO [esclientleg] eslegclient/connection.go:306 Attempting to connect to Elasticsearch version 7.8.0
2020-07-28T14:05:31.017Z INFO [index-management] idxmgmt/std.go:259 Auto ILM enable success.
2020-07-28T14:05:31.042Z INFO [index-management.ilm] ilm/std.go:139 do not generate ilm policy: exists=true, overwrite=false
2020-07-28T14:05:31.042Z INFO [index-management] idxmgmt/std.go:272 ILM policy successfully loaded.
2020-07-28T14:05:31.042Z INFO [index-management] idxmgmt/std.go:405 Set setup.template.name to '{filebeat-7.8.0 {now/d}-000001}' as ILM is enabled.
2020-07-28T14:05:31.042Z INFO [index-management] idxmgmt/std.go:410 Set setup.template.pattern to 'filebeat-7.8.0-*' as ILM is enabled.
2020-07-28T14:05:31.042Z INFO [index-management] idxmgmt/std.go:444 Set settings.index.lifecycle.rollover_alias in template to {filebeat-7.8.0 {now/d}-000001} as ILM is enabled.
2020-07-28T14:05:31.042Z INFO [index-management] idxmgmt/std.go:448 Set settings.index.lifecycle.name in template to {filebeat {"policy":{"phases":{"hot":{"actions":{"rollover":{"max_age":"30d","max_size":"50gb"}}}}}}} as ILM is enabled.
2020-07-28T14:05:31.068Z INFO template/load.go:89 Template filebeat-7.8.0 already exists and will not be overwritten.
2020-07-28T14:05:31.068Z INFO [index-management] idxmgmt/std.go:296 Loaded index template.
2020-07-28T14:05:31.095Z INFO [index-management] idxmgmt/std.go:307 Write alias successfully generated.
2020-07-28T14:05:31.225Z INFO [publisher_pipeline_output] pipeline/output.go:152 Connection to backoff(elasticsearch(http://mydomain.org:9200)) established