Questions tagged [opensearch]

Open Search is a document description format for defining an API like interface to execute simple searches on that site. ex: http://example.com/search?q={searchTerms}

Getting started OpenSearch includes a data store and search engine, a visualization and user interface, and a library of plugins you can use to tailor your tools to your requirements. Get started in the way that best suits your team and your environment. To configure your first OpenSearch cluster, you can download the OpenSearch components in a variety of distributions or start with the official Docker Image.

See also: Open Search Sites can declare their Open Search documents inside a <link> tag which browsers can use to download the XML document and present the site specific search to the user. Publishers which support the protocol can implement the following features:

  • Generate RSS and Atom search responses

Clients which implement OpenSearch can provide the following features:

  • Conduct site specific searches by associating a domain to its OSDD URL
  • Generate HTML, Atom and RSS links via autodiscovery

References

931 questions
0
votes
0 answers

How to add hash the whole content of an event in Logstash for OpenSearch?

the problem is the following: I'm investigating how to add some anti-tampering protection to events stored in OpenSearch that are parsed and sent there by Logstash. Info is composed of application logs collected from several hosts. The idea is to…
0
votes
1 answer

Amazon OpenSearch (ElasticSearch) Piped Processing Language, "where" command - How to Filter for "some_field is not null"

I am building a Notebook in AWS OpenSearch (formerly Amazon elasticsearch) and I want to provide a condition to the "where" command excluding documents where a particular field is not null. In SQL this would simply be "where my_field is not null"…
gbegley
  • 2,609
  • 5
  • 29
  • 41
0
votes
0 answers

AWS OpenSearch error not enough master nodes discovered

I have one domain configured on AWS OpenSearch, 3 days ago it starts failing returning HTTP Status code 503 for some requests. There is no clear pattern. A request X sometimes return 503 and sometimes return 200. The error logs of AWS are constantly…
Ignasi
  • 5,887
  • 7
  • 45
  • 81
0
votes
0 answers

Getting "Elasticsearch responded with an error: Forbidden" when connecting to ElasticSearch/OpenSearch datasource from Appsync

I am implementing GraphQL endpoint in AWS AppSync to search data within ElasticSearch/OpenSearch. I've implemented this using the Serverless Framework. serverless.yml service: SearchAPI frameworkVersion: "2" useDotenv: true custom: stage:…
0
votes
1 answer

Weighted Average value over documents in elastic search

I need to calculate the weighted average value using the elastic search, I can't change the structure of the documents. If we assume that there are 2 indexed documents. The first document const doc1 = { "id": "1", "userId: "2", "scores" : [ …
0
votes
1 answer

AWS managed ElasticSearch (now knows as OpenSearch) behind ALB + Okta SSO authentication - not possible?

Am I correct in assuming that it is NOT possible to put AWS managed elasticsearch (opensearch) - Kibana - behind ALB ? I would like to configure ALB so it authenticates with OKTA SSO oidc before redirecting request to Kibana (AWS managed…
0
votes
2 answers

Filebeat configuration with Opensearch in Virtualbox

I have installed Filebeat for forwarding and centralizing log data. Filebeat is mainly used with Elasticsearch (directly sends the transactions). I use Opensearch and OpenSearch Dashboards instead of Elasticsearch and Kibana (Opensearch is a forked…
raven19
  • 1
  • 1
  • 1
0
votes
1 answer

elasticsearch - sum of aggregated values

Let's say I have the following data { "quantity" : 1, "amount" : 10, "discount" : 1 } { "quantity" : 4, "amount" : 12, "discount" : 2 } I can get the aggregated results of these using the following query, { ... "aggs"…
0
votes
1 answer

ElasticSearch: term vs match query decision

Being new to ElasticSearch, need help in my understanding. What I read about term vs match query is that term query is used for exact match and match query is used when we are searching for a term and want result based on a relevancy score. But if…
Vip
  • 1,448
  • 2
  • 17
  • 20
0
votes
1 answer

When no write, why Elasticsearch performs indexing every 'n' seconds?

I have basic question regarding elastic search. As per documentation : By default, Elasticsearch periodically refreshes indices every second, but only on indices that have received one search request or more in the last 30 seconds. Reference:…
Deepak
  • 11
  • 2
0
votes
1 answer

How to use PKI Authentication to use the Opensearch Dashboards API?

I am trying to use OpenSearch Dashboards API (Amazon Kibana fork) to add a search index. I am using version 1.0 and have also setup the security plugin. I have no issues using TLS PKI for interacting with OpenSearch (Elasticsearch). However,…
0
votes
2 answers

Adding a new document to a separate index using Elasticsearch processors

Is there a way to populate a separate index when I index some document(s)? Let's assume I have something like: PUT person/_doc/1 { "name": "Jonh Doe", "languages": ["english", "spanish"] } PUT person/_doc/2 { "name": "Jane Doe", …
DavidEG
  • 5,857
  • 3
  • 29
  • 44
0
votes
0 answers

Openserach url with "+"

Good morning, Sorry my english, I have a problem with opensearch when I generate url with character "+" when searching more than one word. I read about "allowDoubleEscaping" in web.config, but seems to be dangerous. Is there something I can do to…
0
votes
1 answer

How to search the internet for pages containing specified terms and storing the results in a data table, from within R, using OpenSearch

I am setting up a database of certain events that have occurred in the past, and need to search the internet for a number of terms to retrieve as many pages as possible that contain terms related to the happenings i want to document. First I looked…
Nowak
  • 135
  • 2
  • 14
0
votes
1 answer

How do I get the value of the from an xml doc tag in Javascript?

I am successfully parsing an xml document in javascript, having read it in via an XMLHttpRequest I now want to grab one additional piece of info. The feed I'm reading contains this tag 118 How do I…