OpenSearch
Procedures and concepts for the OpenSearch integration.
Overview
OpenSearch is a distributed, open-source search and analytics suite used for a broad set of use cases like real-time application monitoring, log analytics, and website search. This integration enables automated index management, document indexing, search operations, and data analytics workflows. Leverage powerful search capabilities and streamline data discovery processes.
Prerequisites
1. Required Books
The following Book(s) need to be added to your agent so it can learn and understand the automation procedures defined within them:
OpenSearch
How to Add the Book(s)
Go to Books → All Books.
Search for the name of the book and click on it.
Click on Install or Add Connection to add the book to your agent.
If adding a connection, you'll be prompted for connectivity details.
Connectivity
This section outlines the available methods for connecting to the Book, along with the required configuration details for each.
Connect using Hosts, Username and Password
Connect via http credentials
Hosts
comma-separated hosts
text
Username
the username for http auth
text
Password
The password for http auth
sensitive
Procedures
to create a (document) in opensearch
Create a document in opensearch
Input Concepts
index name
The name of the index.
text
Yes
(no default)
document
The document to be indexed.
json
Yes
(no default)
document id
The optional ID for the document.
text
No
(no default)
Output Concepts
Examples
create a document in opensearch
create a document in opensearch with a specific id
to delete a document from opensearch
Delete a document from opensearch
Input Concepts
Examples
to get a (document) from opensearch
Get a document from opensearch by its ID
Input Concepts
index name
The name of the index.
text
Yes
(no default)
document id
The ID of the document to retrieve.
text
Yes
(no default)
Output Concepts
Examples
get an document from opensearch
to query some (documents) from opensearch
Query documents from Opensearch
Input Concepts
index name
single index name, or comma separated index or aliases to search on.
text
Yes
(no default)
query type
the type of query to perform
enum[fuzzy, match, prefix, simple, term]
No
{'class_name': 'QueryType', 'name': 'MATCH', 'value': 'match'}
Output Concepts
Examples
query some documents from opensearch
query some documents from opensearch with filter expression
query some documents from opensearch with filter expression and fuzzy query type
to update a (document) in opensearch
Update a document in opensearch
Input Concepts
Output Concepts
Examples
Concepts
Opensearch document
Represents an Document in Opensearch.
id
The ID of the document.
text
index_name
The name of the index the document belongs to.
text
source
The document values.
json
Last updated
Was this helpful?

