Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-3881

Docs: The Syslog Audit Event Handler Configuration should include an example

    Details

    • Type: Improvement
    • Status: Done
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0.0, 3.5.1, 3.5.0, 3.0.0
    • Fix Version/s: 5.5.0, 4.0.0
    • Component/s: documentation
    • Labels:
      None
    • Support Ticket IDs:

      Description

      The section for 17.5.2.3. Syslog Audit Event Handler Configuration should include the dsconfig command an example of a json config file.

      ./dsconfig \
      create-log-publisher \
      --port 4444 \
      --hostname opendj.forgerock.com \
      --bindDN "cn=Directory Manager" \
      --bindPassword password \
      --publisher-name "OpenDJ Syslog Publisher Access" \
      --type external-access \
      --set enabled:true \
      --set config-file:/opt/opendj/config/opendj-syslog-handler.json \
      --trustAll \
      --no-prompt
      
      {
      "class": "org.forgerock.audit.handlers.syslog.SyslogAuditEventHandler",
      "config": {
      "name": "OpenDJ Syslog Event Handler",
      "enabled" : true,
      "topics": [
      "ldap-access"
      ],
      "protocol": "UDP",
      "host": "syslogd.forgerock.com",
      "port": 514,
      "connectTimeout": 60,
      "facility": "SYSLOG",
      "buffering": {
      "enabled": false
      }
      }
      }
      

        Attachments

          Activity

            People

            • Assignee:
              Mark Mark Craig
              Reporter:
              lee.trujillo Lee Trujillo
              Dev Assignee:
              Mark Craig
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: