I deploy graylog+elasticsearch+filebeat,but graylog can’t riceive logs from filebeat.
Then I deploy rsyslog+rsyslog-ha-forward,then I the graylog recivied logs.
The log is:
juju-0de0d7-1-lxd-0 filebeat[554771]: ERROR pipeline/output.go:100 Failed to connect to backoff(elasticsearch(http://10.0.9.3:9200)): Connection marked as failed because the onConnect callback failed: This Beat requires the default distribution of Elasticsearch. Please install the default distribution of Elasticsearch from elastic.co, or install the oss-only distribution of beats
juju status
\Model Controller Cloud/Region Version SLA Timestamp
graylog maas-controller mymaas/default 2.8.10 unsupported 20:31:19+08:00
SAAS Status Store URL
primary-rsyslog active maas-controller admin/rsyslog.primary-rsyslog
App Version Status Scale Charm Store Channel Rev OS Message
apache2 unknown 1 apache2 charmstore 35 ubuntu
elasticsearch 5.6.16 active 1 elasticsearch charmstore 49 ubuntu Unit is ready
filebeat 6.8.16 active 1 filebeat charmstore 33 ubuntu Filebeat ready.
grafana active 1 grafana charmstore 40 ubuntu Started grafana-server
graylog 2.5.1 active 1 graylog local 0 ubuntu Ready with: elasticsearch, mongodb
mongodb 3.6.8 active 1 mongodb charmstore 59 ubuntu Unit is ready
prometheus2 active 1 prometheus2 charmstore 22 ubuntu Ready
rsyslog-forwarder-ha maintenance 1 rsyslog-forwarder-ha charmstore 20 ubuntu installing charm software
telegraf active 4 telegraf charmstore 41 ubuntu Monitoring apache2/0 (source version/commit dec0633)
Unit Workload Agent Machine Public address Ports Message
apache2/0* unknown idle 2 10.0.0.157 80/tcp
telegraf/0* active idle 10.0.0.157 9103/tcp Monitoring apache2/0 (source version/commit d ec0633)
elasticsearch/0* active idle 1 10.0.9.3 9200/tcp Unit is ready
grafana/0* active idle 2/lxd/0 10.0.3.118 3000/tcp Started grafana-server
telegraf/1 active idle 10.0.3.118 9103/tcp Monitoring grafana/0 (source version/commit d ec0633)
graylog/0* active idle 0 10.0.9.13 9000/tcp,9001/tcp Ready with: elasticsearch, mongodb
mongodb/0* active idle 1/lxd/0 10.0.3.115 27017/tcp,27019/tcp,27021/tcp,28017/tcp Unit is ready
filebeat/0* active idle 10.0.3.115 Filebeat ready.
rsyslog-forwarder-ha/0* maintenance executing 10.0.3.115 (install) installing charm software
telegraf/2 active idle 10.0.3.115 9103/tcp Monitoring mongodb/0 (source version/commit d ec0633)
prometheus2/0* active idle 2/lxd/1 10.0.3.119 9090/tcp,12321/tcp Ready
telegraf/3 active idle 10.0.3.119 9103/tcp Monitoring prometheus2/0 (source version/comm it dec0633)
Machine State DNS Inst id Series AZ Message
0 started 10.0.9.13 vm-159-1 focal default Deployed
1 started 10.0.9.3 vm-156-1 focal default Deployed
1/lxd/0 started 10.0.3.115 juju-0de0d7-1-lxd-0 focal default Container started
2 started 10.0.0.157 node6 focal default Deployed
2/lxd/0 started 10.0.3.118 juju-0de0d7-2-lxd-0 focal default Container started
2/lxd/1 started 10.0.3.119 juju-0de0d7-2-lxd-1 focal default Container started
root@vivodo-3:~# juju add-relation rsyslog-forwarder-ha primary-rsyslog
root@vivodo-3:~#
root@vivodo-3:~#
root@vivodo-3:~# juju status
Model Controller Cloud/Region Version SLA Timestamp
graylog maas-controller mymaas/default 2.8.10 unsupported 20:31:30+08:00
SAAS Status Store URL
primary-rsyslog active maas-controller admin/rsyslog.primary-rsyslog
App Version Status Scale Charm Store Channel Rev OS Message
apache2 unknown 1 apache2 charmstore 35 ubuntu
elasticsearch 5.6.16 active 1 elasticsearch charmstore 49 ubuntu Unit is ready
filebeat 6.8.16 active 1 filebeat charmstore 33 ubuntu Filebeat ready.
grafana active 1 grafana charmstore 40 ubuntu Started grafana-server
graylog 2.5.1 active 1 graylog local 0 ubuntu Ready with: elasticsearch, mongodb
mongodb 3.6.8 active 1 mongodb charmstore 59 ubuntu Unit is ready
prometheus2 active 1 prometheus2 charmstore 22 ubuntu Ready
rsyslog-forwarder-ha maintenance 1 rsyslog-forwarder-ha charmstore 20 ubuntu installing charm software
telegraf active 4 telegraf charmstore 41 ubuntu Monitoring apache2/0 (source version/commit dec0633)
Unit Workload Agent Machine Public address Ports Message
apache2/0* unknown idle 2 10.0.0.157 80/tcp
telegraf/0* active idle 10.0.0.157 9103/tcp Monitoring apache2/0 (source version/commit d ec0633)
elasticsearch/0* active idle 1 10.0.9.3 9200/tcp Unit is ready
grafana/0* active idle 2/lxd/0 10.0.3.118 3000/tcp Started grafana-server
telegraf/1 active idle 10.0.3.118 9103/tcp Monitoring grafana/0 (source version/commit d ec0633)
graylog/0* active idle 0 10.0.9.13 9000/tcp,9001/tcp Ready with: elasticsearch, mongodb
mongodb/0* active idle 1/lxd/0 10.0.3.115 27017/tcp,27019/tcp,27021/tcp,28017/tcp Unit is ready
filebeat/0* active idle 10.0.3.115 Filebeat ready.
rsyslog-forwarder-ha/0* maintenance executing 10.0.3.115 (config-changed) installing charm software
telegraf/2 active idle 10.0.3.115 9103/tcp Monitoring mongodb/0 (source version/commit d ec0633)
prometheus2/0* active idle 2/lxd/1 10.0.3.119 9090/tcp,12321/tcp Ready
telegraf/3 active idle 10.0.3.119 9103/tcp Monitoring prometheus2/0 (source version/comm it dec0633)
Machine State DNS Inst id Series AZ Message
0 started 10.0.9.13 vm-159-1 focal default Deployed
1 started 10.0.9.3 vm-156-1 focal default Deployed
1/lxd/0 started 10.0.3.115 juju-0de0d7-1-lxd-0 focal default Container started
2 started 10.0.0.157 node6 focal default Deployed
2/lxd/0 started 10.0.3.118 juju-0de0d7-2-lxd-0 focal default Container started
2/lxd/1 started 10.0.3.119 juju-0de0d7-2-lxd-1 focal default Container started
The question is how can I degrade the beatfile version to oss-only version?
Thank you.