RunReveal

Printer destination

The printer destination writes events to stdout. Use it for debugging your configuration or testing new sources without sending data anywhere.

Configuration

{
  "destinations": {
    "debug": {
      "type": "printer"
    }
  }
}

The printer destination has no configuration options. Each event's raw log content is written to stdout as it arrives.

Example: Test a new source

Pair the printer with any source to see what events look like before connecting a real destination:

{
  "sources": {
    "test": {
      "type": "file",
      "path": "/var/log/app/",
      "extension": ".log"
    }
  },
  "destinations": {
    "debug": {
      "type": "printer"
    }
  }
}

Run reveald and watch the output:

reveald run --config config.json

On this page