PS C:\Users\shirokuma> ssh suricata@192.168.0.3
[suricata@localhost ~]$ su -
[suricata@localhost ~]# rpm --import https://packages.elastic.co/GPG-KEY-elasticsearch
ELKと別サーバーのため再度実施
[suricata@localhost ~]# vi /etc/yum.repos.d/elastic.repo
[elastic-7.x]
name=Elastic repository for 7.x packages
baseurl=https://artifacts.elastic.co/packages/7.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md
[suricata@localhost ~]# yum install filebeat
[suricata@localhost ~]#systemctl daemon-reload
[suricata@localhost ~]#systemctl enable filebeat
[suricata@localhost ~]#systemctl start filebeat
[suricata@localhost ~]#systemctl stop filebeat
[suricata@localhost ~]#journalctl --unit filebeat