Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
slogencrypt(1)		  The slogencrypt manual page		slogencrypt(1)

NAME
       slogencrypt  ---	 Encrypts  existing  plain text	log files using	the {{
       site.product.short_name }} secure logging environment.

SYNOPSIS
	      slogencrypt [options] [arguments]

DESCRIPTION
       The slogencrypt utility encrypts	plain text log files using an existing
       secure logging environment. Using this utility, log files obtained from
       a previous installation of syslog-ng OSE	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.

   EXAMPLE: A GENERAL CALL SEQUENCE
	      slogencrypt -k <key file>	-m <MAC	file> <new key file> <new MAC file> <plain text	log> <output file> [counter]

ARGUMENTS
       <new key	file>
	   The	file that containa the new encryption key after	successful en-
       cryption.

       <new MAC	file>
	   The file receiving the new message authentication code (MAC)	of the
       secure encrypted	destination after encryption. In case an existing file
       is supplied, new	entries	are appended.

       <input log file>
	   The plain text log file that	is encrypted using the secure  logging
       environment.

       <output log file>
	   The	file that contains 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
       are appended to an existing secure encrypted destination

OPTIONS
       --key-file or -k
	   The current host key	from the system	where the encryption  is  per-
       formed.

       --mac-file or -m
	   The	current	 MAC file from the system where	the encryption is per-
       formed.

       --help or -h
	   Display a help message.

FILES
       /Users/hofi/Develop/Balabit/syslog-ng/build/install/bin/slogencrypt

       /Users/hofi/Develop/Balabit/syslog-ng/build/install/etc/syslog-ng.conf

SEE ALSO
	      	The syslog-ng.conf manual page

	      	The syslog-ng OSE manual page

4.10.2			       18 December 2025			slogencrypt(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=slogencrypt&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help