Hi bahram,
Thank you for replying my queries.
Please find the out from client server.
[root@localhost ~]# 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 Mon 2020-10-26 12:02:49 +04; 6s ago
Docs: https://www.elastic.co/products/beats/filebeat
Main PID: 16559 (filebeat)
CGroup: /system.slice/filebeat.service
└─16559 /usr/share/filebeat/bin/filebeat -c /etc/filebeat/filebeat.yml -path.home /usr/share/filebeat -path.config /etc…
Oct 26 12:02:49 localhost.novalocal systemd[1]: Started Filebeat sends log files to Logstash or directly to Elasticsearch…
indent preformatted text by 4 spaces##########################
#####################################
[root@localhost ~]# filebeat -e -c /etc/filebeat/filebeat.yml
2020-10-26T11:59:33.219+0400 INFO instance/beat.go:611 Home path: [/usr/share/filebeat] Config path: [/etc/filebeat] Data path: [/var/lib/filebeat] Logs path: [/var/log/filebeat]
2020-10-26T11:59:33.219+0400 INFO instance/beat.go:618 Beat UUID: 8e02babe-5460-4350-93b3-ece74242b8ad
2020-10-26T11:59:33.219+0400 INFO [seccomp] seccomp/seccomp.go:116 Syscall filter successfully installed
2020-10-26T11:59:33.219+0400 INFO [beat] instance/beat.go:931 Beat info {“system_info”: {“beat”: {“path”: {“config”: “/etc/filebeat”, “data”: “/var/lib/filebeat”, “home”: “/usr/share/filebeat”, “logs”: “/var/log/filebeat”}, “type”: “filebeat”, “uuid”: “8e02babe-5460-4350-93b3-ece74242b8ad”}}}
2020-10-26T11:59:33.219+0400 INFO [beat] instance/beat.go:940 Build info {“system_info”: {“build”: {“commit”: “fdb5036adbe45aa10a03882b2245578ad17c3615”, “libbeat”: “6.8.12”, “time”: “2020-08-12T06:26:46.000Z”, “version”: “6.8.12”}}}
2020-10-26T11:59:33.219+0400 INFO [beat] instance/beat.go:943 Go runtime info {“system_info”: {“go”: {“os”:“linux”,“arch”:“amd64”,“max_procs”:8,“version”:“go1.10.8”}}}
2020-10-26T11:59:33.220+0400 INFO [beat] instance/beat.go:947 Host info {“system_info”: {“host”: {“architecture”:“x86_64”,“boot_time”:“2020-08-26T09:54:57+04:00”,“containerized”:false,“name”:“localhost.novalocal”,“ip”:[“127.0.0.1/8”,"::1/128",“10.2.0.29/24”,“fe80::f816:3eff:fed1:25ba/64”],“kernel_version”:“3.10.0-1062.12.1.el7.x86_64”,“mac”:[“fa:16:3e:d1:25:ba”],“os”:{“family”:“redhat”,“platform”:“centos”,“name”:“CentOS Linux”,“version”:“7 (Core)”,“major”:7,“minor”:7,“patch”:1908,“codename”:“Core”},“timezone”:"+04",“timezone_offset_sec”:14400,“id”:“5003025f93c1a84914ea5ae66519c100”}}}
2020-10-26T11:59:33.221+0400 INFO [beat] instance/beat.go:976 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_r
#################################
[root@localhost ~]# filebeat test config
Config OK
[root@localhost ~]#
############################################
[root@localhost ~]# filebeat test output
elasticsearch: http://localhost:9200…
parse url… OK
connection…
parse host… OK
dns lookup… OK
addresses: ::1, 127.0.0.1
dial up… ERROR dial tcp [::1]:9200: connect: connection refused
[root@localhost ~]#
I have a query here.Do we need to install and configure elastic search client server also.