Logconv.pl (log converter), Note, Section 7.4.8, “logconv.pl (log converter) – Red Hat 8.1 User Manual

Page 225

Advertising
background image

Table 7.24 . ldif2db.pl Options

Option

Description

-c

Merges chunk size.

-D rootdn

Specifies the user DN with root permissions,
such as Directory Manager.

-E

Decrypts encrypted data during export. This
option is used only if database encryption is
enabled.

-g string

Generates a unique ID. Type none for no unique
ID to be generated and deterministic for the
generated unique ID to be name-based. By
default, a time-based unique ID is generated.
When using the deterministic generation to
have a name-based unique ID, it is also possible
to specify the namespace for the server to use,
as follows:

-g deterministic namespaceId

namespaceId is a string of characters in the
format 00-xxxxxxxx-xxxxxxxx-xxxxxxxx-
xxxxxxxx
.

Use this option to import the same LDIF file into
two different Directory Servers and the contents
of both directories should have the same set of
unique IDs. If unique IDs already exist in the LDIF
file being imported, then the existing IDs are
imported to the server, regardless of the options
specified.

-G namespaceId

Generates a namespace ID as a name-based
unique ID. This is the same as specifying the -g
deterministic
option.

-i filename

Specifies the filename of the input LDIF files.
When multiple files are imported, they are
imported in the order they are specified on the
command line.

-j filename

Specifies the path, including the filename, to the
file that contains the password associated with
the user DN.

-n backendInstance

Specifies the instance to be imported.

-O

Requests that only the core database is created
without attribute indexes.

-s includeSuffix

Specifies the suffixes to be included or specifies
the subtrees to be included if -n has been used.

-v

Specifies verbose mode.

-w password

Specifies the password associated with the user
DN.

-w -

Prompts for the password associated with the
user DN.

-x excludeSuffix

Specifies the suffixes to be excluded.

7.4 .8. logconv.pl (Log Converter)

Analyzes the access logs of a Directory Server to extract usage statistics and count the occurrences of
significant events. It is compatible with log formats from previous releases of Directory Server. For
information on access logs, see

Section 5.1, “Access Log Reference”

.

NOTE

logconv.pl is in the /usr/bin directory.

The tool will extract the following information from access logs:

Red Hat Directory Server 8.1 Configuration and Command Reference

225

Advertising