Skip to Content
Admin GuidesLedgerConnecting Ascender

Connecting Ascender

Ledger builds its data from the logs that Ascender sends to it. Each Ascender server (or other AWX-based server) is configured to send its job events to the Ledger parser service, which listens on port 5000. When a new server starts sending logs, Ledger adds it to Admin > Servers automatically (see Servers).

Note

When the Ascender Pro installer deploys Ledger alongside Ascender, it configures the Ascender logging settings and token authorization for you. Use this page to connect additional Ascender or AWX-based servers, or to check or repair the configuration. For installing Ledger, see Ledger installation.

Configure Log Export

In Ascender, go to Settings and choose Logging settings:

Ascender Settings page with Logging settings

Click Edit at the bottom of the page:

Edit button on the Ascender logging settings

Make the following changes. You cannot turn on external logging until the aggregator URL is set, so follow this order:

  • Logging Aggregator: http:// followed by the IP address or domain name of the Ledger parser service
  • Logging Aggregator Port: 5000 by default
  • Logging Aggregator Type: ledger (or other)
  • Logging Aggregator Protocol: HTTPS or HTTP
  • Logging Aggregator Password/Token: the Authorization Token from Ledger, if Ledger requires token authorization (see below)
  • Enable/disable HTTPS certificate verification: Off
  • Enable External Logging: On

The other settings are optional and can be set to your liking.

Ascender logging settings configured for Ledger

Configure Ledger to Accept Logs

Under Settings > General in Ledger, Require Token Authorization controls whether the parser accepts logs only from servers that present Ledger's Authorization Token. The token is generated when you save the page with token authorization turned on, and you can copy it with the Copy button or replace it with Reset Token. If you reset the token, update the Logging Aggregator Password/Token on every Ascender server that sends logs to Ledger.

When token authorization is off, any Ascender server that can reach the parser is added and accepted automatically.

Ledger links each change back to the Ascender job that made it, using the URL recorded for the server under Admin > Servers. If that URL is not reachable from your users' browsers, edit the server and set a reachable Server URL. See Servers.