Skip to content

Instantly share code, notes, and snippets.

@jonfriesen
Last active May 28, 2025 14:41
Show Gist options
  • Save jonfriesen/dd005d129c6e9c4fa54f7badc438c4ae to your computer and use it in GitHub Desktop.
Save jonfriesen/dd005d129c6e9c4fa54f7badc438c4ae to your computer and use it in GitHub Desktop.
Simple Qtap demo config
# This is a simple example of a qtap config that reports connections and
# stores them to Axiom.
#
# Demo Usage:
#
# curl -s https://get.qpoint.io/demo | sudo AXIOM_TOKEN=<api_token> AXIOM_DATASET=<dataset> sh -s -- --config=<this_config>
#
#
version: 2
services:
event_stores:
- type: axiom
dataset:
type: env # or "text" for direct value
value: AXIOM_DATASET # Environment variable name or direct token value
token:
type: env # or "text" for direct value
value: AXIOM_TOKEN # Environment variable name or direct token value
object_stores:
- type: stdout
stacks:
default:
plugins:
- type: access_logs
config:
mode: summary
format: console
- type: report_usage
tap:
direction: all # (egress|egress-external|egress-internal|ingress|ingress-external|all)
ignore_loopback: true
audit_include_dns: true
http:
stack: default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment