You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »


Elasticsearch Publisher's "type" must always be specified as "application".

Elasticsearch Publisher's "_type" must always be specified as "publisher".

Elasticsearch Publisher's "description" must be a descriptive string without spaces.

Elasticsearch Publisher's "config" must always be specified as "com.accenture.aspire:aspire-elasticsearch-publisher-source".

Elasticsearch Publisher's "appType" must always be specified as "elasticsearch-publisher".

Elasticsearch Publisher's "appName" must always be specified as "Elasticsearch Publisher".

The Properties specific to the Elasticsearch Publisher are described below.

ServiceNow Connection Properties


FieldRequiredDefaultMultipleNotesExample
propertiesYes-NoConfiguration object
elasticNoUrlYesfalseNo
true / false
elasticUrlNo-NoRequired if elasticNoUrl is false."http://myServer:9200"
elasticHostNo-NoRequired if elasticNoUrl is true.
"myServer"
elasticPortNo-NoRequired if elasticNoUrl is true."9200"
elasticIndexYes-No
"test-index"
authTypeNo-NoAllowed values are: "none", "basic" and "aws"."none"
userNo-NoRequired if authType is "basic"."john.doe"
passwordNo-NoRequired if authType is "basic"."myP@ssword11"
awsRegionNo-NoRequired if authType is "aws"."us-east-2"
useCredentialsProviderChainNofalseNo
true / false
awsAccessKeyNo-NoRequired if authType is "aws" and useCredentialsProviderChain is false."AKIAQYO33L5HIS3N55NN"
awsSecretKeyNo-NoRequired if authType is "aws" and useCredentialsProviderChain is false."PPA3Qt+FqUA4Kk07DRS7w4T6Bya1IWebbcqFmqmI"
transformTypeYes-No
"JSON"
transformFileYes-No
"C:\transformfiles\groovy\mytransform.groovy"
processClearNofalseNo

deleteOnClearNofalseNo

idleConnectionTimeout
-No

maxConnections
-No

maxConnectionsPerRoute
-No

connectionTimeout
-No

socketTimeout
-No

useThrottling
-No

maxRetries
-No

retryWaitTime
-No

batchSize
-No

simultaneousBatches
-No

batchTimeout
-No

debug
-No

Create example


POST /aspire/_api/connections
{
	"type": "application",
	"_type": "publisher",
	"description": "ElasticsearchPublisherTest",
	"config": "com.accenture.aspire:aspire-elasticsearch-publisher-source",
	"appType": "elasticsearch-publisher",
	"appName": "Elasticsearch Publisher",
	"properties": {
		"elasticNoUrl": true,
		"elasticHost": "myEShost",
		"elasticPort": 9200,
		"elasticIndex": "test-index",
		"authType": "none",
		"transformType": "JSON",
		"transformFile": "${component.home}/config/groovy/transform.groovy",
		"processClear": false,
		"idleConnectionTimeout": 3600000,
		"maxConnections": 100,
		"maxConnectionsPerRoute": 10,
		"connectionTimeout": 15000,
		"socketTimeout": 15000,
		"useThrottling": false,
		"maxRetries": 3,
		"retryWaitTime": 5000,
		"batchSize": 50,
		"simultaneousBatches": 5,
		"batchTimeout": 5000,
		"debug": false
	}
}



  • No labels