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

Compare with Current View Page History

« Previous Version 2 Next »


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

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

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
elasticNoUrlYes-NoServiceNow server to be crawled (to be specified without protocol)."myserver.service-now.com"
elasticHostYes-NoNumber of elements per page to be retrieved with the connection.2000
elasticPortNofalseNoIf set to true, a crawl will stop when a scan error is found.true
elasticIndexNofalseNoIf set to true, the entire sys_user is cached as opposed to every user being cached when necessary.true
transformTypeNotrueNoIf set to true, the Aggregate API will be used to get counts of rows from the Knowledge and Category tables.false
transformFile




processClear




idleConnectionTimeout




maxConnections




maxConnectionsPerRoute




connectionTimeout




socketTimeout




useThrottling




maxRetries




retryWaitTime




batchSize




simultaneousBatches




batchTimeout




debug




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