Skip to main content

Logfile LAM Reference

This is a reference for the Logfile LAM. The Logfile LAM configuration file is located at $MOOGSOFT_HOME/config/logfile_lam.conf.

The following properties are unique to the Logfile LAM.

See the LAM and Integration Reference for a full description of all common properties used to configure LAMs.

target

The path and file name of the target log file.

Type

String

Required

Yes

Default

N/A

Example:

target: "/tmp/test.log"

date_format

The format of the date if it's present in the target log file name. See the SimpleDateFormat definition for information on date and time patterns.

Type

String

Required

No

Default

N/A

Examples:

date_format: dd-MM-yyyy-HH-mm-ss

date_format: yyyy-MM-dd-HH-mm-ss

date_format: dd-MM-yyyy, yyyy-MM-dd

load_at_start

Determines whether the LAM processes the contents of the target file at startup then waits for additional data to be written to the file.

Type

Boolean

Required

No

Default

true

exit_after_initial_load

Determines whether the LAM processes the contents of the target file and then exits. This is useful if you are bulk-loading data into Moogsoft Enterprise for analysis.

Type

Boolean

Required

No

Default

false