[prev in list] [next in list] [prev in thread] [next in thread] 

List:       syslog-ng
Subject:    Re: [syslog-ng] How to enable log file generation by row size or	Megabytes?
From:       "Attila Szakacs (aszakacs)" <Attila.Szakacs () oneidentity ! com>
Date:       2019-09-09 12:13:30
Message-ID: MN2PR19MB3229060623ED8DBC2C9C6E4C9EB70 () MN2PR19MB3229 ! namprd19 ! prod ! outlook ! com
[Download RAW message or body]

Hi William,

Although, you cannot rotate the generated files by number of rows, or by si=
ze, you can rotate them by any marco (e.g.: time).

Available macros:
https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edi=
tion/3.22/administration-guide/63#TOPIC-1209312

Configuring a file destination with templated path:
https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edi=
tion/3.22/administration-guide/92#TOPIC-1209427

Best regards,
Attila

________________________________
From: syslog-ng <syslog-ng-bounces@lists.balabit.hu> on behalf of William L=
uiz Ribeiro Vasconcelos Da Silva <wsilva_ericsson@timbrasil.com.br>
Sent: Saturday, September 7, 2019 9:36 PM
To: syslog-ng@lists.balabit.hu <syslog-ng@lists.balabit.hu>
Subject: [syslog-ng] How to enable log file generation by row size or Megab=
ytes?

CAUTION: This email originated from outside of the organization. Do not fol=
low guidance, click links, or open attachments unless you recognize the sen=
der and know the content is safe.

Good afternoon everyone!

Which parameters should be enabled in the "syslog-ng.conf" file, because I =
want the captured log files to be a maximum of 5Mb in size or 1500 lines.

Esta mensagem, incluindo seus anexos, pode conter informa=E7=F5es privilegi=
adas e/ou de car=E1ter confidencial, n=E3o podendo ser retransmitida sem au=
toriza=E7=E3o do remetente. Se voc=EA n=E3o =E9 o destinat=E1rio ou pessoa =
autorizada para receb=EA-la, informamos que o seu uso, divulga=E7=E3o, c=F3=
pia ou arquivamento s=E3o proibidos. Portanto, se voc=EA recebeu esta mensa=
gem por engano, por favor nos informe respondendo imediatamente a este e-ma=
il e delete o seu conte=FAdo.

This message, including its attachments, may contain privileged or confiden=
tial information, and it must not be fowarded without the express authoriza=
tion of the sender. If you are not the intended recipient, we hereby inform=
 you that the use, disclosure, copy or filing are forbidden. So, if you rec=
eived this message as a mistake, please inform us by answering this e-mail =
and deleting its contents

Questo messaggio, inclusi gli allegati, potrebbe contenere informazioni pri=
vilegiate e/o riservate, e non deve essere ritrasmesse senza l'autorizzazio=
ne del mittente. Se non siete il destinatario o la persona autorizzata a ri=
ceverlo, informiamo che il suo utilizzo, diffusione, copia o archiviazione =
sono proibite. Quindi, se avete ricevuto questo messaggio per errore, per c=
ortesia ci informi rispondendo immediatamente a questa email e cancelli il =
suo contenuto

[Attachment #3 (text/html)]

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} \
</style> </head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> Hi William,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> Although, you cannot \
rotate the generated files by number of rows, or by size, you can rotate them by any \
marco (e.g.: time).</div> <div style="font-family: Calibri, Arial, Helvetica, \
sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, \
255);"> <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> Available macros:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> <a \
href="https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.22/administration-guide/63#TOPIC-1209312" \
id="LPlnk420657" data-ogsc="" \
style="">https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.22/administration-guide/63#TOPIC-1209312</a><br>
 </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> Configuring a file \
destination with templated path:</div> <div style="font-family: Calibri, Arial, \
Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: \
rgb(255, 255, 255);"> <a \
href="https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.22/administration-guide/92#TOPIC-1209427" \
data-ogsc="" style="">https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.22/administration-guide/92#TOPIC-1209427</a><br>
 </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> Best regards,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> Attila</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> <br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" \
style="font-size:11pt" color="#000000"><b>From:</b> syslog-ng \
&lt;syslog-ng-bounces@lists.balabit.hu&gt; on behalf of William Luiz Ribeiro \
Vasconcelos Da Silva &lt;wsilva_ericsson@timbrasil.com.br&gt;<br> <b>Sent:</b> \
Saturday, September 7, 2019 9:36 PM<br> <b>To:</b> syslog-ng@lists.balabit.hu \
&lt;syslog-ng@lists.balabit.hu&gt;<br> <b>Subject:</b> [syslog-ng] How to enable log \
file generation by row size or Megabytes?</font> <div>&nbsp;</div>
</div>
<style type="text/css" style="display:none">
<!--
p
	{margin-top:0;
	margin-bottom:0}
-->
</style>
<div dir="ltr">
<div style="background-color:#FFEB9C; width:100%; border-style:solid; \
border-color:#9C6500; border-width:1pt; padding:2pt; font-size:10pt; \
line-height:12pt; font-family:'Calibri'; color:Black; text-align:left"> <span \
style="color:#9C6500; font-weight:bold">CAUTION:</span> This email originated from \
outside of the organization. Do not follow guidance, click links, or open attachments \
unless you recognize the sender and know the content is safe.</div> <br>
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> <span>Good afternoon everyone!<br>
</span>
<div><br>
</div>
<span>Which parameters should be enabled in the &quot;syslog-ng.conf&quot; file, \
because I want the captured log files to be a maximum of 5Mb in size or 1500 \
lines.</span><br> </div>
<br>
<font size="-2">Esta mensagem, incluindo seus anexos, pode conter informações \
privilegiadas e/ou de caráter confidencial, não podendo ser retransmitida sem \
autorização do remetente. Se você não é o destinatário ou pessoa autorizada para \
recebê-la, informamos  que o seu uso, divulgação, cópia ou arquivamento são \
proibidos. Portanto, se você recebeu esta mensagem por engano, por favor nos informe \
respondendo imediatamente a este e-mail e delete o seu conteúdo. <p>This message, \
including its attachments, may contain privileged or confidential information, and it \
must not be fowarded without the express authorization of the sender. If you are not \
the intended recipient, we hereby inform you that the use, disclosure,  copy or \
filing are forbidden. So, if you received this message as a mistake, please inform us \
by answering this e-mail and deleting its contents </p>
<p>Questo messaggio, inclusi gli allegati, potrebbe contenere informazioni \
privilegiate e/o riservate, e non deve essere ritrasmesse senza l'autorizzazione del \
mittente. Se non siete il destinatario o la persona autorizzata a riceverlo, \
informiamo che il suo  utilizzo, diffusione, copia o archiviazione sono proibite. \
Quindi, se avete ricevuto questo messaggio per errore, per cortesia ci informi \
rispondendo immediatamente a questa email e cancelli il suo contenuto </font></p>
</div>
</div>
</body>
</html>


[Attachment #4 (unknown)]

______________________________________________________________________________
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



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic