Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 2021 11:14:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        elastic@FreeBSD.org
Subject:   [Bug 257309] sysutils/beats7: 7.13 compatibility to non-Elastic distributions
Message-ID:  <bug-257309-37421-RArCbIN28l@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-257309-37421@https.bugs.freebsd.org/bugzilla/>
References:  <bug-257309-37421@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257309

--- Comment #2 from bgdnlp <freebsd.org@neant.ro> ---
(In reply to Kubilay Kocak from comment #1)

Yes, I can add more details, but I can't yet confirm the workaround works.
Pretty sure it does. Basically we downgraded to beats 7.10.

The error that shows up in logs is this:

ERROR   [publisher_pipeline_output]     pipeline/output.go:154  Failed to
connect to backoff(elasticsearch(https://my.elasticsearch.url:443)): Connec=
tion
marked as failed because the onConnect callback failed: could not connect t=
o a
compatible version of Elasticsearch: unauthorized access, could not connect=
 to
the xpack endpoint, verify your credentials

The pull request that broke it is:
https://github.com/elastic/beats/pull/25351/files

This other pull request that would have restored functionality was rejected:
https://github.com/elastic/beats/pull/26305

(I don't know what the code does or if it works as intended)

My workaround is to downgrade to 7.10, which is thankfully still available =
in
quarterly repo, then lock the package:

sudo service filebeat stop
sudo pkg remove beats7
fetch https://pkg.freebsd.org/FreeBSD:12:amd/quarterly/All/beats7-7.10.1.txz
sudo pkg install -y beats7-7.10.1.txz
sudo pkg lock -y beats7-7.10.1

I guess one way forward would be to provide a 'beats7-oss' package or simil=
ar
which would only be upgraded after beats7 is (inevitably) forked to be patc=
hed
to work with non-Elastic distributions of ES.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257309-37421-RArCbIN28l>