logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

slogencrypt - Encrypt existing plain text log files using the syslog-ng secure logging environment

Arguments

newkeyfile
           The file that will contain the new current encryption key after successful encryption.

       newMACfile
           The file receiving the new current message authentication code (MAC) of the secure encrypted
           destination after encryption. In case an existing file is supplied, new entries will be appended.

       inputlogfile
           The plain text log file that will be encrypted using the secure logging environment.

       outputlogfile
           The file that will contain the encrypted log entries from the supplied plain text log file after
           encryption.

       counter
           The current log entry counter of the secure encrypted destination after encryption. This is required
           if the log entries to be encrypted will be appended to an existing secure encrypted destination.

Author

       This manual page was written by the Airbus Secure Logging Team <secure-logging@airbus.com>.

Description

       The slogencrypt is used to encrypt plain text log file using an existing secure logging environment.
       Using this utility, log files obtained from a previous installation of syslog-ng or another logging
       system can be transferred to a secure logging environment. The order of the log entries is preserved.
       Encrypting plain text log files using an existing secure logging environment, requires the current
       encryption key to be supplied in order to preserve consistency.

       General call sequence: slogencrypt-k<keyfile>-m<MACfile><newkeyfile><newMACfile><plaintextlog><outputfile>[counter]

Files

       /usr/bin/slogencrypt

       /etc/syslog-ng.conf

Name

       slogencrypt - Encrypt existing plain text log files using the syslog-ng secure logging environment

Notes

        1. Thesyslog-ngAdministratorGuide
           https://www.balabit.com/documents/syslog-ng-ose-latest-guides/en/syslog-ng-ose-guide-admin/html/index.html

        2. syslog-ngmailinglist
           https://lists.balabit.hu/mailman/listinfo/syslog-ng

        3. syslog-ngblogs
           https://syslog-ng.org/blogs/

4.8                                                03/16/2025                                     SLOGENCRYPT(1)

Options

--key-file or -k
           The current host key from the system where the encryption will be performed.

       --mac-file or -m
           The current MAC file from the system where the encryption will be performed.

       --help or -h
           Display a help message.

See Also

syslog-ng.conf(5)

       secure-logging(7)

           Note

           For the detailed documentation of see Thesyslog-ngAdministratorGuide[1]

           If you experience any problems or need help with syslog-ng, visit the syslog-ngmailinglist[2].

           For news and notifications about of syslog-ng, visit the syslog-ngblogs[3].

           For specific information requests related to secure logging send a mail to the Airbus Secure Logging
           Team <secure-logging@airbus.com>.

Synopsis

slogencrypt [options] [arguments]

See Also