app-metrics/metricbeat-bin - 8.19.25 (inode64-overlay)

Search

Install

Install this version:

emerge -a =app-metrics/metricbeat-bin-8.19.25

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-metrics/metricbeat-bin-8.19.25

Or alternatively:

emerge --autounmask-write -a =app-metrics/metricbeat-bin-8.19.25

Package Information

Description:
Lightweight shipper for metrics
Homepage:
https://www.elastic.co/es/beats/metricbeat
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
8.19.25 8 -* ~amd64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit systemd

MY_PN="metricbeat"
MY_P="${MY_PN}-${PV}-linux-x86_64"
DESCRIPTION="Lightweight shipper for metrics"
HOMEPAGE="https://www.elastic.co/es/beats/metricbeat"
SRC_URI="https://artifacts.elastic.co/downloads/beats/${MY_PN}/${MY_P}.tar.gz"

S="${WORKDIR}/${MY_P}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="-* ~amd64"
RESTRICT="strip"

DOCS=( NOTICE.txt README.md )

src_install() {
	dobin ${MY_PN}
	einstalldocs

	insinto /etc/${MY_PN}
	doins fields.yml
	doins ${MY_PN}.yml
	doins ${MY_PN}.reference.yml
	doins -r modules.d

	dodir /usr/share/${MY_PN}
	cp -r module "${ED}"/usr/share/${MY_PN} || die
	cp -r kibana "${ED}"/usr/share/${MY_PN} || die

	newconfd "${FILESDIR}/${MY_PN}.confd" ${MY_PN}
	# The data and log directories belong to the user set in conf.d: the init
	# script creates them with checkpath and the unit with StateDirectory and
	# LogsDirectory. A tmpfiles entry would hand them back to root.
	newinitd "${FILESDIR}/${MY_PN}.initd" ${MY_PN}
	systemd_dounit "${FILESDIR}/${MY_PN}.service"
}

Inherited Eclasses

Manifest for 8.19.25

Type File Size Source URLs
DIST metricbeat-8.19.25-linux-x86_64.tar.gz 77247414 bytes https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-8.19.25-linux-x86_64.tar.gz