stats frequency

"Peter Czanik (pczanik)" <[email protected]> Wed, 7 May 2025 08:17:49 +0000
Newsgroups gmane.comp.syslog-ng
Message-ID <CO1PR19MB5126F486FF2F0EE0030385D18B88A@CO1PR19MB5126.namprd19.prod.outlook.com>
--===============6957608620173871730==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_CO1PR19MB5126F486FF2F0EE0030385D18B88ACO1PR19MB5126namp_"

--_000_CO1PR19MB5126F486FF2F0EE0030385D18B88ACO1PR19MB5126namp_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

By default, syslog-ng saves statistics data every ten minutes. Nowadays the=
re are much better methods to monitor syslog-ng (hello Prometheus). However=
, there are people who use it as a kind of mark message.

Question: should we keep the 10 minutes default, or disable it completely?

It can be set using stats(freq());

Peter

Peter Czanik (CzP) <[email protected]>
Balabit (a OneIdentity company) / syslog-ng upstream
https://syslog-ng.com/community/
https://twitter.com/PCzanik


--_000_CO1PR19MB5126F486FF2F0EE0030385D18B88ACO1PR19MB5126namp_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body dir=3D"ltr">
<div>Hi,</div>
<div class=3D"elementToProof"><br>
</div>
<div class=3D"elementToProof">By default, syslog-ng saves statistics data e=
very ten minutes. Nowadays there are much better methods&nbsp;to monitor sy=
slog-ng (hello Prometheus). However, there are people who use it as a kind =
of mark message.</div>
<div class=3D"elementToProof"><br>
</div>
<div class=3D"elementToProof">Question: should we keep the 10 minutes defau=
lt, or disable it completely?</div>
<div class=3D"elementToProof"><br>
</div>
<div class=3D"elementToProof">It can be set using<span style=3D"font-family=
: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-=
serif; font-size: 12pt; color: rgb(0, 0, 0);">&nbsp;stats(freq());</span></=
div>
<div class=3D"elementToProof"><br>
</div>
<div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo=
nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c=
olor: rgb(0, 0, 0);">
Peter</div>
<div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo=
nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c=
olor: rgb(0, 0, 0);">
<br>
</div>
<div id=3D"Signature" class=3D"elementToProof">
<div style=3D"direction: ltr; font-family: Calibri, Arial, Helvetica, sans-=
serif; font-size: 12pt; color: rgb(0, 0, 0);">
Peter Czanik (CzP) &lt;[email protected]&gt;<br>
Balabit (a OneIdentity company) / syslog-ng upstream<br>
<a href=3D"https://syslog-ng.com/community/" target=3D"_blank">https://sysl=
og-ng.com/<wbr>community/</a><br>
<a href=3D"https://twitter.com/PCzanik" target=3D"_blank">https://twitter.c=
om/PCzanik</a></div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
</div>
</body>
</html>

--_000_CO1PR19MB5126F486FF2F0EE0030385D18B88ACO1PR19MB5126namp_--

--===============6957608620173871730==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq


--===============6957608620173871730==--