To add a Publish to ElasticSearch drag from the Publish to ElasticSearch rule from the Workflow Library and drop to the Workflow Tree where you want to add it. This will automatically open the Publish to ElasticSearch window for the configuration of the publisher.
In the Publish to ElasticSearch window, specify the connection information to publish to the index.
- Name: Enter the name of the publisher. (This name must be unique).
- ElasticSearch URL: Select how you want to enter the ElasticSearch URL
- Host and port
- ElasticSearch Host: Enter the ElasticSearch host.
- ElasticSearch Port: Enter the ElasticSearch port (9200 by default)
- Complete Url
- ElasticSearch URL: Enter the url for the ElasticSearch bulk index endpoint, it must have this format <protocol>://<host>:<port>/_bulk
- ElasticSearch Index: Enter the index to which the jobs are going to be publish.
Groovy Transform: set to the default parameter to use the default JSON transformation file. To use a custom file, follow the instructions in JSON Transformation
HINT: The default file is located at ${appbundle.home}. if user is using other file in the /config/xls folder, the value should be change to ${aspire.home}/config/xls
The user is responsible for ensuring that the location typed in that box is the correct one of the file being used.
- Max Results per request: How many documents can be fetched by the search engine for the same query
- Page size: How many documents to fetch per page
- Id field: Field used to store the id in elasticsearch. Used to compare against the content source audit logs
- Url field: Field used to store the url in elasticsearch
- Timestamp field: the name of the timestamp field holding the index timestamp of every document
- Authentication: Indicates the authentication credentials for the ElasticSearch url, if you are using protocol https, then you must provide authentication credentials
- None: use this setting if you do not need to provide credentials
- Basic: use this setting if your ElasticSearch url requires authorization credentials.
- Username: enter the username required to access the ElasticSearch url.
- Password: enter the password required to access the ElasticSearch url.
- Debug: Check if you want to run the publisher in debug mode.
Note: The Delete by Query feature does not work on Elasticsearch 5.x onward - Click on the Add button.