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.

1_Batch.jpg

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

2_Batch.jpg

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

3_Batch.jpg

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.

4_Batch.jpg

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

5_Batch.jpg

These are all the variables. 

6_Batch.jpg

We are passing in events...

7_Batch.jpg

...which are organized by this key.

8_Batch.jpg

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.jpg

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

10_Batch.jpg

It successfully came in.

11_Batch.jpg

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

12_Batch.jpg

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

Batch.jpg

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

13_Batch.jpg

Let’s test.  Success!

14_Batch.jpg

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