# Elasticsearch

**URL:** https://discuss.elastic.co/c/elastic-stack/elasticsearch/6.md?page=485

[Latest](https://discuss.elastic.co/latest.md) · [Categories](https://discuss.elastic.co/categories.md) · [Tags](https://discuss.elastic.co/tags.md)

**Page:** 486

---

## [Docker Elasticsearch up but not connecting python script](https://discuss.elastic.co/t/docker-elasticsearch-up-but-not-connecting-python-script/298360)

<div class="topic-metadata">

**Author:** [@Dilip\_Kumar](https://discuss.elastic.co/u/Dilip_Kumar)\
**Replies:** 1\
**Last updated:** [February 28, 2022, 12:10am UTC](https://discuss.elastic.co/t/docker-elasticsearch-up-but-not-connecting-python-script/298360 "2022-02-28T00:10:17Z")

</div>

Hi, I am have install Elasticsearch with docker it up but not able to make connection from python client. docker-compose.yaml version: '2.2' services: elasticsearch: image: docker.elastic.co/elasticsearch/elasti…

---

## [Transforming documents after they have been retrieved?](https://discuss.elastic.co/t/transforming-documents-after-they-have-been-retrieved/298213)

<div class="topic-metadata">

**Author:** [@mafej](https://discuss.elastic.co/u/mafej)\
**Replies:** 2\
**Last updated:** [February 27, 2022, 11:34pm UTC](https://discuss.elastic.co/t/transforming-documents-after-they-have-been-retrieved/298213 "2022-02-27T23:34:20Z")

</div>

I'm wondering, is there functionality similar to ingest pipelines, but for output instead of input? Being able to transform data when it's ingested is nice, but what about the opposite of that, transforming documents aft…

---

## [SAML authentication request scoping (using IDP proxy)](https://discuss.elastic.co/t/saml-authentication-request-scoping-using-idp-proxy/297932)

<div class="topic-metadata">

**Author:** [@Cap\_Ho](https://discuss.elastic.co/u/Cap_Ho)\
**Replies:** 5\
**Last updated:** [February 27, 2022, 4:04pm UTC](https://discuss.elastic.co/t/saml-authentication-request-scoping-using-idp-proxy/297932 "2022-02-27T16:04:34Z")

</div>

Hi all, I am now trying to test the ELK do auth using SAML. the basic flow is ok since i may follow the documentation. But i think that one of the case is not fit. i would like to use ELK as SP and connect to a IDP prox…

---

## [Help getting started with text embeddings](https://discuss.elastic.co/t/help-getting-started-with-text-embeddings/297185)

<div class="topic-metadata">

**Author:** [@spruitt](https://discuss.elastic.co/u/spruitt)\
**Replies:** 2\
**Last updated:** [February 27, 2022, 1:41pm UTC](https://discuss.elastic.co/t/help-getting-started-with-text-embeddings/297185 "2022-02-27T13:41:55Z")

</div>

I am getting up to speed with semantic search. I started with a repository link I found in the blog "Text similarity search with vector fields." It's Python starter code. I'm having problems from the start. A lot of …

---

## [How to setup pipline to extract file using grok in Elastic if the timestamp format is "20Aug21 20:36:07.058931 @fsafsasfdasdsadasd"](https://discuss.elastic.co/t/how-to-setup-pipline-to-extract-file-using-grok-in-elastic-if-the-timestamp-format-is-20aug21-2007-058931-fsafsasfdasdsadasd/298108)

<div class="topic-metadata">

**Author:** [@chenx319](https://discuss.elastic.co/u/chenx319)\
**Replies:** 8\
**Last updated:** [February 27, 2022, 12:30pm UTC](https://discuss.elastic.co/t/how-to-setup-pipline-to-extract-file-using-grok-in-elastic-if-the-timestamp-format-is-20aug21-2007-058931-fsafsasfdasdsadasd/298108 "2022-02-27T12:30:06Z")

</div>

one of my log ,and the format is like as follows: 20Aug21 20:36:07.058931 @fsafsasfdasdsadasd I want to extract 20Aug21 20:36:07.058931 to a date type field. I tried: PUT /\_ingest/pipeline/xxx-log { "processors":\[ …

---

## [Age from year of birth](https://discuss.elastic.co/t/age-from-year-of-birth/298280)

<div class="topic-metadata">

**Author:** [@Anand\_p\_s](https://discuss.elastic.co/u/Anand_p_s)\
**Replies:** 3\
**Last updated:** [February 26, 2022, 7:05pm UTC](https://discuss.elastic.co/t/age-from-year-of-birth/298280 "2022-02-26T19:05:29Z")

</div>

Sir, I need to do a range aggeration for age ,from year of birth field. How it possible . Pls help

---

## [Failed to start Elasticsearch, error code status 143](https://discuss.elastic.co/t/failed-to-start-elasticsearch-error-code-status-143/298303)

<div class="topic-metadata">

**Author:** [@shiva1](https://discuss.elastic.co/u/shiva1)\
**Replies:** 2\
**Last updated:** [February 26, 2022, 11:42am UTC](https://discuss.elastic.co/t/failed-to-start-elasticsearch-error-code-status-143/298303 "2022-02-26T11:42:42Z")

</div>

Hi, I am new to installing Elasticsearch, I did install Elasticsearch in debian buster 10, and when trying to start the Elasticsearch have the issue, it fails to start with (code=exited, status=143) Output : root@ip…

---

## [Document level security alternatives for indexing requests](https://discuss.elastic.co/t/document-level-security-alternatives-for-indexing-requests/298328)

<div class="topic-metadata">

**Author:** [@duongcongtoai](https://discuss.elastic.co/u/duongcongtoai)\
**Replies:** 0\
**Last updated:** [February 26, 2022, 9:56am UTC](https://discuss.elastic.co/t/document-level-security-alternatives-for-indexing-requests/298328 "2022-02-26T09:56:38Z")

</div>

At my company, i use Elasticsearch to store data of multiple tenants, and go with the approach using 1 index to store 1 document type for all tenants. I'm adopting Elasticsearch document level security, and all read req…

---

## [Unable to submit fluentd logs to elasticsearch](https://discuss.elastic.co/t/unable-to-submit-fluentd-logs-to-elasticsearch/298326)

<div class="topic-metadata">

**Author:** [@rugby2312](https://discuss.elastic.co/u/rugby2312)\
**Replies:** 0\
**Last updated:** [February 26, 2022, 6:37am UTC](https://discuss.elastic.co/t/unable-to-submit-fluentd-logs-to-elasticsearch/298326 "2022-02-26T06:37:10Z")

</div>

I want to send some nginx logs from fluentd to Elasticsearch , however, fluentd is unable to start due to following error message: The client is unable to verify that the server is Elasticsearch. Some functionality may …

---

## [Elasticsearch Startup Error with NFS repo for backup](https://discuss.elastic.co/t/elasticsearch-startup-error-with-nfs-repo-for-backup/297864)

<div class="topic-metadata">

**Author:** [@Avnish\_Singh](https://discuss.elastic.co/u/Avnish_Singh)\
**Replies:** 5\
**Last updated:** [February 26, 2022, 6:29am UTC](https://discuss.elastic.co/t/elasticsearch-startup-error-with-nfs-repo-for-backup/297864 "2022-02-26T06:29:42Z")

</div>

Elasticsearch doesn't start with repo as NFS mount-point. Elasticsearch Version: \[root@ip-10-92-3-133 ~\]# curl -XGET localhost:9200 { "name" : "ip-10-92-3-133.ap-south-1.compute.internal", "cluster\_name" : "elastic…

---

## [Restore an index on single node only](https://discuss.elastic.co/t/restore-an-index-on-single-node-only/298250)

<div class="topic-metadata">

**Author:** [@rihad](https://discuss.elastic.co/u/rihad)\
**Replies:** 4\
**Last updated:** [February 26, 2022, 6:04am UTC](https://discuss.elastic.co/t/restore-an-index-on-single-node-only/298250 "2022-02-26T06:04:20Z")

</div>

Hi, we have a 3-node ES cluster. Each node provides both master-eligible & data role. Is it possible to restore an index there temporarily without spreading its contents across all nodes? Just the current node or the cur…

---

## [I tried to check if the server running by typing "http://localhost:9200/\_status" but i got on the browser "ERR\_EMPTY\_RESPONSE"](https://discuss.elastic.co/t/i-tried-to-check-if-the-server-running-by-typing-http-localhost-9200-status-but-i-got-on-the-browser-err-empty-response/298191)

<div class="topic-metadata">

**Author:** [@moazmahmoud\_saad](https://discuss.elastic.co/u/moazmahmoud_saad)\
**Replies:** 2\
**Last updated:** [February 26, 2022, 12:40am UTC](https://discuss.elastic.co/t/i-tried-to-check-if-the-server-running-by-typing-http-localhost-9200-status-but-i-got-on-the-browser-err-empty-response/298191 "2022-02-26T00:40:07Z")

</div>

i tried to check if the server running by typing "http://localhost:9200/\_status" but i got on the browser "ERR\_EMPTY\_RESPONSE" and here what is printed on the cmd (windows) \[2022-02-24T18:48:46,917\]\[INFO \]\[o.e.g.Gatewa…

---

## [Accessing end of dataset with search\_after](https://discuss.elastic.co/t/accessing-end-of-dataset-with-search-after/298212)

<div class="topic-metadata">

**Author:** [@TonyxSun](https://discuss.elastic.co/u/TonyxSun)\
**Replies:** 1\
**Last updated:** [February 26, 2022, 2:04am UTC](https://discuss.elastic.co/t/accessing-end-of-dataset-with-search-after/298212 "2022-02-26T02:04:22Z")

</div>

Hello, We are using search\_after to populate and paginate a data grid using fetch requests from an index with around 200,000 documents. We would like to include a "jump to last page" button in our table, but search\_afte…

---

## [How to reindex only 1 shard of source\_index to a destination\_index?](https://discuss.elastic.co/t/how-to-reindex-only-1-shard-of-source-index-to-a-destination-index/298301)

<div class="topic-metadata">

**Author:** [@ztesky](https://discuss.elastic.co/u/ztesky)\
**Replies:** 0\
**Last updated:** [February 25, 2022, 4:14pm UTC](https://discuss.elastic.co/t/how-to-reindex-only-1-shard-of-source-index-to-a-destination-index/298301 "2022-02-25T16:14:32Z")

</div>

Using Re-index API is it possible to incrementally move data only belonging to a certain shard of source\_index (which has routing set up by productId) to another shard of a destination\_index in the same cluster?

---

## [Index does not refresh on time](https://discuss.elastic.co/t/index-does-not-refresh-on-time/298281)

<div class="topic-metadata">

**Author:** [@sunny3794.ad](https://discuss.elastic.co/u/sunny3794.ad)\
**Replies:** 2\
**Last updated:** [February 25, 2022, 4:10pm UTC](https://discuss.elastic.co/t/index-does-not-refresh-on-time/298281 "2022-02-25T16:10:07Z")

</div>

Hello everyone. I am using the Python API for Elasticsearch to create indices and insert the data from multiple csv files into those indices. I am also creating the index patterns using python and Kibana API. While ins…

---

## [Increase score for single word matches (plural / singular) versus multiple words matches?](https://discuss.elastic.co/t/increase-score-for-single-word-matches-plural-singular-versus-multiple-words-matches/298297)

<div class="topic-metadata">

**Author:** [@Davide\_Scalzo](https://discuss.elastic.co/u/Davide_Scalzo)\
**Replies:** 0\
**Last updated:** [February 25, 2022, 3:38pm UTC](https://discuss.elastic.co/t/increase-score-for-single-word-matches-plural-singular-versus-multiple-words-matches/298297 "2022-02-25T15:38:12Z")

</div>

So I am trying to build an e-commerce like engine and I'd like to improve my queries / indexing to cater for the following scenario. Sample index using english\_minimal to match stuff like dress with dresses but not dres…

---

## [Cross Cluster Search Issue - index\_not\_found\_exception](https://discuss.elastic.co/t/cross-cluster-search-issue-index-not-found-exception/298296)

<div class="topic-metadata">

**Author:** [@lmariselvam](https://discuss.elastic.co/u/lmariselvam)\
**Replies:** 0\
**Last updated:** [February 25, 2022, 3:25pm UTC](https://discuss.elastic.co/t/cross-cluster-search-issue-index-not-found-exception/298296 "2022-02-25T15:25:45Z")

</div>

To perform a cross cluster search, I've added the remote cluster using cluster settings API and also confirmed the transport port(9300) of remote cluster seeds are reachable from the search request origin cluster. Below …

---

## [ECK Elasticsearch node state "Invalid" after install node using yaml file](https://discuss.elastic.co/t/eck-elasticsearch-node-state-invalid-after-install-node-using-yaml-file/298288)

<div class="topic-metadata">

**Author:** [@wahyu\_saputro](https://discuss.elastic.co/u/wahyu_saputro)\
**Replies:** 0\
**Last updated:** [February 25, 2022, 2:01pm UTC](https://discuss.elastic.co/t/eck-elasticsearch-node-state-invalid-after-install-node-using-yaml-file/298288 "2022-02-25T14:01:22Z")

</div>

if follow the guide from Quickstart | Elastic Cloud on Kubernetes \[1.0\] | Elastic, but after install node using following yaml code, apiVersion: elasticsearch.k8s.elastic.co/v1 kind: Elasticsearch metadata: name: qu…

---

## [How to install ECK on GKE, with 2 environment (production and development)](https://discuss.elastic.co/t/how-to-install-eck-on-gke-with-2-environment-production-and-development/298290)

<div class="topic-metadata">

**Author:** [@wahyu\_saputro](https://discuss.elastic.co/u/wahyu_saputro)\
**Replies:** 0\
**Last updated:** [February 25, 2022, 2:14pm UTC](https://discuss.elastic.co/t/how-to-install-eck-on-gke-with-2-environment-production-and-development/298290 "2022-02-25T14:14:15Z")

</div>

i follow instructions from : Quickstart | Elastic Cloud on Kubernetes \[1.0\] | Elastic. but i am wondering how to differentiate the installation between ECK for production and ECK for development. should i install Elast…

---

## [ES6.8 cluster vs Stack monitoring interval change](https://discuss.elastic.co/t/es6-8-cluster-vs-stack-monitoring-interval-change/298278)

<div class="topic-metadata">

**Author:** [@stefws](https://discuss.elastic.co/u/stefws)\
**Replies:** 1\
**Last updated:** [February 25, 2022, 1:48pm UTC](https://discuss.elastic.co/t/es6-8-cluster-vs-stack-monitoring-interval-change/298278 "2022-02-25T13:48:30Z")

</div>

I know v.6.8 is EoL :slight\_smile: but still... Attempting to increase stack monitoring interval from 10s to 1m and wondering why it seems to make data disappear from the Overview dash, when sampling seems to have chan…

---

## [Not understading how Integrations mappings work](https://discuss.elastic.co/t/not-understading-how-integrations-mappings-work/296878)

<div class="topic-metadata">

**Author:** [@Crash30920](https://discuss.elastic.co/u/Crash30920)\
**Replies:** 2\
**Last updated:** [February 25, 2022, 1:31pm UTC](https://discuss.elastic.co/t/not-understading-how-integrations-mappings-work/296878 "2022-02-25T13:31:08Z")

</div>

Hello, I am extremely new to ELK and I think there is something fundamental that I am not understanding. All software packages are installed and I have data flowing to my self managed instance using a Logstash.conf fil…

---

## [Rolling back ES database from 7.16 to 7.10](https://discuss.elastic.co/t/rolling-back-es-database-from-7-16-to-7-10/298263)

<div class="topic-metadata">

**Author:** [@tullhe](https://discuss.elastic.co/u/tullhe)\
**Replies:** 5\
**Last updated:** [February 25, 2022, 11:54am UTC](https://discuss.elastic.co/t/rolling-back-es-database-from-7-16-to-7-10/298263 "2022-02-25T11:54:33Z")

</div>

Hello fellow Elasticos I've got an ES database that I accidentally upgraded to 7.16 following a stupid apt-get update For it to remain compatible with my applications, I need to roll it back to 7.10 There doesn't seem…

---

## [Configure SSL with organization provided certificates](https://discuss.elastic.co/t/configure-ssl-with-organization-provided-certificates/298160)

<div class="topic-metadata">

**Author:** [@discuss\_lipak](https://discuss.elastic.co/u/discuss_lipak)\
**Replies:** 1\
**Last updated:** [February 25, 2022, 11:37am UTC](https://discuss.elastic.co/t/configure-ssl-with-organization-provided-certificates/298160 "2022-02-25T11:37:08Z")

</div>

We are trying to configure security in Elasticsearch cluster with the instructions provided in the official documentation for 7,16,3 version. Our organization provides us with the certificates in .p12 format and truststo…

---

## [Unable to generate client certificate for fluentd from elasticsearch cluster 8.0.0](https://discuss.elastic.co/t/unable-to-generate-client-certificate-for-fluentd-from-elasticsearch-cluster-8-0-0/298129)

<div class="topic-metadata">

**Author:** [@Abdul\_Gaffar\_Shaikh](https://discuss.elastic.co/u/Abdul_Gaffar_Shaikh)\
**Replies:** 1\
**Last updated:** [February 25, 2022, 11:12am UTC](https://discuss.elastic.co/t/unable-to-generate-client-certificate-for-fluentd-from-elasticsearch-cluster-8-0-0/298129 "2022-02-25T11:12:41Z")

</div>

hi Team , this is in continuation from the question raised for v8 elastic and kibana installation i was successfully able to create 5 node cluster and kibana, but since we have fluentd aggregator , i was unable to sen…

---

## [How does elastic-serverless-forwarder resolve dns?](https://discuss.elastic.co/t/how-does-elastic-serverless-forwarder-resolve-dns/298270)

<div class="topic-metadata">

**Author:** [@TheKristoffer](https://discuss.elastic.co/u/TheKristoffer)\
**Replies:** 0\
**Last updated:** [February 25, 2022, 11:05am UTC](https://discuss.elastic.co/t/how-does-elastic-serverless-forwarder-resolve-dns/298270 "2022-02-25T11:05:39Z")

</div>

Hello, I'm trying to make the elastic-serverless-forwarder lambda function use AWS Private Link as output - but I'm not sure if the lambda function will use the VPC forwarder (the default one on .2) so the dns will reso…

---

## [Duplicate results](https://discuss.elastic.co/t/duplicate-results/295808)

<div class="topic-metadata">

**Author:** [@motoki](https://discuss.elastic.co/u/motoki)\
**Replies:** 10\
**Last updated:** [February 25, 2022, 7:12am UTC](https://discuss.elastic.co/t/duplicate-results/295808 "2022-02-25T07:12:20Z")

</div>

Elasticsearch.... . 7.4 Status... Duplicate results were seen in pagination search results when there were multiple data nodes, regardless of whether there was a dedicated master or not (the same was true when specifyin…

---

## [Query Recall Vs Precision](https://discuss.elastic.co/t/query-recall-vs-precision/298235)

<div class="topic-metadata">

**Author:** [@RabBit\_BR](https://discuss.elastic.co/u/RabBit_BR)\
**Replies:** 0\
**Last updated:** [February 25, 2022, 3:34am UTC](https://discuss.elastic.co/t/query-recall-vs-precision/298235 "2022-02-25T03:34:17Z")

</div>

Hello everybody. I would like some help to maintain the accuracy of my query and still have a minimal recall of results. Today I have some documents that have generic terms, and these terms retrieve products that outs…

---

## [ES 8.0 RPM Install - libjli.so cannot be located launching scripts/binaries from the bin directory - RHEL 8](https://discuss.elastic.co/t/es-8-0-rpm-install-libjli-so-cannot-be-located-launching-scripts-binaries-from-the-bin-directory-rhel-8/298105)

<div class="topic-metadata">

**Author:** [@qadv](https://discuss.elastic.co/u/qadv)\
**Replies:** 2\
**Last updated:** [February 25, 2022, 1:17am UTC](https://discuss.elastic.co/t/es-8-0-rpm-install-libjli-so-cannot-be-located-launching-scripts-binaries-from-the-bin-directory-rhel-8/298105 "2022-02-25T01:17:41Z")

</div>

I am deploying a new ES cluster running 8.0 using RHEL 8.5. Fairly vanilla deployment and Elasticsearch is running on the first node with auto-security used, no JVM installed (using built-in). SELINUX is permissive. Ela…

---

## [8.X Python API call for data stream creation](https://discuss.elastic.co/t/8-x-python-api-call-for-data-stream-creation/298230)

<div class="topic-metadata">

**Author:** [@RogerS](https://discuss.elastic.co/u/RogerS)\
**Replies:** 0\
**Last updated:** [February 24, 2022, 11:48pm UTC](https://discuss.elastic.co/t/8-x-python-api-call-for-data-stream-creation/298230 "2022-02-24T23:48:45Z")

</div>

I am trying to move to data streams and have issues with 8. x File "/scripts/bin/test/test.py", line 49 response = es.cluster.put\_component\_template(name="icd6\_settings", template: icd6\_template ) ^ SyntaxError: pos…

---

## [Elastic search optimistic concurrency control not working as expected](https://discuss.elastic.co/t/elastic-search-optimistic-concurrency-control-not-working-as-expected/298208)

<div class="topic-metadata">

**Author:** [@reddroid](https://discuss.elastic.co/u/reddroid)\
**Replies:** 3\
**Last updated:** [February 24, 2022, 10:47pm UTC](https://discuss.elastic.co/t/elastic-search-optimistic-concurrency-control-not-working-as-expected/298208 "2022-02-24T22:47:35Z")

</div>

Hi, We are using Elasticsearch version 7.16.2 with the Java Rest client to process and store documents in Elasticsearch in a Spring application . We are noticing this intermittent issue where documents with lower seq n…

[Previous page](https://discuss.elastic.co/c/elastic-stack/elasticsearch/6.md?page=484)

[Next page](https://discuss.elastic.co/c/elastic-stack/elasticsearch/6.md?page=486)
