Skip to main content

Demo video: Use the Create Your Own Integration API to send batch event data into Moogsoft Cloud

In this video, you will learn how to create a custom integration to process multi-event data payloads, use Moogsoft documentation to build sample data to test your integration, and understand the JSON structure of batch event payloads.

For this demo, let's use the Create Your Own Integration ingestion service, which allows you more flexibility over the fields to ingest, as well as the mapping.

2_Batch.png

Let me show you how it works. Give it a meaningful name, and add a description. Select Events.

3_Batch.png

Now we have a Moogsoft endpoint, as well as the API Key.  We will need these in order to send over our batch events.

4_Batch.png

Now open the Moogsoft documentation to pick up an example request. This sample curl command posts two events to Moogsoft.  Grab and paste it in an editor.

5_Batch.png

To make it work with our instance, add your Moogsoft endpoint and API key.

6_Batch.png

These are all the variables. We are passing in events...

7_Batch.png

...which are organized by this key.

8_Batch.png

There are a variety of elements in the sample code, and one thing we want to make sure of is that the default fields used for deduplication are available. By default, Moogsoft uses the combination of these field values to determine duplicate events, so naturally we want to make sure these fields are included.

9_Batch.png

Now copy the curl command, and paste it in a terminal.

10_Batch.png

It successfully came in.

11_Batch.png

Make sure to enable batch processing, and select the path to the event list.  In this case, it’s events.key.

12_Batch.png

Next, map the payload fields to the Moogsoft target fields.

Batch.png

Since all the fields used for deduplication are in the example payload, we don’t need to do anything for the deduplication key.

14_Batch.png

Let’s test.  Success!

15_Batch.png

Now you know how to process batch events using the Create Your Own Integration API. Thanks for watching!