Editing a Command Line Log Source

You can modify the following fields of the Command line log source.

Option

Description

General

Log Source Enabled

Click toggle button Yes or No to define whether the current Log Source is enabled or disabled.

Name

Name of the Log Source.

Description

Description of the Log Source.

Forwarders

Select Forwarder

Select the Forwarding connection to which you want to forward collected RT File logs from dropdown list.

Universal Collector Collection date

Define whether the log message sent to the LogLogic LMI server remains in a local system time zone or is converted into UTC time zone.

Collection

Command

Enter the command line script path.

If the script path or argument contains empty spaces, it must be entered in double quotation marks.

On Windows, if the script path and argument contain empty spaces, you must enter the command as shown below:

"D:\folder name\Hello World.py" "hello world" (double quotation marks for the whole command)

or

D:\"folder name"\"Hello World.py" "hello world"

Multiline messages

Click Yes or No to activate or deactivate the option to define whether the single message has several lines.

(If Multiline messages is ON)

Multiline timeout after detected header

Indicate the number of seconds after which the multi-line logs are ready to be sent.

Advanced

Host name

Enter the name of the host used to pair logs on the LogLogic LMI server.

For example, customHostname.com

If you enter an IPv4 address, the device to be displayed in LogLogic LMI will be referred with this IP address.

Application name

Enter the name of the application used to identify logs on the LogLogic LMI server.

For example, customApplicationName

Maximum message length

 

Indicate the possible maximum length for the message (in bytes). The maximum supported value is 1048576.

Default value: 64000

Run once

Click Yes or No to activate or deactivate the option to define whether the script must be run once or multiple times.

Schedule

Select the collection period, either per minute, hour, daily, or weekly at a specific hour.