Pushing events from command line interface

Prerequisites

Quick tutorial

To get started we first need to create a event category.

coscale-cli event new --name "Marketing" --description "Marketing campaigns and ads"

Afterwards we can add events to the category we created.

coscale-cli event data --name "Marketing" --message "Start campaign: Focus on other products" --subject a

Parameters subject details:

  • a: Application wide events
  • g<serverGroupId>: Server group event
  • s<serverId>: Server event

You can add as many categories and events as you’d like and you can also include variables to customize your events.