Field | Required | Default | Multiple | Notes | Example | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
properties | Yes | - | No | Configuration object | |||||||||||||||
elasticNoUrl | Yes | false | No | true / false | |||||||||||||||
elasticUrl | No | - | No | ServiceNow server to be crawled (to be specified without protocol). | Required if elasticNoUrl is false. | "http://myServer:9200"myserver.service-now.com" | |||||||||||||
elasticHost | YesNo | - | No | Number of elements per page to be retrieved with the connection. | Required if elasticNoUrl is true. | "myServer"2000 | |||||||||||||
elasticPort | No | false- | No | If set to true, a crawl will stop when a scan error is found. | Required if elasticNoUrl is true. | "9200"true | |||||||||||||
elasticIndex | Yes | - | No | "test-index" | |||||||||||||||
authType | No | -false | No | If set to true, the entire sys_user is cached as opposed to every user being cached when necessary. | true | ||||||||||||||
transformType | No | true | No | If set to true, the Aggregate API will be used to get counts of rows from the Knowledge and Category tables. | false | ||||||||||||||
Allowed values are: "none", "basic" and "aws". | "none" | ||||||||||||||||||
user | No | - | No | Required if authType is "basic". | "john.doe" | ||||||||||||||
password | No | - | No | Required if authType is "basic". | "myP@ssword11" | ||||||||||||||
awsRegion | No | - | No | Required if authType is "aws". | "us-east-2" | ||||||||||||||
useCredentialsProviderChain | No | false | No | true / false | |||||||||||||||
awsAccessKey | No | - | No | Required if authType is "aws" and useCredentialsProviderChain is false. | "AKIAQYO33L5HIS3N55NN" | ||||||||||||||
awsSecretKey | No | - | No | Required if authType is "aws" and useCredentialsProviderChain is false. | "PPA3Qt+FqUA4Kk07DRS7w4T6Bya1IWebbcqFmqmI" | ||||||||||||||
transformType | Yes | - | No | "JSON" | |||||||||||||||
transformFile | Yes | - | No | "C:\transformfiles\groovy\mytransform.groovy" | |||||||||||||||
processClear | No | false | No | ||||||||||||||||
deleteOnClear | No | false | No | ||||||||||||||||
idleConnectionTimeout | - | No | |||||||||||||||||
maxConnections | - | No | |||||||||||||||||
maxConnectionsPerRoute | - | No | |||||||||||||||||
connectionTimeout | - | No | |||||||||||||||||
socketTimeout | - | No | |||||||||||||||||
useThrottling | - | No | |||||||||||||||||
maxRetries | - | No | |||||||||||||||||
retryWaitTime | - | No | |||||||||||||||||
batchSize | - | No | |||||||||||||||||
simultaneousBatches | - | No | |||||||||||||||||
batchTimeout | - | No | |||||||||||||||||
debug | - | No | transformFile | processClear | idleConnectionTimeout | maxConnections | maxConnectionsPerRoute | connectionTimeout | socketTimeout | useThrottling | maxRetries | retryWaitTime | batchSize | simultaneousBatches | batchTimeout | debug
Code Block | ||||
---|---|---|---|---|
| ||||
{ "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 } } |