Re: Local sources seem not to be working

Alexandre Santos <[email protected]> Fri, 16 Sep 2022 13:37:40 +0000
Newsgroups gmane.comp.syslog-ng
Message-ID <CO6PR10MB560279751BD99FDB7A528372D0489@CO6PR10MB5602.namprd10.prod.outlook.com>
Hi Balazs,

Do you have any other idea of how to debug this?

From the last time I was able to reproduce the problem, I found the following:

New developments, on this.
After another test this time with no remote destinations configured, the issue happened again:
In attachment I am sending:
-              The stats in error condition: 42116.inerror.stats.txt, where 'src.journald;s_src#0;journal;a;stamp;1651142246'
-              The stats in error condition after some time: 42116.inerror.15m.stats.txt where 'src.journald;s_src#0;journal;a;stamp;1651142246'
-              The stats after recovering the system with reload: 42116.after.stats.txt
-              The syslog-ng configuration: 42116.no.remote.dest.syslog-ng.conf

It seems the 'src.journald;s_src#0;journal;a;stamp;1651142246'did not changed. Does this means that last read timestamp from journal did not changed?
Logs from the UDP source are still being written to the /var/log/... files.

Cheers,
Alex

From: syslog-ng <[email protected]> On Behalf Of Balazs Scheidler
Sent: 1 de julho de 2022 21:02
To: Syslog-ng users' and developers' mailing list <[email protected]>
Subject: Re: [syslog-ng] Local sources seem not to be working

This means that we are indeed polling the journal ourselves and not rely on journald to forward the logs to us.

If the error occurs, try to look at the syslog-ng statistic counters (syslog-ng-ctl stats) to see if your output queue is full. This could cause back pressure and reading to stop.

Also, enabling debug/trace messages of syslog-ng could be helpful. You can also do that via syslog-ng-ctl, no restart is needed. The trace output should be excluded from your normal log processing pipeline, as it can be quite overwhelming in volume.

I don't really have any other ideas at the moment. Still on vacation. :)

On Thu, Jun 30, 2022, 19:43 Alexandre Santos <[email protected]<mailto:[email protected]>> wrote:
Hi Balazs,

Thanks for the feedback!

It is definitely using journald, as you can see below.

When you say "Try to remove the syslog-ng persist file and check if reading the journal restarts.", this is to do when the system in the error condition, right?

Regards,
Alex

source s_src {

#Start Block source generator system
channel {
    source {
systemd-journal();

    }; # source
channel {
  channel {
    parser {

#Start Block parser generator app-parser

channel {
    junction {

channel { filter { tags('.app.doesnotexist'); }; flags(final); };    };
}
#End Block parser generator app-parser
;
    };
    flags(final);
  };
  channel { flags(final); };
};
}; # channel

#End Block source generator system
;
    internal();
    syslog(ip(19.88.4.17) transport("udp") port(514) keep-alive(no));
};

From: syslog-ng <[email protected]<mailto:[email protected]>> On Behalf Of Balazs Scheidler
Sent: 26 de junho de 2022 06:37
To: Syslog-ng users' and developers' mailing list <[email protected]<mailto:[email protected]>>
Subject: Re: [syslog-ng] Local sources seem not to be working

Hi,

I haven't seen anything like this. We are reading the journal files using libsystemd.

Try to remove the syslog-ng persist file and check if reading the journal restarts.

Also there's can be two ways of local messages getting to syslog-ng,

1) /dev/log forwarding
2) reading the journal files

The first one is actively done by journald. Which one syslog-ng uses is automatically detected by our system() source.

To see which one syslog-ng is trying to use, try to run it with --preprocess-into=some-file and check how system() source is expanded.

I am unable to check the source code at the moment, so this is all from the top-of-my-head, but I hope this already helps to troubleshoot the issue.

On Fri, Jun 24, 2022, 18:21 Alexandre Santos <[email protected]<mailto:[email protected]>> wrote:
Hi

Any news regarding this issue?

Making a recap of the findings:


  *   Using a Debian 10 buster with first release with 3.36.1;

  *   After some time "system()" source logs are not getting written to the destinations;
  *   The log messages from other sources, internal() and syslog(...) continue to work fine, being written to the destinations;
  *   One the things I noticed is that the socket to the journal seems to vanish during the error situation:

It seems that somehow syslog-ng in unable to read from linux journal.
Have you ever experienced this problem?
Do know what can be wrong with the system?


root@machine:~# lsof /run/log/journal/98101a328524447d88917bea845a8966/system*
COMMAND    PID USER   FD   TYPE DEVICE SIZE/OFF  NODE NAME
systemd-j 1723 root  mem    REG   0,19  8388608 31745 /run/log/journal/98101a328524447d88917bea845a8966/system.journal
systemd-j 1723 root  mem    REG   0,19  8388608 26165 /run/log/journal/98101a328524447d88917bea845a8966/system@3721b31246e54dc0baab1ac0f68c3f43-0000000000000001-000581d7e3fe20ba.journal<mailto:/run/log/journal/98101a328524447d88917bea845a8966/system@3721b31246e54dc0baab1ac0f68c3f43-0000000000000001-000581d7e3fe20ba.journal>
systemd-j 1723 root   16u   REG   0,19  8388608 26165 /run/log/journal/98101a328524447d88917bea845a8966/system@3721b31246e54dc0baab1ac0f68c3f43-0000000000000001-000581d7e3fe20ba.journal<mailto:/run/log/journal/98101a328524447d88917bea845a8966/system@3721b31246e54dc0baab1ac0f68c3f43-0000000000000001-000581d7e3fe20ba.journal>
systemd-j 1723 root   24u   REG   0,19  8388608 31745 /run/log/journal/98101a328524447d88917bea845a8966/system.journal
syslog-ng 3201 root  mem    REG   0,19  8388608 26165 /run/log/journal/98101a328524447d88917bea845a8966/system@3721b31246e54dc0baab1ac0f68c3f43-0000000000000001-000581d7e3fe20ba.journal<mailto:/run/log/journal/98101a328524447d88917bea845a8966/system@3721b31246e54dc0baab1ac0f68c3f43-0000000000000001-000581d7e3fe20ba.journal>
syslog-ng 3201 root  mem    REG   0,19  8388608 31745 /run/log/journal/98101a328524447d88917bea845a8966/system.journal
syslog-ng 3201 root   14r   REG   0,19  8388608 31745 /run/log/journal/98101a328524447d88917bea845a8966/system.journal
syslog-ng 3201 root   15r   REG   0,19  8388608 26165 /run/log/journal/98101a328524447d88917bea845a8966/system@3721b31246e54dc0baab1ac0f68c3f43-0000000000000001-000581d7e3fe20ba.journal<mailto:/run/log/journal/98101a328524447d88917bea845a8966/system@3721b31246e54dc0baab1ac0f68c3f43-0000000000000001-000581d7e3fe20ba.journal>
journalct 6861 root  mem    REG   0,19  8388608 26165 /run/log/journal/98101a328524447d88917bea845a8966/system@3721b31246e54dc0baab1ac0f68c3f43-0000000000000001-000581d7e3fe20ba.journal<mailto:/run/log/journal/98101a328524447d88917bea845a8966/system@3721b31246e54dc0baab1ac0f68c3f43-0000000000000001-000581d7e3fe20ba.journal>
journalct 6861 root  mem    REG   0,19  8388608 31745 /run/log/journal/98101a328524447d88917bea845a8966/system.journal
journalct 6861 root    5r   REG   0,19  8388608 31745 /run/log/journal/98101a328524447d88917bea845a8966/system.journal
journalct 6861 root    6r   REG   0,19  8388608 26165 /run/log/journal/98101a328524447d88917bea845a8966/system@3721b31246e54dc0baab1ac0f68c3f43-0000000000000001-000581d7e3fe20ba.journal<mailto:/run/log/journal/98101a328524447d88917bea845a8966/system@3721b31246e54dc0baab1ac0f68c3f43-0000000000000001-000581d7e3fe20ba.journal>
root@ machine:~# lsof /run/log/journal/98101a328524447d88917bea845a8966/system*
COMMAND    PID USER   FD   TYPE DEVICE SIZE/OFF  NODE NAME
systemd-j 1723 root  mem    REG   0,19  8388608 31745 /run/log/journal/98101a328524447d88917bea845a8966/system.journal
systemd-j 1723 root  mem    REG   0,19  8388608 26165 /run/log/journal/98101a328524447d88917bea845a8966/system@3721b31246e54dc0baab1ac0f68c3f43-0000000000000001-000581d7e3fe20ba.journal<mailto:/run/log/journal/98101a328524447d88917bea845a8966/system@3721b31246e54dc0baab1ac0f68c3f43-0000000000000001-000581d7e3fe20ba.journal>
systemd-j 1723 root   16u   REG   0,19  8388608 26165 /run/log/journal/98101a328524447d88917bea845a8966/system@3721b31246e54dc0baab1ac0f68c3f43-0000000000000001-000581d7e3fe20ba.journal<mailto:/run/log/journal/98101a328524447d88917bea845a8966/system@3721b31246e54dc0baab1ac0f68c3f43-0000000000000001-000581d7e3fe20ba.journal>
systemd-j 1723 root   24u   REG   0,19  8388608 31745 /run/log/journal/98101a328524447d88917bea845a8966/system.journal
journalct 6861 root  mem    REG   0,19  8388608 26165 /run/log/journal/98101a328524447d88917bea845a8966/system@3721b31246e54dc0baab1ac0f68c3f43-0000000000000001-000581d7e3fe20ba.journal<mailto:/run/log/journal/98101a328524447d88917bea845a8966/system@3721b31246e54dc0baab1ac0f68c3f43-0000000000000001-000581d7e3fe20ba.journal>
journalct 6861 root  mem    REG   0,19  8388608 31745 /run/log/journal/98101a328524447d88917bea845a8966/system.journal
journalct 6861 root    5r   REG   0,19  8388608 31745 /run/log/journal/98101a328524447d88917bea845a8966/system.journal
journalct 6861 root    6r   REG   0,19  8388608 26165 /run/log/journal/98101a328524447d88917bea845a8966/system@3721b31246e54dc0baab1ac0f68c3f43-0000000000000001-000581d7e3fe20ba.journal<mailto:/run/log/journal/98101a328524447d88917bea845a8966/system@3721b31246e54dc0baab1ac0f68c3f43-0000000000000001-000581d7e3fe20ba.journal>

Thanks in advance,
Alex

From: syslog-ng <[email protected]<mailto:[email protected]>> On Behalf Of Alexandre Santos
Sent: 19 de maio de 2022 09:25
To: Syslog-ng users' and developers' mailing list <[email protected]<mailto:[email protected]>>
Subject: Re: [syslog-ng] Local sources seem not to be working

Hi Szilard,

There is no filter:

source syslog_ng_src {
    internal();
};

destination d_localfile_syslog_ng {
    program("/opt/machine/local/bin/write_with_rotation.sh /var/log/syslog-ng-internal.log 10 10"
        flags(syslog-protocol)
        suppress(5)
        disk-buffer(
            mem-buf-size(2097152)
            disk-buf-size(4194304)
            reliable(yes)
            dir("/tmp")
        )
    );
};
log {
    source(syslog_ng_src);
    destination(d_localfile_syslog_ng);
    flags(flow-control);
};

Thanks and Regards,
Alex

From: syslog-ng <[email protected]<mailto:[email protected]>> On Behalf Of Szilard Parrag (sparrag)
Sent: 19 de maio de 2022 08:59
To: [email protected]<mailto:[email protected]>
Subject: Re: [syslog-ng] Local sources seem not to be working

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Hi Alex,

We've checked it too and syslog-ng does not release the file descriptor of journald even with flow-control enabled.

Also, your internal logs seem rather terse, maybe there is a filter which filters out the important parts. Could you please check it?

Szilard
______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.balabit.hu%2Fmailman%2Flistinfo%2Fsyslog-ng&data=05%7C01%7Casantos%40infinera.com%7C2ffd65290fa94948ab3008da5b9c9efc%7C285643de5f5b4b03a1530ae2dc8aaf77%7C1%7C1%7C637923025515816554%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=p6wf%2Bdk0xxwK%2FjNjHLPDnK75ASR9cNnKQrMKg2%2F4WP4%3D&reserved=0>
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng<https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.balabit.com%2Fsupport%2Fdocumentation%2F%3Fproduct%3Dsyslog-ng&data=05%7C01%7Casantos%40infinera.com%7C2ffd65290fa94948ab3008da5b9c9efc%7C285643de5f5b4b03a1530ae2dc8aaf77%7C1%7C1%7C637923025515816554%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=f4rDYxJk%2BPnY1HoaPciQBXk5MwC2EaCwe7yes1CxqiM%3D&reserved=0>
FAQ: http://www.balabit.com/wiki/syslog-ng-faq<https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.balabit.com%2Fwiki%2Fsyslog-ng-faq&data=05%7C01%7Casantos%40infinera.com%7C2ffd65290fa94948ab3008da5b9c9efc%7C285643de5f5b4b03a1530ae2dc8aaf77%7C1%7C1%7C637923025515816554%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=UPOtBeu3S2lcfnUxBEwxHoqmhBDZX%2FvJ5ruolgB2%2ByI%3D&reserved=0>
______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.balabit.hu%2Fmailman%2Flistinfo%2Fsyslog-ng&data=05%7C01%7Casantos%40infinera.com%7C2ffd65290fa94948ab3008da5b9c9efc%7C285643de5f5b4b03a1530ae2dc8aaf77%7C1%7C1%7C637923025515816554%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=p6wf%2Bdk0xxwK%2FjNjHLPDnK75ASR9cNnKQrMKg2%2F4WP4%3D&reserved=0>
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng<https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.balabit.com%2Fsupport%2Fdocumentation%2F%3Fproduct%3Dsyslog-ng&data=05%7C01%7Casantos%40infinera.com%7C2ffd65290fa94948ab3008da5b9c9efc%7C285643de5f5b4b03a1530ae2dc8aaf77%7C1%7C1%7C637923025515972761%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=9vBmZeKe65PzA6U%2FjRqmodu1VfYLeObj86sZhnscASU%3D&reserved=0>
FAQ: http://www.balabit.com/wiki/syslog-ng-faq<https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.balabit.com%2Fwiki%2Fsyslog-ng-faq&data=05%7C01%7Casantos%40infinera.com%7C2ffd65290fa94948ab3008da5b9c9efc%7C285643de5f5b4b03a1530ae2dc8aaf77%7C1%7C1%7C637923025515972761%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=9Mimn31FEJM1rIMS1F0sQBGZXxrGov5rjug2JsmXaKI%3D&reserved=0>

______________________________________________________________________________
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
42116.inerror.15m.stats.txt (text/plain, 16.1 KB)
root@xmm4-1-1:/home/shared# /usr/sbin/syslog-ng-ctl stats
SourceName;SourceId;SourceInstance;State;Type;Number
dst.program;d_localfile_security#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/security.log 10 10;a;truncated_bytes;0
dst.program;d_localfile_user#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/user.log 10 10;a;truncated_bytes;0
dst.program;d_localfile_user#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/user.log 10 10;a;dropped;0
dst.program;d_localfile_user#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/user.log 10 10;a;processed;0
dst.program;d_localfile_user#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/user.log 10 10;a;queued;0
dst.program;d_localfile_user#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/user.log 10 10;a;suppressed;0
dst.program;d_localfile_user#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/user.log 10 10;a;written;0
center;;queued;a;processed;90178
src.journald;s_src#0;journal;a;processed;85558
src.journald;s_src#0;journal;a;stamp;1651142246
dst.program;d_localfile_restconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/restconf-command.log 10 10;a;dropped;0
dst.program;d_localfile_restconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/restconf-command.log 10 10;a;processed;0
dst.program;d_localfile_restconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/restconf-command.log 10 10;a;queued;0
dst.program;d_localfile_restconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/restconf-command.log 10 10;a;suppressed;0
dst.program;d_localfile_restconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/restconf-command.log 10 10;a;written;0
destination;d_localfile_user;;a;processed;0
dst.program;d_localfile_user#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/user.log 10 10;a;truncated_count;0
dst.program;d_localfile_restconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/restconf-command.log 10 10;a;truncated_bytes;0
destination;d_localfile_messages;;a;processed;772
dst.program;d_localfile_messages#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/messages.log 10 10;a;truncated_count;0
dst.program;d_localfile_restconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/restconf-command.log 10 10;a;truncated_count;0
global;internal_source;;a;dropped;0
global;internal_source;;a;queued;0
dst.program;d_localfile_apps#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/apps.log 10 10;a;truncated_bytes;0
dst.program;d_localfile_apps#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/apps.log 10 10;a;dropped;0
dst.program;d_localfile_apps#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/apps.log 10 10;a;processed;76027
dst.program;d_localfile_apps#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/apps.log 10 10;a;queued;0
dst.program;d_localfile_apps#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/apps.log 10 10;a;suppressed;947
dst.program;d_localfile_apps#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/apps.log 10 10;a;written;76159
source;s_src;;a;processed;90404
dst.program;d_localfile_messages#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/messages.log 10 10;a;truncated_bytes;0
dst.program;d_localfile_kernel#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/kernel.log 10 10;a;dropped;0
dst.program;d_localfile_kernel#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/kernel.log 10 10;a;processed;69
dst.program;d_localfile_kernel#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/kernel.log 10 10;a;queued;0
dst.program;d_localfile_kernel#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/kernel.log 10 10;a;suppressed;5
dst.program;d_localfile_kernel#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/kernel.log 10 10;a;written;72
dst.program;d_localfile_kernel#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/kernel.log 10 10;a;truncated_count;0
dst.program;d_localfile_tl1-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/tl1-command.log 10 10;a;dropped;0
dst.program;d_localfile_tl1-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/tl1-command.log 10 10;a;processed;0
dst.program;d_localfile_tl1-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/tl1-command.log 10 10;a;queued;0
dst.program;d_localfile_tl1-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/tl1-command.log 10 10;a;suppressed;0
dst.program;d_localfile_tl1-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/tl1-command.log 10 10;a;written;0
dst.program;d_localfile_kernel#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/kernel.log 10 10;a;truncated_bytes;0
dst.program;d_localfile_shell-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/shell-command.log 10 10;a;truncated_bytes;0
dst.program;d_localfile_shell-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/shell-command.log 10 10;a;dropped;0
dst.program;d_localfile_shell-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/shell-command.log 10 10;a;processed;1
dst.program;d_localfile_shell-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/shell-command.log 10 10;a;queued;0
dst.program;d_localfile_shell-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/shell-command.log 10 10;a;suppressed;0
dst.program;d_localfile_shell-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/shell-command.log 10 10;a;written;1
global;scratch_buffers_bytes;;a;queued;256
dst.program;d_localfile_shell-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/shell-command.log 10 10;a;truncated_count;0
center;;received;a;processed;90404
dst.program;d_localfile_apps#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/apps.log 10 10;a;truncated_count;0
dst.program;d_localfile_messages#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/messages.log 10 10;a;dropped;0
dst.program;d_localfile_messages#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/messages.log 10 10;a;processed;720
dst.program;d_localfile_messages#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/messages.log 10 10;a;queued;0
dst.program;d_localfile_messages#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/messages.log 10 10;a;suppressed;52
dst.program;d_localfile_messages#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/messages.log 10 10;a;written;765
dst.program;d_localfile_ztp#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/ztp.log 10 10;a;dropped;0
dst.program;d_localfile_ztp#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/ztp.log 10 10;a;processed;70
dst.program;d_localfile_ztp#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/ztp.log 10 10;a;queued;0
dst.program;d_localfile_ztp#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/ztp.log 10 10;a;suppressed;0
dst.program;d_localfile_ztp#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/ztp.log 10 10;a;written;70
dst.program;d_localfile_ztp#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/ztp.log 10 10;a;truncated_count;0
destination;d_localfile_kernel;;a;processed;74
dst.program;d_localfile_tl1-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/tl1-command.log 10 10;a;truncated_count;0
destination;d_localfile_shell-command;;a;processed;1
dst.program;d_localfile_ztp#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/ztp.log 10 10;a;truncated_bytes;0
destination;d_localfile_linecard;;a;processed;4807
dst.program;d_localfile_event#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/event.log 10 10;a;truncated_bytes;0
destination;d_localfile_configuration;;a;processed;0
dst.program;d_localfile_event#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/event.log 10 10;a;dropped;0
dst.program;d_localfile_event#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/event.log 10 10;a;processed;5149
dst.program;d_localfile_event#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/event.log 10 10;a;queued;0
dst.program;d_localfile_event#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/event.log 10 10;a;suppressed;2287
dst.program;d_localfile_event#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/event.log 10 10;a;written;6221
global;msg_clones;;a;processed;0
dst.program;d_localfile_event#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/event.log 10 10;a;truncated_count;0
dst.program;d_localfile_linecard#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/linecard.log 10 10;a;dropped;0
dst.program;d_localfile_linecard#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/linecard.log 10 10;a;processed;4417
dst.program;d_localfile_linecard#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/linecard.log 10 10;a;queued;0
dst.program;d_localfile_linecard#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/linecard.log 10 10;a;suppressed;390
dst.program;d_localfile_linecard#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/linecard.log 10 10;a;written;4549
dst.program;d_localfile_linecard#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/linecard.log 10 10;a;truncated_count;0
dst.program;d_localfile_linecard#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/linecard.log 10 10;a;truncated_bytes;0
destination;d_localfile_netconf-command;;a;processed;0
global;scratch_buffers_count;;a;queued;1
dst.program;d_localfile_tl1-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/tl1-command.log 10 10;a;truncated_bytes;0
destination;d_localfile_tl1-command;;a;processed;0
global;sdata_updates;;a;processed;0
destination;d_localfile_grpc-command;;a;processed;0
destination;d_localfile_cli-command;;a;processed;0
destination;d_localfile_event;;a;processed;7436
global;payload_reallocs;;a;processed;248737
dst.program;d_localfile_grpc-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/grpc-command.log 10 10;a;dropped;0
dst.program;d_localfile_grpc-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/grpc-command.log 10 10;a;processed;0
dst.program;d_localfile_grpc-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/grpc-command.log 10 10;a;queued;0
dst.program;d_localfile_grpc-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/grpc-command.log 10 10;a;suppressed;0
dst.program;d_localfile_grpc-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/grpc-command.log 10 10;a;written;0
dst.program;d_localfile_grpc-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/grpc-command.log 10 10;a;truncated_count;0
dst.program;d_localfile_grpc-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/grpc-command.log 10 10;a;truncated_bytes;0
destination;d_localfile_sysinfo;;a;processed;0
destination;d_localfile_alarm;;a;processed;0
dst.program;d_localfile_sysinfo#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/sysinfo.log 10 10;a;dropped;0
dst.program;d_localfile_sysinfo#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/sysinfo.log 10 10;a;processed;0
dst.program;d_localfile_sysinfo#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/sysinfo.log 10 10;a;queued;0
dst.program;d_localfile_sysinfo#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/sysinfo.log 10 10;a;suppressed;0
dst.program;d_localfile_sysinfo#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/sysinfo.log 10 10;a;written;0
dst.program;d_localfile_sysinfo#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/sysinfo.log 10 10;a;truncated_count;0
dst.program;d_localfile_sysinfo#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/sysinfo.log 10 10;a;truncated_bytes;0
dst.program;d_localfile_netconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/netconf-command.log 10 10;a;dropped;0
dst.program;d_localfile_netconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/netconf-command.log 10 10;a;processed;0
dst.program;d_localfile_netconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/netconf-command.log 10 10;a;queued;0
dst.program;d_localfile_netconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/netconf-command.log 10 10;a;suppressed;0
dst.program;d_localfile_netconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/netconf-command.log 10 10;a;written;0
dst.program;d_localfile_netconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/netconf-command.log 10 10;a;truncated_count;0
dst.program;d_localfile_configuration#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/configuration.log 10 10;a;dropped;0
dst.program;d_localfile_configuration#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/configuration.log 10 10;a;processed;0
dst.program;d_localfile_configuration#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/configuration.log 10 10;a;queued;0
dst.program;d_localfile_configuration#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/configuration.log 10 10;a;suppressed;0
dst.program;d_localfile_configuration#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/configuration.log 10 10;a;written;0
dst.program;d_localfile_configuration#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/configuration.log 10 10;a;truncated_count;0
dst.program;d_localfile_configuration#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/configuration.log 10 10;a;truncated_bytes;0
dst.program;d_localfile_netconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/netconf-command.log 10 10;a;truncated_bytes;0
destination;d_localfile_security;;a;processed;44
destination;d_localfile_restconf-command;;a;processed;0
destination;d_localfile_apps;;a;processed;76974
global;internal_queue_length;;a;processed;0
src.internal;s_src#1;;a;processed;39
src.internal;s_src#1;;a;stamp;1651142244
dst.program;d_localfile_alarm#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/alarm.log 10 10;a;truncated_bytes;0
dst.program;d_localfile_alarm#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/alarm.log 10 10;a;dropped;0
dst.program;d_localfile_alarm#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/alarm.log 10 10;a;processed;0
dst.program;d_localfile_alarm#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/alarm.log 10 10;a;queued;0
dst.program;d_localfile_alarm#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/alarm.log 10 10;a;suppressed;0
dst.program;d_localfile_alarm#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/alarm.log 10 10;a;written;0
dst.program;d_localfile_alarm#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/alarm.log 10 10;a;truncated_count;0
dst.program;d_localfile_cli-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/cli-command.log 10 10;a;dropped;0
dst.program;d_localfile_cli-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/cli-command.log 10 10;a;processed;0
dst.program;d_localfile_cli-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/cli-command.log 10 10;a;queued;0
dst.program;d_localfile_cli-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/cli-command.log 10 10;a;suppressed;0
dst.program;d_localfile_cli-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/cli-command.log 10 10;a;written;0
dst.program;d_localfile_cli-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/cli-command.log 10 10;a;truncated_count;0
destination;d_localfile_ztp;;a;processed;70
dst.program;d_localfile_cli-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/cli-command.log 10 10;a;truncated_bytes;0
dst.program;d_localfile_security#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/security.log 10 10;a;dropped;0
dst.program;d_localfile_security#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/security.log 10 10;a;processed;44
dst.program;d_localfile_security#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/security.log 10 10;a;queued;0
dst.program;d_localfile_security#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/security.log 10 10;a;suppressed;0
dst.program;d_localfile_security#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/security.log 10 10;a;written;44
dst.program;d_localfile_security#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/security.log 10 10;a;truncated_count;0
42116.inerror.stats.txt (text/plain, 16.1 KB)
root@xmm4-1-1:/home/shared# /usr/sbin/syslog-ng-ctl stats
SourceName;SourceId;SourceInstance;State;Type;Number
dst.program;d_localfile_security#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/security.log 10 10;a;truncated_bytes;0
dst.program;d_localfile_user#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/user.log 10 10;a;truncated_bytes;0
dst.program;d_localfile_user#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/user.log 10 10;a;dropped;0
dst.program;d_localfile_user#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/user.log 10 10;a;processed;0
dst.program;d_localfile_user#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/user.log 10 10;a;queued;0
dst.program;d_localfile_user#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/user.log 10 10;a;suppressed;0
dst.program;d_localfile_user#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/user.log 10 10;a;written;0
center;;queued;a;processed;90147
src.journald;s_src#0;journal;a;processed;85558
src.journald;s_src#0;journal;a;stamp;1651142246
dst.program;d_localfile_restconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/restconf-command.log 10 10;a;dropped;0
dst.program;d_localfile_restconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/restconf-command.log 10 10;a;processed;0
dst.program;d_localfile_restconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/restconf-command.log 10 10;a;queued;0
dst.program;d_localfile_restconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/restconf-command.log 10 10;a;suppressed;0
dst.program;d_localfile_restconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/restconf-command.log 10 10;a;written;0
destination;d_localfile_user;;a;processed;0
dst.program;d_localfile_user#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/user.log 10 10;a;truncated_count;0
dst.program;d_localfile_restconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/restconf-command.log 10 10;a;truncated_bytes;0
destination;d_localfile_messages;;a;processed;772
dst.program;d_localfile_messages#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/messages.log 10 10;a;truncated_count;0
dst.program;d_localfile_restconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/restconf-command.log 10 10;a;truncated_count;0
global;internal_source;;a;dropped;0
global;internal_source;;a;queued;0
dst.program;d_localfile_apps#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/apps.log 10 10;a;truncated_bytes;0
dst.program;d_localfile_apps#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/apps.log 10 10;a;dropped;0
dst.program;d_localfile_apps#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/apps.log 10 10;a;processed;76027
dst.program;d_localfile_apps#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/apps.log 10 10;a;queued;0
dst.program;d_localfile_apps#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/apps.log 10 10;a;suppressed;947
dst.program;d_localfile_apps#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/apps.log 10 10;a;written;76159
source;s_src;;a;processed;90373
dst.program;d_localfile_messages#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/messages.log 10 10;a;truncated_bytes;0
dst.program;d_localfile_kernel#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/kernel.log 10 10;a;dropped;0
dst.program;d_localfile_kernel#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/kernel.log 10 10;a;processed;69
dst.program;d_localfile_kernel#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/kernel.log 10 10;a;queued;0
dst.program;d_localfile_kernel#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/kernel.log 10 10;a;suppressed;5
dst.program;d_localfile_kernel#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/kernel.log 10 10;a;written;72
dst.program;d_localfile_kernel#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/kernel.log 10 10;a;truncated_count;0
dst.program;d_localfile_tl1-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/tl1-command.log 10 10;a;dropped;0
dst.program;d_localfile_tl1-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/tl1-command.log 10 10;a;processed;0
dst.program;d_localfile_tl1-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/tl1-command.log 10 10;a;queued;0
dst.program;d_localfile_tl1-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/tl1-command.log 10 10;a;suppressed;0
dst.program;d_localfile_tl1-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/tl1-command.log 10 10;a;written;0
dst.program;d_localfile_kernel#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/kernel.log 10 10;a;truncated_bytes;0
dst.program;d_localfile_shell-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/shell-command.log 10 10;a;truncated_bytes;0
dst.program;d_localfile_shell-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/shell-command.log 10 10;a;dropped;0
dst.program;d_localfile_shell-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/shell-command.log 10 10;a;processed;1
dst.program;d_localfile_shell-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/shell-command.log 10 10;a;queued;0
dst.program;d_localfile_shell-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/shell-command.log 10 10;a;suppressed;0
dst.program;d_localfile_shell-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/shell-command.log 10 10;a;written;1
global;scratch_buffers_bytes;;a;queued;256
dst.program;d_localfile_shell-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/shell-command.log 10 10;a;truncated_count;0
center;;received;a;processed;90373
dst.program;d_localfile_apps#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/apps.log 10 10;a;truncated_count;0
dst.program;d_localfile_messages#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/messages.log 10 10;a;dropped;0
dst.program;d_localfile_messages#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/messages.log 10 10;a;processed;720
dst.program;d_localfile_messages#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/messages.log 10 10;a;queued;0
dst.program;d_localfile_messages#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/messages.log 10 10;a;suppressed;52
dst.program;d_localfile_messages#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/messages.log 10 10;a;written;765
dst.program;d_localfile_ztp#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/ztp.log 10 10;a;dropped;0
dst.program;d_localfile_ztp#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/ztp.log 10 10;a;processed;70
dst.program;d_localfile_ztp#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/ztp.log 10 10;a;queued;0
dst.program;d_localfile_ztp#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/ztp.log 10 10;a;suppressed;0
dst.program;d_localfile_ztp#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/ztp.log 10 10;a;written;70
dst.program;d_localfile_ztp#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/ztp.log 10 10;a;truncated_count;0
destination;d_localfile_kernel;;a;processed;74
dst.program;d_localfile_tl1-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/tl1-command.log 10 10;a;truncated_count;0
destination;d_localfile_shell-command;;a;processed;1
dst.program;d_localfile_ztp#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/ztp.log 10 10;a;truncated_bytes;0
destination;d_localfile_linecard;;a;processed;4776
dst.program;d_localfile_event#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/event.log 10 10;a;truncated_bytes;0
destination;d_localfile_configuration;;a;processed;0
dst.program;d_localfile_event#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/event.log 10 10;a;dropped;0
dst.program;d_localfile_event#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/event.log 10 10;a;processed;5149
dst.program;d_localfile_event#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/event.log 10 10;a;queued;0
dst.program;d_localfile_event#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/event.log 10 10;a;suppressed;2287
dst.program;d_localfile_event#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/event.log 10 10;a;written;6221
global;msg_clones;;a;processed;0
dst.program;d_localfile_event#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/event.log 10 10;a;truncated_count;0
dst.program;d_localfile_linecard#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/linecard.log 10 10;a;dropped;0
dst.program;d_localfile_linecard#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/linecard.log 10 10;a;processed;4386
dst.program;d_localfile_linecard#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/linecard.log 10 10;a;queued;0
dst.program;d_localfile_linecard#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/linecard.log 10 10;a;suppressed;390
dst.program;d_localfile_linecard#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/linecard.log 10 10;a;written;4518
dst.program;d_localfile_linecard#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/linecard.log 10 10;a;truncated_count;0
dst.program;d_localfile_linecard#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/linecard.log 10 10;a;truncated_bytes;0
destination;d_localfile_netconf-command;;a;processed;0
global;scratch_buffers_count;;a;queued;1
dst.program;d_localfile_tl1-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/tl1-command.log 10 10;a;truncated_bytes;0
destination;d_localfile_tl1-command;;a;processed;0
global;sdata_updates;;a;processed;0
destination;d_localfile_grpc-command;;a;processed;0
destination;d_localfile_cli-command;;a;processed;0
destination;d_localfile_event;;a;processed;7436
global;payload_reallocs;;a;processed;248737
dst.program;d_localfile_grpc-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/grpc-command.log 10 10;a;dropped;0
dst.program;d_localfile_grpc-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/grpc-command.log 10 10;a;processed;0
dst.program;d_localfile_grpc-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/grpc-command.log 10 10;a;queued;0
dst.program;d_localfile_grpc-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/grpc-command.log 10 10;a;suppressed;0
dst.program;d_localfile_grpc-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/grpc-command.log 10 10;a;written;0
dst.program;d_localfile_grpc-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/grpc-command.log 10 10;a;truncated_count;0
dst.program;d_localfile_grpc-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/grpc-command.log 10 10;a;truncated_bytes;0
destination;d_localfile_sysinfo;;a;processed;0
destination;d_localfile_alarm;;a;processed;0
dst.program;d_localfile_sysinfo#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/sysinfo.log 10 10;a;dropped;0
dst.program;d_localfile_sysinfo#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/sysinfo.log 10 10;a;processed;0
dst.program;d_localfile_sysinfo#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/sysinfo.log 10 10;a;queued;0
dst.program;d_localfile_sysinfo#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/sysinfo.log 10 10;a;suppressed;0
dst.program;d_localfile_sysinfo#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/sysinfo.log 10 10;a;written;0
dst.program;d_localfile_sysinfo#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/sysinfo.log 10 10;a;truncated_count;0
dst.program;d_localfile_sysinfo#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/sysinfo.log 10 10;a;truncated_bytes;0
dst.program;d_localfile_netconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/netconf-command.log 10 10;a;dropped;0
dst.program;d_localfile_netconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/netconf-command.log 10 10;a;processed;0
dst.program;d_localfile_netconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/netconf-command.log 10 10;a;queued;0
dst.program;d_localfile_netconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/netconf-command.log 10 10;a;suppressed;0
dst.program;d_localfile_netconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/netconf-command.log 10 10;a;written;0
dst.program;d_localfile_netconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/netconf-command.log 10 10;a;truncated_count;0
dst.program;d_localfile_configuration#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/configuration.log 10 10;a;dropped;0
dst.program;d_localfile_configuration#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/configuration.log 10 10;a;processed;0
dst.program;d_localfile_configuration#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/configuration.log 10 10;a;queued;0
dst.program;d_localfile_configuration#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/configuration.log 10 10;a;suppressed;0
dst.program;d_localfile_configuration#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/configuration.log 10 10;a;written;0
dst.program;d_localfile_configuration#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/configuration.log 10 10;a;truncated_count;0
dst.program;d_localfile_configuration#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/configuration.log 10 10;a;truncated_bytes;0
dst.program;d_localfile_netconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/netconf-command.log 10 10;a;truncated_bytes;0
destination;d_localfile_security;;a;processed;44
destination;d_localfile_restconf-command;;a;processed;0
destination;d_localfile_apps;;a;processed;76974
global;internal_queue_length;;a;processed;0
src.internal;s_src#1;;a;processed;39
src.internal;s_src#1;;a;stamp;1651142244
dst.program;d_localfile_alarm#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/alarm.log 10 10;a;truncated_bytes;0
dst.program;d_localfile_alarm#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/alarm.log 10 10;a;dropped;0
dst.program;d_localfile_alarm#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/alarm.log 10 10;a;processed;0
dst.program;d_localfile_alarm#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/alarm.log 10 10;a;queued;0
dst.program;d_localfile_alarm#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/alarm.log 10 10;a;suppressed;0
dst.program;d_localfile_alarm#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/alarm.log 10 10;a;written;0
dst.program;d_localfile_alarm#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/alarm.log 10 10;a;truncated_count;0
dst.program;d_localfile_cli-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/cli-command.log 10 10;a;dropped;0
dst.program;d_localfile_cli-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/cli-command.log 10 10;a;processed;0
dst.program;d_localfile_cli-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/cli-command.log 10 10;a;queued;0
dst.program;d_localfile_cli-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/cli-command.log 10 10;a;suppressed;0
dst.program;d_localfile_cli-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/cli-command.log 10 10;a;written;0
dst.program;d_localfile_cli-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/cli-command.log 10 10;a;truncated_count;0
destination;d_localfile_ztp;;a;processed;70
dst.program;d_localfile_cli-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/cli-command.log 10 10;a;truncated_bytes;0
dst.program;d_localfile_security#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/security.log 10 10;a;dropped;0
dst.program;d_localfile_security#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/security.log 10 10;a;processed;44
dst.program;d_localfile_security#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/security.log 10 10;a;queued;0
dst.program;d_localfile_security#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/security.log 10 10;a;suppressed;0
dst.program;d_localfile_security#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/security.log 10 10;a;written;44
dst.program;d_localfile_security#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/security.log 10 10;a;truncated_count;0
42116.no.remote.dest.syslog-ng.conf (application/octet-stream, 14 KB)
@version: 3.32

# First, set some global options.
options {
    chain_hostnames(off);
    flush_lines(0);
    use_dns(no);
    use_fqdn(no);
    owner("root");
    group("root");
    perm(0644);
    stats_freq(0);
    bad_hostname("^gconfd$");
    ts-format("iso");
    time_zone("UTC");
    mark-freq(0);
    frac-digits(3);
    keep-hostname(yes);
};

# common block end


source s_src {
    system();
    internal();
    syslog(ip(10.20.30.40) transport("udp") port(514) keep-alive(no));
};

rewrite r_host { set("MACHINE-${HOST}", value("HOST")); };

# localFile: apps
destination d_localfile_apps {
    program("/opt/machine/local/bin/write_with_rotation.sh /var/log/apps.log 10 10"
        flags(syslog-protocol)
        suppress(5)
        disk-buffer(
            mem-buf-size(2097152)
            disk-buf-size(4194304)
            reliable(yes)
            dir("/tmp")
        )
    );
};
filter f_localfile_apps_local7 {
    facility(local7) and level(info .. emerg);
};
filter f_localfile_apps {
    filter(f_localfile_apps_local7); };
log {
    source(s_src);
    filter(f_localfile_apps);
    destination(d_localfile_apps);
    flags(flow-control);
};
# end of localFile: apps

# localFile: kernel
destination d_localfile_kernel {
    program("/opt/machine/local/bin/write_with_rotation.sh /var/log/kernel.log 10 10"
        flags(syslog-protocol)
        suppress(5)
        disk-buffer(
            mem-buf-size(2097152)
            disk-buf-size(4194304)
            reliable(yes)
            dir("/tmp")
        )
    );
};
filter f_localfile_kernel_kern {
    facility(kern) and level(info .. emerg);
};
filter f_localfile_kernel {
    filter(f_localfile_kernel_kern); };
log {
    source(s_src);
    filter(f_localfile_kernel);
    destination(d_localfile_kernel);
    flags(flow-control);
};
# end of localFile: kernel

# localFile: messages
destination d_localfile_messages {
    program("/opt/machine/local/bin/write_with_rotation.sh /var/log/messages.log 10 10"
        flags(syslog-protocol)
        suppress(5)
        disk-buffer(
            mem-buf-size(2097152)
            disk-buf-size(4194304)
            reliable(yes)
            dir("/tmp")
        )
    );
};
filter f_localfile_messages_mail {
    facility(mail) and level(info .. emerg);
};
filter f_localfile_messages_daemon {
    facility(daemon) and level(info .. emerg);
};
filter f_localfile_messages_syslog {
    facility(syslog) and level(info .. emerg);
};
filter f_localfile_messages_lpr {
    facility(lpr) and level(info .. emerg);
};
filter f_localfile_messages_uucp {
    facility(uucp) and level(info .. emerg);
};
filter f_localfile_messages_cron {
    facility(cron) and level(info .. emerg);
};
filter f_localfile_messages_ftp {
    facility(ftp) and level(info .. emerg);
};
filter f_localfile_messages_ntp {
    facility(ntp) and level(info .. emerg);
};
filter f_localfile_messages_security {
    facility(security) and level(info .. emerg);
};
filter f_localfile_messages_console {
    facility(console) and level(info .. emerg);
};
filter f_localfile_messages_solaris-cron {
    facility(solaris-cron) and level(info .. emerg);
};
filter f_localfile_messages {
    filter(f_localfile_messages_mail) or filter(f_localfile_messages_daemon) or filter(f_localfile_messages_syslog) or filter(f_localfile_messages_lpr) or filter(f_localfile_messages_uucp) or filter(f_localfile_messages_cron) or filter(f_localfile_messages_ftp) or filter(f_localfile_messages_ntp) or filter(f_localfile_messages_security) or filter(f_localfile_messages_console) or filter(f_localfile_messages_solaris-cron); };
log {
    source(s_src);
    filter(f_localfile_messages);
    destination(d_localfile_messages);
    flags(flow-control);
};
# end of localFile: messages

# localFile: security
destination d_localfile_security {
    program("/opt/machine/local/bin/write_with_rotation.sh /var/log/security.log 10 10"
        flags(syslog-protocol)
        suppress(5)
        disk-buffer(
            mem-buf-size(2097152)
            disk-buf-size(4194304)
            reliable(yes)
            dir("/tmp")
        )
    );
};
filter f_localfile_security_auth {
    facility(auth) and level(info .. emerg);
};
filter f_localfile_security_authpriv {
    facility(authpriv) and level(info .. emerg);
};
filter f_localfile_security {
    filter(f_localfile_security_auth) or filter(f_localfile_security_authpriv); };
log {
    source(s_src);
    filter(f_localfile_security);
    destination(d_localfile_security);
    flags(flow-control);
};
# end of localFile: security

# localFile: user
destination d_localfile_user {
    program("/opt/machine/local/bin/write_with_rotation.sh /var/log/user.log 10 10"
        flags(syslog-protocol)
        suppress(5)
        disk-buffer(
            mem-buf-size(2097152)
            disk-buf-size(4194304)
            reliable(yes)
            dir("/tmp")
        )
    );
};
filter f_localfile_user_user {
    facility(user) and level(info .. emerg);
};
filter f_localfile_user {
    filter(f_localfile_user_user); };
log {
    source(s_src);
    filter(f_localfile_user);
    destination(d_localfile_user);
    flags(flow-control);
};
# end of localFile: user

# localFile: alarm
destination d_localfile_alarm {
    program("/opt/machine/local/bin/write_with_rotation.sh /var/log/alarm.log 10 10"
        flags(syslog-protocol)
        suppress(5)
        disk-buffer(
            mem-buf-size(2097152)
            disk-buf-size(4194304)
            reliable(yes)
            dir("/tmp")
        )
    );
};
filter f_localfile_alarm_local1 {
    facility(local1) and level(info .. emerg);
};
filter f_localfile_alarm {
    filter(f_localfile_alarm_local1); };
log {
    source(s_src);
    filter(f_localfile_alarm);
    destination(d_localfile_alarm);
    flags(flow-control);
};
# end of localFile: alarm

# localFile: cli-command
destination d_localfile_cli-command {
    program("/opt/machine/local/bin/write_with_rotation.sh /var/log/cli-command.log 10 10"
        flags(syslog-protocol)
        suppress(5)
        disk-buffer(
            mem-buf-size(2097152)
            disk-buf-size(4194304)
            reliable(yes)
            dir("/tmp")
        )
    );
};
filter f_localfile_cli-command_match {
    match("<CLI>" value("MESSAGE"));
};
filter f_localfile_cli-command_local3 {
    facility(local3) and level(info .. emerg) and filter(f_localfile_cli-command_match);
};
filter f_localfile_cli-command {
    filter(f_localfile_cli-command_local3); };
log {
    source(s_src);
    filter(f_localfile_cli-command);
    destination(d_localfile_cli-command);
    flags(flow-control);
};
# end of localFile: cli-command

# localFile: configuration
destination d_localfile_configuration {
    program("/opt/machine/local/bin/write_with_rotation.sh /var/log/configuration.log 10 10"
        flags(syslog-protocol)
        suppress(5)
        disk-buffer(
            mem-buf-size(2097152)
            disk-buf-size(4194304)
            reliable(yes)
            dir("/tmp")
        )
    );
};
filter f_localfile_configuration_local2 {
    facility(local2) and level(info .. emerg);
};
filter f_localfile_configuration {
    filter(f_localfile_configuration_local2); };
log {
    source(s_src);
    filter(f_localfile_configuration);
    destination(d_localfile_configuration);
    flags(flow-control);
};
# end of localFile: configuration

# localFile: event
destination d_localfile_event {
    program("/opt/machine/local/bin/write_with_rotation.sh /var/log/event.log 10 10"
        flags(syslog-protocol)
        suppress(5)
        disk-buffer(
            mem-buf-size(2097152)
            disk-buf-size(4194304)
            reliable(yes)
            dir("/tmp")
        )
    );
};
filter f_localfile_event_local6 {
    facility(local6) and level(info .. emerg);
};
filter f_localfile_event {
    filter(f_localfile_event_local6); };
log {
    source(s_src);
    filter(f_localfile_event);
    destination(d_localfile_event);
    flags(flow-control);
};
# end of localFile: event

# localFile: grpc-command
destination d_localfile_grpc-command {
    program("/opt/machine/local/bin/write_with_rotation.sh /var/log/grpc-command.log 10 10"
        flags(syslog-protocol)
        suppress(5)
        disk-buffer(
            mem-buf-size(2097152)
            disk-buf-size(4194304)
            reliable(yes)
            dir("/tmp")
        )
    );
};
filter f_localfile_grpc-command_match {
    match("<GRPC>" value("MESSAGE"));
};
filter f_localfile_grpc-command_local3 {
    facility(local3) and level(info .. emerg) and filter(f_localfile_grpc-command_match);
};
filter f_localfile_grpc-command {
    filter(f_localfile_grpc-command_local3); };
log {
    source(s_src);
    filter(f_localfile_grpc-command);
    destination(d_localfile_grpc-command);
    flags(flow-control);
};
# end of localFile: grpc-command

# localFile: linecard
destination d_localfile_linecard {
    program("/opt/machine/local/bin/write_with_rotation.sh /var/log/linecard.log 10 10"
        flags(syslog-protocol)
        suppress(5)
        disk-buffer(
            mem-buf-size(2097152)
            disk-buf-size(4194304)
            reliable(yes)
            dir("/tmp")
        )
    );
};
filter f_localfile_linecard_local4 {
    facility(local4) and level(err .. emerg);
};
filter f_localfile_linecard {
    filter(f_localfile_linecard_local4); };
log {
    source(s_src);
    filter(f_localfile_linecard);
    destination(d_localfile_linecard);
    flags(flow-control);
};
# end of localFile: linecard

# localFile: netconf-command
destination d_localfile_netconf-command {
    program("/opt/machine/local/bin/write_with_rotation.sh /var/log/netconf-command.log 10 10"
        flags(syslog-protocol)
        suppress(5)
        disk-buffer(
            mem-buf-size(2097152)
            disk-buf-size(4194304)
            reliable(yes)
            dir("/tmp")
        )
    );
};
filter f_localfile_netconf-command_match {
    match("<NETCONF>" value("MESSAGE"));
};
filter f_localfile_netconf-command_local3 {
    facility(local3) and level(info .. emerg) and filter(f_localfile_netconf-command_match);
};
filter f_localfile_netconf-command {
    filter(f_localfile_netconf-command_local3); };
log {
    source(s_src);
    filter(f_localfile_netconf-command);
    destination(d_localfile_netconf-command);
    flags(flow-control);
};
# end of localFile: netconf-command

# localFile: restconf-command
destination d_localfile_restconf-command {
    program("/opt/machine/local/bin/write_with_rotation.sh /var/log/restconf-command.log 10 10"
        flags(syslog-protocol)
        suppress(5)
        disk-buffer(
            mem-buf-size(2097152)
            disk-buf-size(4194304)
            reliable(yes)
            dir("/tmp")
        )
    );
};
filter f_localfile_restconf-command_match {
    match("<RESTCONF>" value("MESSAGE"));
};
filter f_localfile_restconf-command_local3 {
    facility(local3) and level(info .. emerg) and filter(f_localfile_restconf-command_match);
};
filter f_localfile_restconf-command {
    filter(f_localfile_restconf-command_local3); };
log {
    source(s_src);
    filter(f_localfile_restconf-command);
    destination(d_localfile_restconf-command);
    flags(flow-control);
};
# end of localFile: restconf-command

# localFile: shell-command
destination d_localfile_shell-command {
    program("/opt/machine/local/bin/write_with_rotation.sh /var/log/shell-command.log 10 10"
        flags(syslog-protocol)
        suppress(5)
        disk-buffer(
            mem-buf-size(2097152)
            disk-buf-size(4194304)
            reliable(yes)
            dir("/tmp")
        )
    );
};
filter f_localfile_shell-command_match {
    match("<SHELL>" value("MESSAGE"));
};
filter f_localfile_shell-command_local3 {
    facility(local3) and level(info .. emerg) and filter(f_localfile_shell-command_match);
};
filter f_localfile_shell-command {
    filter(f_localfile_shell-command_local3); };
log {
    source(s_src);
    filter(f_localfile_shell-command);
    destination(d_localfile_shell-command);
    flags(flow-control);
};
# end of localFile: shell-command

# localFile: sysinfo
destination d_localfile_sysinfo {
    program("/opt/machine/local/bin/write_with_rotation.sh /var/log/sysinfo.log 10 10"
        flags(syslog-protocol)
        suppress(5)
        disk-buffer(
            mem-buf-size(2097152)
            disk-buf-size(4194304)
            reliable(yes)
            dir("/tmp")
        )
    );
};
filter f_localfile_sysinfo_local5 {
    facility(local5) and level(info .. emerg);
};
filter f_localfile_sysinfo {
    filter(f_localfile_sysinfo_local5); };
log {
    source(s_src);
    filter(f_localfile_sysinfo);
    destination(d_localfile_sysinfo);
    flags(flow-control);
};
# end of localFile: sysinfo

# localFile: tl1-command
destination d_localfile_tl1-command {
    program("/opt/machine/local/bin/write_with_rotation.sh /var/log/tl1-command.log 10 10"
        flags(syslog-protocol)
        suppress(5)
        disk-buffer(
            mem-buf-size(2097152)
            disk-buf-size(4194304)
            reliable(yes)
            dir("/tmp")
        )
    );
};
filter f_localfile_tl1-command_match {
    match("<TL1>" value("MESSAGE"));
};
filter f_localfile_tl1-command_local3 {
    facility(local3) and level(info .. emerg) and filter(f_localfile_tl1-command_match);
};
filter f_localfile_tl1-command {
    filter(f_localfile_tl1-command_local3); };
log {
    source(s_src);
    filter(f_localfile_tl1-command);
    destination(d_localfile_tl1-command);
    flags(flow-control);
};
# end of localFile: tl1-command

# localFile: ztp
destination d_localfile_ztp {
    program("/opt/machine/local/bin/write_with_rotation.sh /var/log/ztp.log 10 10"
        flags(syslog-protocol)
        suppress(5)
        disk-buffer(
            mem-buf-size(2097152)
            disk-buf-size(4194304)
            reliable(yes)
            dir("/tmp")
        )
    );
};
filter f_localfile_ztp_match {
    match("<ZTP>" value("MESSAGE"));
};
filter f_localfile_ztp_local7 {
    facility(local7) and level(info .. emerg) and filter(f_localfile_ztp_match);
};
filter f_localfile_ztp {
    filter(f_localfile_ztp_local7); };
log {
    source(s_src);
    filter(f_localfile_ztp);
    destination(d_localfile_ztp);
    flags(flow-control);
};
# end of localFile: ztp
42116.after.stats.txt (text/plain, 17 KB)
root@xmm4-1-1:/home/shared# /usr/sbin/syslog-ng-ctl stats
SourceName;SourceId;SourceInstance;State;Type;Number
dst.program;d_localfile_security#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/security.log 10 10;a;truncated_bytes;0
destination;d_localfile_dummy;;o;processed;0
dst.program;d_localfile_user#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/user.log 10 10;a;truncated_bytes;0
dst.program;d_localfile_user#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/user.log 10 10;a;dropped;0
dst.program;d_localfile_user#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/user.log 10 10;a;processed;4
dst.program;d_localfile_user#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/user.log 10 10;a;queued;0
dst.program;d_localfile_user#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/user.log 10 10;a;suppressed;0
dst.program;d_localfile_user#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/user.log 10 10;a;written;4
center;;queued;a;processed;259320
src.journald;s_src#0;journal;a;processed;271377
src.journald;s_src#0;journal;a;stamp;1651148661
dst.program;d_localfile_restconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/restconf-command.log 10 10;a;dropped;0
dst.program;d_localfile_restconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/restconf-command.log 10 10;a;processed;0
dst.program;d_localfile_restconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/restconf-command.log 10 10;a;queued;0
dst.program;d_localfile_restconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/restconf-command.log 10 10;a;suppressed;0
dst.program;d_localfile_restconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/restconf-command.log 10 10;a;written;0
destination;d_localfile_user;;a;processed;4
dst.program;d_localfile_user#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/user.log 10 10;a;truncated_count;0
dst.program;d_localfile_restconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/restconf-command.log 10 10;a;truncated_bytes;0
destination;d_localfile_messages;;a;processed;3049
dst.program;d_localfile_messages#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/messages.log 10 10;a;truncated_count;0
dst.program;d_localfile_restconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/restconf-command.log 10 10;a;truncated_count;0
global;internal_source;;a;dropped;0
global;internal_source;;a;queued;0
dst.program;d_localfile_apps#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/apps.log 10 10;a;truncated_bytes;0
dst.program;d_localfile_apps#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/apps.log 10 10;a;dropped;0
dst.program;d_localfile_apps#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/apps.log 10 10;a;processed;225311
dst.program;d_localfile_apps#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/apps.log 10 10;a;queued;0
dst.program;d_localfile_apps#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/apps.log 10 10;a;suppressed;1416
dst.program;d_localfile_apps#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/apps.log 10 10;a;written;225770
source;s_src;;a;processed;276266
dst.program;d_localfile_messages#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/messages.log 10 10;a;truncated_bytes;0
dst.program;d_localfile_kernel#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/kernel.log 10 10;a;dropped;0
dst.program;d_localfile_kernel#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/kernel.log 10 10;a;processed;88
dst.program;d_localfile_kernel#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/kernel.log 10 10;a;queued;0
dst.program;d_localfile_kernel#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/kernel.log 10 10;a;suppressed;5
dst.program;d_localfile_kernel#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/kernel.log 10 10;a;written;91
dst.program;d_localfile_kernel#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/kernel.log 10 10;a;truncated_count;0
dst.program;d_localfile_tl1-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/tl1-command.log 10 10;a;dropped;0
dst.program;d_localfile_tl1-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/tl1-command.log 10 10;a;processed;79
dst.program;d_localfile_tl1-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/tl1-command.log 10 10;a;queued;0
dst.program;d_localfile_tl1-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/tl1-command.log 10 10;a;suppressed;10
dst.program;d_localfile_tl1-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/tl1-command.log 10 10;a;written;82
dst.program;d_localfile_kernel#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/kernel.log 10 10;a;truncated_bytes;0
dst.program;d_localfile_shell-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/shell-command.log 10 10;a;truncated_bytes;0
dst.program;d_localfile_shell-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/shell-command.log 10 10;a;dropped;0
dst.program;d_localfile_shell-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/shell-command.log 10 10;a;processed;2
dst.program;d_localfile_shell-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/shell-command.log 10 10;a;queued;0
dst.program;d_localfile_shell-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/shell-command.log 10 10;a;suppressed;0
dst.program;d_localfile_shell-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/shell-command.log 10 10;a;written;2
global;scratch_buffers_bytes;;a;queued;512
dst.program;d_localfile_shell-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/shell-command.log 10 10;a;truncated_count;0
center;;received;a;processed;276266
dst.program;d_localfile_apps#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/apps.log 10 10;a;truncated_count;0
dst.program;d_localfile_messages#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/messages.log 10 10;a;dropped;0
dst.program;d_localfile_messages#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/messages.log 10 10;a;processed;2766
dst.program;d_localfile_messages#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/messages.log 10 10;a;queued;0
dst.program;d_localfile_messages#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/messages.log 10 10;a;suppressed;283
dst.program;d_localfile_messages#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/messages.log 10 10;a;written;3038
dst.program;d_localfile_ztp#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/ztp.log 10 10;a;dropped;0
dst.program;d_localfile_ztp#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/ztp.log 10 10;a;processed;135
dst.program;d_localfile_ztp#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/ztp.log 10 10;a;queued;0
dst.program;d_localfile_ztp#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/ztp.log 10 10;a;suppressed;0
dst.program;d_localfile_ztp#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/ztp.log 10 10;a;written;135
dst.program;d_localfile_ztp#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/ztp.log 10 10;a;truncated_count;0
destination;d_localfile_kernel;;a;processed;93
dst.program;d_localfile_tl1-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/tl1-command.log 10 10;a;truncated_count;0
destination;d_localfile_shell-command;;a;processed;2
dst.program;d_localfile_ztp#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/ztp.log 10 10;a;truncated_bytes;0
destination;d_localfile_linecard;;a;processed;4813
dst.program;d_localfile_event#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/event.log 10 10;a;truncated_bytes;0
destination;d_localfile_configuration;;a;processed;16
dst.program;d_localfile_event#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/event.log 10 10;a;dropped;0
dst.program;d_localfile_event#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/event.log 10 10;a;processed;12180
dst.program;d_localfile_event#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/event.log 10 10;a;queued;0
dst.program;d_localfile_event#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/event.log 10 10;a;suppressed;2287
dst.program;d_localfile_event#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/event.log 10 10;a;written;13252
global;msg_clones;;a;processed;0
dst.program;d_localfile_event#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/event.log 10 10;a;truncated_count;0
dst.program;d_localfile_linecard#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/linecard.log 10 10;a;dropped;0
dst.program;d_localfile_linecard#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/linecard.log 10 10;a;processed;4423
dst.program;d_localfile_linecard#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/linecard.log 10 10;a;queued;0
dst.program;d_localfile_linecard#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/linecard.log 10 10;a;suppressed;390
dst.program;d_localfile_linecard#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/linecard.log 10 10;a;written;4555
dst.program;d_localfile_linecard#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/linecard.log 10 10;a;truncated_count;0
dst.program;d_localfile_linecard#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/linecard.log 10 10;a;truncated_bytes;0
dst.program;d_localfile_dummy#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/dummy.log 10 10;o;dropped;0
dst.program;d_localfile_dummy#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/dummy.log 10 10;o;processed;0
dst.program;d_localfile_dummy#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/dummy.log 10 10;o;queued;0
dst.program;d_localfile_dummy#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/dummy.log 10 10;o;suppressed;0
dst.program;d_localfile_dummy#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/dummy.log 10 10;o;written;0
destination;d_localfile_netconf-command;;a;processed;12
global;scratch_buffers_count;;a;queued;2
dst.program;d_localfile_tl1-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/tl1-command.log 10 10;a;truncated_bytes;0
destination;d_localfile_tl1-command;;a;processed;89
global;sdata_updates;;a;processed;0
destination;d_localfile_grpc-command;;a;processed;0
destination;d_localfile_cli-command;;a;processed;59
dst.program;d_localfile_dummy#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/dummy.log 10 10;o;truncated_count;0
destination;d_localfile_event;;a;processed;14467
global;payload_reallocs;;a;processed;758843
dst.program;d_localfile_dummy#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/dummy.log 10 10;o;truncated_bytes;0
dst.program;d_localfile_grpc-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/grpc-command.log 10 10;a;dropped;0
dst.program;d_localfile_grpc-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/grpc-command.log 10 10;a;processed;0
dst.program;d_localfile_grpc-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/grpc-command.log 10 10;a;queued;0
dst.program;d_localfile_grpc-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/grpc-command.log 10 10;a;suppressed;0
dst.program;d_localfile_grpc-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/grpc-command.log 10 10;a;written;0
dst.program;d_localfile_grpc-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/grpc-command.log 10 10;a;truncated_count;0
dst.program;d_localfile_grpc-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/grpc-command.log 10 10;a;truncated_bytes;0
destination;d_localfile_sysinfo;;a;processed;2
destination;d_localfile_alarm;;a;processed;39
dst.program;d_localfile_sysinfo#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/sysinfo.log 10 10;a;dropped;0
dst.program;d_localfile_sysinfo#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/sysinfo.log 10 10;a;processed;2
dst.program;d_localfile_sysinfo#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/sysinfo.log 10 10;a;queued;0
dst.program;d_localfile_sysinfo#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/sysinfo.log 10 10;a;suppressed;0
dst.program;d_localfile_sysinfo#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/sysinfo.log 10 10;a;written;2
dst.program;d_localfile_sysinfo#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/sysinfo.log 10 10;a;truncated_count;0
dst.program;d_localfile_sysinfo#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/sysinfo.log 10 10;a;truncated_bytes;0
dst.program;d_localfile_netconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/netconf-command.log 10 10;a;dropped;0
dst.program;d_localfile_netconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/netconf-command.log 10 10;a;processed;12
dst.program;d_localfile_netconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/netconf-command.log 10 10;a;queued;0
dst.program;d_localfile_netconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/netconf-command.log 10 10;a;suppressed;0
dst.program;d_localfile_netconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/netconf-command.log 10 10;a;written;12
dst.program;d_localfile_netconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/netconf-command.log 10 10;a;truncated_count;0
dst.program;d_localfile_configuration#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/configuration.log 10 10;a;dropped;0
dst.program;d_localfile_configuration#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/configuration.log 10 10;a;processed;16
dst.program;d_localfile_configuration#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/configuration.log 10 10;a;queued;0
dst.program;d_localfile_configuration#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/configuration.log 10 10;a;suppressed;0
dst.program;d_localfile_configuration#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/configuration.log 10 10;a;written;16
dst.program;d_localfile_configuration#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/configuration.log 10 10;a;truncated_count;0
dst.program;d_localfile_configuration#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/configuration.log 10 10;a;truncated_bytes;0
dst.program;d_localfile_netconf-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/netconf-command.log 10 10;a;truncated_bytes;0
destination;d_localfile_security;;a;processed;9813
destination;d_localfile_restconf-command;;a;processed;0
destination;d_localfile_apps;;a;processed;226727
global;internal_queue_length;;a;processed;0
src.internal;s_src#1;;a;processed;78
src.internal;s_src#1;;a;stamp;1651148571
dst.program;d_localfile_alarm#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/alarm.log 10 10;a;truncated_bytes;0
dst.program;d_localfile_alarm#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/alarm.log 10 10;a;dropped;0
dst.program;d_localfile_alarm#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/alarm.log 10 10;a;processed;39
dst.program;d_localfile_alarm#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/alarm.log 10 10;a;queued;0
dst.program;d_localfile_alarm#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/alarm.log 10 10;a;suppressed;0
dst.program;d_localfile_alarm#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/alarm.log 10 10;a;written;39
dst.program;d_localfile_alarm#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/alarm.log 10 10;a;truncated_count;0
dst.program;d_localfile_cli-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/cli-command.log 10 10;a;dropped;0
dst.program;d_localfile_cli-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/cli-command.log 10 10;a;processed;55
dst.program;d_localfile_cli-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/cli-command.log 10 10;a;queued;0
dst.program;d_localfile_cli-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/cli-command.log 10 10;a;suppressed;4
dst.program;d_localfile_cli-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/cli-command.log 10 10;a;written;59
dst.program;d_localfile_cli-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/cli-command.log 10 10;a;truncated_count;0
destination;d_localfile_ztp;;a;processed;135
dst.program;d_localfile_cli-command#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/cli-command.log 10 10;a;truncated_bytes;0
dst.program;d_localfile_security#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/security.log 10 10;a;dropped;0
dst.program;d_localfile_security#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/security.log 10 10;a;processed;9813
dst.program;d_localfile_security#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/security.log 10 10;a;queued;0
dst.program;d_localfile_security#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/security.log 10 10;a;suppressed;0
dst.program;d_localfile_security#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/security.log 10 10;a;written;9813
dst.program;d_localfile_security#0;/opt/machine/local/bin/write_with_rotation.sh /var/log/security.log 10 10;a;truncated_count;0