Tines

Humio supports sending events to Tines through webhooks.
To receive events from Humio in Tines, you will need to set up a webhook agent in Tines.
Open an existing story or create a new story in your Tines tenant.
Drag a new Webhook action from the Actions section onto the storyboard.
Click on the Summary tab in the Action panel on the right side of the storyboard.
Copy the Webhook URL.
In Humio:
Choose your repository.
Navigate to
Alerts --> Action --> New Action
.Select Webhook for the Action Type.
Name it Tines Action and paste your URL in the Endpoint URL box.
Leave the rest of the fields default, and click
.Go to
Alerts --> New Alerts
.Type in the query you require, name it, and set your throttle period.
Click
.The Alert you just created will now appear in the Alerts window.

Figure 158. Tines Automation
Wait for the Alert to trigger. Then, back in Tines,
Click on the Webhook action you created earlier.
Click on the
tab in the panel to view your recent event. You can click Update if it isn't automatically there.Click
to view the event details. You should see something like:
{
"webhook_agent" : {
"alert" : {
"description" : "",
"id" : "cx7xIdcYMNqZduOcDryndfphKSayyBgm",
"name" : "Tines Alert",
"notifierID" : "N9DAw1Q6bPaxgRoexv94Qfc3HmaTPzbg",
"query" : {
"end" : "now",
"queryString" : "* ",
"start" : "1m"
}
},
"events" : [
{
"#repo" : "Testing",
"#type" : "kv",
"@id" : "zZvht1UVROc92nnXtQDDBshD_0_1_1582059199",
"@rawstring" : "hello=tines",
"@timestamp" : 1582059199976,
"@timezone" : "Z",
"hello" : "tines"
}
],
"numberOfEvents" : 1,
"repository" : "Testing",
"timestamp" : "2020-02-18T20:53:20.546Z",
"warnings" : ""
}
}
To create a notification:
Drag a new Event Transform action onto the storyboard.
Connect the Webhook action you created earlier to this Event Transform action
Click on the Build tab for the Event Transform action
Set the Mode to explode
Set the path to
webhook_action.events
{
"mode": "explode",
"path": "{{.webhook_agent.events}}",
"to": "event"
}
Now you can connect your event transformation agent to any of your other workflows in Tines.

Figure 159. Tines Workflow