Headed to Las Vegas for AWS re:Invent? Come visit us at booth #118!

Coralogix Actions

Coralogix provides you an easy way to trigger 3rd party services/websites based on your search results and/or values under specific keys. It will allow you to use your external tools and pass to them values and/or filters with one click, for example, to Grafana or to any other service where you can narrow your investigation.

Create a plugin

  1. Open the Logs screen page.
  2. Click on Settings in the top right corner and then on Plugin Configurations at the bottom.
Logs Screen - Settings -> Extensions -> Plugins Configuration
  1. A Plugins pop-up window will be displayed. It contains the list of defined plugins or if the list is empty it will open a new Untiled Plugin.
New Plugin Screen
  1. Click on the +ADD NEW PLUGIN button to define a new plugin if it is not the first plugin.
  1. Name the new plugin within the Untitled Plugin pop up.
  1. In the URL field add the url for the external tool.
  2. When you start typing the curly brakets in {{ }} you will see the hints list. There are 3 types of variables:
    • $g – general variables which can be used with any log (START_DATE, END_DATE, SELECTED_VALUE)
    • $m – metadata variables: Coralogix metadata fields (applicationName, subsystemName, severity, etc)
    • $i – any indexed field

Example:

URL defininition
  1. In the Advanced option you can make the plugin available only for specific Applications and/or Subsystems.
Advanced options
  1. Click on the Reset button to clear the entered data or on the SAVE PLUGIN button to save it.

Manage custom plugins

  1. Open Logs screen page.
  2. Click on Settings in the top right corner and then on Plugin Configurations at the bottom.
  3. A pop-up Plugins window will be displayed. It contains the list of defined plugins.
The list of Coralogix Actions and one is edited
  1. Available actions:
    • Click on the arrow button next to each plugin to edit or delete it.
    • Click on the +ADD NEW PLUGIN button to define a new plugin (see the section Create a plugin)

A custom plugin usage

  1. Open the Logs page and define your query.
  2. Trigger the plugin by:
    • Clicking on (…) next to the specific log or on the JSON key. Only plugins are visible which don’t contain “$g.SELECTED_VALUE” variable in the URL definition)
    • Clicking on a value will list all defined plugins (including plugins which contain “$g.SELECTED_VALUE” variable in the URL definition). If the plugin is defined with “$g.SELECTED_VALUE” then the value from that JSON key will be passed.
Plugin list under (...)
Plugin list under the value menu
  1. Once the plugin is chosen, the defined URL will be open in new tab.