POST /v1/sourceTemplate
Create source Template.
Servers
- https://api.au.sumologic.com/api/
- https://api.ca.sumologic.com/api/
- https://api.de.sumologic.com/api/
- https://api.eu.sumologic.com/api/
- https://api.fed.sumologic.com/api/
- https://api.jp.sumologic.com/api/
- https://api.kr.sumologic.com/api/
- https://api.in.sumologic.com/api/
- https://api.sumologic.com/api/
- https://api.us2.sumologic.com/api/
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
selector |
Object | No |
Agent selector conditions |
selector.names[] |
Array | No |
names to select custom agents |
selector.tags[] |
Array | No |
tags filter for agents |
schemaRef |
Object | Yes |
schema reference for source template. |
schemaRef.type |
String | Yes |
type of source template. |
inputJson |
Object | Yes |
inputJson of source template |
inputJson.name |
String | Yes |
name of source template. |
inputJson.description |
String | No |
description of source template |
inputJson.receivers |
Object | Yes |
receiver information of source template |
inputJson.processors |
Object | No |
processors for source template |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.