Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


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"

The REST API Connection configuration guidelines can be found here.

ServiceNow Connector's Connection type must always be specified as "servicenowElasticsearch Publisher".

The Properties specific to the ServiceNow Connector's Connection Elasticsearch Publisher are described below.

Easy Heading Free
navigationTitleOn this Page
navigationExpandOptionexpand-all-by-default

ServiceNow Connection Properties


FieldRequiredDefaultMultipleNotesExample
propertiesYes-NoConfiguration object
hostelasticNoUrlYes-NoServiceNow server to be crawled (to be specified without protocol)."myserver.service-now.com"
pageSizeelasticHostYes-NoNumber of elements per page to be retrieved with the connection.2000
ignoreScanErrorelasticPortNofalseNoIf set to true, a crawl will stop when a scan error is found.true
cacheEntireUserTableelasticIndexNofalseNoIf set to true, the entire sys_user is cached as opposed to every user being cached when necessary.true
countWithStatstransformTypeNotrueNoIf 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


Code Block
themeRDark
titlePOST /aspire/_api/connections
{
	"type": "application",
	"_type": "servicenowpublisher",
	"description": "ServiceNow Test ConnectionElasticsearchPublisherTest",
	"credentialconfig": "e1664b70-b6ca-42c9-bfa1-7d76a18dd8e1com.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",
		"hosttransformFile": "myserver.service-now.com"${component.home}/config/groovy/transform.groovy",
		"processClear": false,
		"idleConnectionTimeout": 3600000,
		"maxConnections": 100,
		"maxConnectionsPerRoute": 10,
		"connectionTimeout": 15000,
		"pageSizesocketTimeout": 100015000,
		"ignoreScanErroruseThrottling": false,
		"maxRetries": 3,
		"cacheEntireUserTable"retryWaitTime": 5000,
		"batchSize": 50,
		"simultaneousBatches": 5,
		"batchTimeout": false5000,
		"countWithStatsdebug": truefalse
	}
}