Ingest using FluentD


FluentD is an open-source log collector that allows you to collect, aggregate, process, analyze and route log files.

With FluentD you can collect logs from multiple sources and ship it instantly into Axiom


Visit the FluentD download page to install FluentD on your system.

You'd need to specify the org-id header if you are using Personal Token, it's best to use an API Token to avoid the need to specify the org-id header.

Learn more about API and Personal Token


FluentD lifecycle consist of five different components which are:

  • Setup: Configure your fluent.conf file.
  • Inputs: Define your input listeners.
  • Filters: Create a rule to allow or disallow an event.
  • Matches: Send output to Axiom when input data match and pair specific data from your data input within your configuration.
  • Labels: Groups filters and simplifies tag handling.

When setting up fluentD, the configuration file .conf is used to connect its components.

The example below shows a FluentD configuration that sends data to Axiom using the http output plugin:

  @type forward
  port 24224

<match *.**>
  @type http

  # Authorixation Bearer should be an ingest token
  headers {"Authorization": "Bearer <your-token>"}
  json_array false
  open_timeout 3

    @type json

    flush_interval 5s

Was this page helpful?