crowdstrike/logscale-splunk-on-call
Vendor | CrowdStrike Holdings, Inc. |
Author | CrowdStrike |
Version | 1.0.0 |
Minimum LogScale Version | 1.76.0 |
Find the repository where you want to use LogScale Splunk On-Call actions or create a new one.
Navigate to your repository in the LogScale interface, click Settings and then on the left.
Click
and install the LogScale package for Splunk On-Call (i.e. crowdstrike/logscale-splunk-on-call).When the package has finished installing, on the top menu go to
and then click on the side menu.Click
, a pop-up is displayed.Type a name for the action, select
and clickSet the Endpoint URL to the URL of your integration in Splunk On-Call.
Set the severity by replacing
<INSERT_TYPE<
with`CRITICAL`
,`WARNING`
, or`INFO`
) in the Message Body Template.
Customizing Your Action and Triggers
In order to customize the action, see Splunk On-Call API documentation for an overview of what fields you can send. You can use Message Templates and Variables to fill in information about the trigger, the query and the events found by the query.
The message template documentation also describes how you can use these templates in the name or the description of the trigger. That enables you to use the same action for multiple triggers and get customized messages, where the customization happens in the trigger.
Example
You create an action where the message contains
{description}
which will be replaced by
the description of the trigger. In the description of one
trigger, you can then write Host {field:$host}
failed
.
If the result of the trigger had a field
host=3
, this will be expanded to
Host 3 failed,
before being put into the
`{description}` message template in the action. Another
trigger could have a different description using different
fields.