Editing a Command Line Log Source

Procedure

  1. On the Collection tab, double-click the selected Log Source or just select it and click the Edit button.
    The Cmd Log Source Edition tab is displayed.
  2. In the General part of the screen, you can modify the following information:
    Option Description
    Log Source Enabled Click ON or OFF to define whether the current Log Source is enabled or disabled.
    Name Name of the Log Source.
    Description Description of the Log Source.
  3. In the Forwarding Connection part of the screen, you can modify the following information:
    Option Description
    Name Select the Forwarding connection to which you want to forward collected logs. See Editing the Forwarding Collection List to edit the forwarding collection list.
    LogLogic® 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.

  4. In the Collection part of the screen, you can modify the following information:
    Option Description
    Command Enter the command line script path.
    Note: 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 ON or OFF 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] Click the drop-down menu to display advanced parameters.
    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 / IPv6 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 ON or OFF 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.
  5. Click Apply to validate the changes.