Documentation

kapacitor define-topic-handler

The kapacitor define-topic-handler command creates or updates a handler. Handlers are defined using a JSON or YAML file.

Usage

kapacitor define-topic-handler <handler-spec-file>

Arguments

  • handler-spec-file: Filepath of the handler specification file. Supports JSON or YAML files.

Examples

Define a handler using the slack.yaml file
kapacitor define-topic-handler /path/to/slack.yaml

Was this page helpful?

Thank you for your feedback!


The future of Flux

Flux is going into maintenance mode. You can continue using it as you currently are without any changes to your code.

Read more