Creating a CSV File

Procedure

  1. Open a text editor such as Notepad.
  2. In the header, on the first line, enter the following field names according to the type of log source you want to create:
    Log Source Fields
    RT File name, description, LogLogic LMI_connection*, enabled, timeInUtc, message_filter, match_filter, file_path*, useDateRolling, date_pattern, useIdRolling, nbDigit, useFileChangeNotification, multiline_active, multiline_header_type, multiline_custom_regex, multiline_orphaned_lines, multiline_lineTimeout, appName*, hostname*, maxLineLength, charset
    Syslog name, description, lmi_connection*, enabled, timeInUtc, protocol, ip, port, severity, facilities, source_ip
    Windows name, description, lmi_connection, enabled, timeInUtc, event_id_filter, filter_operator, source_filter, address, domain, login, password, include_eventlogs, eventlogs_list, polling_period, win_type, lang_type, detect_originating_ip
    Remote File name, description, lmi_connection, enabled, ip, protocol, time_zone, file_system_type, user_id, password, domain, share_name, path_type, path, include, exclude, device_type, original_name, useDateRolling, date_pattern, useIdRolling, nbDigit, useFileChangeNotification, useUcIP, uc_ip, deleteInactiveFile, inactiveDays, privateKeyFilePath, certType, every_minutes, every_hours, daily_at_time, weekly_at_time, weekly_at_day
    Cmd name, description, lmi_connection, enabled, timeInUtc, command, multiline_active, multiline_lineTimeout, appName, hostname, maxLineLength, run_once, schedule_active, every_minutes, every_hours, daily_at_time, weekly_at_time, weekly_at_day

    * mandatory fields

    Note:
    1. The LogLogic LMI connection is mandatory only if there is more than one existing connection available. The sole connection will be taken by default.
    2. Name is not mandatory as a name will be automatically created, such as Real Time File #n or Windows Event Log #n or Syslog #n.
  3. On subsequent lines, fill in the fields with the correct values and save in CSV format.
    The CSV file format example:

    name,description,lmi_connection,timeInUtc

    Log Source A, Windows Log Sources, LMI_Connection, true

    Note: Use a separator | to specify multiple LMI_Connections.

    For example:

    name,description,lmi_connection,enabled

    Log Source A, Windows Log Sources, LMI_Connection1|LMI_Connection2, true

    Note: A detailed example of the fields and values to enter in the CSV file is available from the LogLogic® Universal Collector Console when importing the CSV file.
Related tasks