This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Pi-hole Faster Than Light logs

AxoSyslog can collect logs of the Pi-hole FTL (Faster Than Light) application.

Prerequisites

  • AxoSyslog version 4.6.0 or later.

  • Install the axosyslog-scl package on Debian/Ubuntu. On RHEL and compatible distributions, the SCL files are part of the axosyslog base package.

    Your configuration must also contain @include "scl.conf", which the default configuration file already does. If the SCL files are missing, AxoSyslog fails to start with an unexpected LL_IDENTIFIER error.

    Terminal window
    @include "scl.conf"

    The pihole-ftl() driver is a reusable configuration snippet (SCL). For details on using or writing such configuration snippets, see Reusing configuration blocks. You can find its source in scl/pihole/pihole.conf on GitHub.

Configuration

Terminal window
source s_pihole_ftl {
  pihole-ftl();
};

By default, the source reads the /var/log/pihole/FTL.log file. If the root directory of your Pi-hole installation is different, specify the directory where the FTL.log file is with the dir() option. You can find the root log directory by selecting Tools > Pi-hole diagnosis in the Pi-hole application. Otherwise, the pihole-ftl() source has the same parameters as the file() source.