{audit,file,heart,metric,packet}beat7: fix meta.position

This commit is contained in:
Wolfgang Walther
2025-10-22 21:45:27 +02:00
parent 08b5cabfe4
commit 328a707386

View File

@@ -42,8 +42,12 @@ let
); );
in in
rec { rec {
auditbeat7 = beat "auditbeat" { meta.description = "Lightweight shipper for audit data"; }; auditbeat7 = beat "auditbeat" {
pos = __curPos;
meta.description = "Lightweight shipper for audit data";
};
filebeat7 = beat "filebeat" { filebeat7 = beat "filebeat" {
pos = __curPos;
meta.description = "Lightweight shipper for logfiles"; meta.description = "Lightweight shipper for logfiles";
buildInputs = [ systemd ]; buildInputs = [ systemd ];
tags = [ "withjournald" ]; tags = [ "withjournald" ];
@@ -51,8 +55,12 @@ rec {
patchelf --set-rpath ${lib.makeLibraryPath [ (lib.getLib systemd) ]} "$out/bin/filebeat" patchelf --set-rpath ${lib.makeLibraryPath [ (lib.getLib systemd) ]} "$out/bin/filebeat"
''; '';
}; };
heartbeat7 = beat "heartbeat" { meta.description = "Lightweight shipper for uptime monitoring"; }; heartbeat7 = beat "heartbeat" {
pos = __curPos;
meta.description = "Lightweight shipper for uptime monitoring";
};
metricbeat7 = beat "metricbeat" { metricbeat7 = beat "metricbeat" {
pos = __curPos;
meta.description = "Lightweight shipper for metrics"; meta.description = "Lightweight shipper for metrics";
passthru.tests = lib.optionalAttrs config.allowUnfree ( passthru.tests = lib.optionalAttrs config.allowUnfree (
assert metricbeat7.drvPath == nixosTests.elk.unfree.ELK-7.elkPackages.metricbeat.drvPath; assert metricbeat7.drvPath == nixosTests.elk.unfree.ELK-7.elkPackages.metricbeat.drvPath;
@@ -63,6 +71,7 @@ rec {
}; };
packetbeat7 = beat "packetbeat" { packetbeat7 = beat "packetbeat" {
buildInputs = [ libpcap ]; buildInputs = [ libpcap ];
pos = __curPos;
meta.description = "Network packet analyzer that ships data to Elasticsearch"; meta.description = "Network packet analyzer that ships data to Elasticsearch";
meta.longDescription = '' meta.longDescription = ''
Packetbeat is an open source network packet analyzer that ships the Packetbeat is an open source network packet analyzer that ships the