# Elasticsearch

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

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

**Page:** 440

---

## [Not Getting Logs in Elastic Stack](https://discuss.elastic.co/t/not-getting-logs-in-elastic-stack/305025)

<div class="topic-metadata">

**Author:** [@Rajesh119](https://discuss.elastic.co/u/Rajesh119)\
**Replies:** 19\
**Last updated:** [May 18, 2022, 1:13pm UTC](https://discuss.elastic.co/t/not-getting-logs-in-elastic-stack/305025 "2022-05-18T13:13:37Z")

</div>

Hi, i recently install latest version of elastic stack(Elasticsearch, kibana, logstash and filebeat) but iam not getting logs in elastic stack. please any one help me. curl -X GET "localhost:9200/\_cat/indices?v" outp…

---

## [Script alerts](https://discuss.elastic.co/t/script-alerts/305056)

<div class="topic-metadata">

**Author:** [@bdaniel7](https://discuss.elastic.co/u/bdaniel7)\
**Replies:** 1\
**Last updated:** [May 18, 2022, 1:02pm UTC](https://discuss.elastic.co/t/script-alerts/305056 "2022-05-18T13:02:26Z")

</div>

Hi, Is it possible to define alerts as Painless scripts? So I don't have to use the web interface on each environment where I install ELK?

---

## [New Java API client BulkRequest lacks documentation/features](https://discuss.elastic.co/t/new-java-api-client-bulkrequest-lacks-documentation-features/304809)

<div class="topic-metadata">

**Author:** [@frankmontyne](https://discuss.elastic.co/u/frankmontyne)\
**Replies:** 2\
**Last updated:** [May 18, 2022, 12:55pm UTC](https://discuss.elastic.co/t/new-java-api-client-bulkrequest-lacks-documentation-features/304809 "2022-05-18T12:55:35Z")

</div>

Can somebody show me a more elaborate example of using the new Java API BulkRequest? I used to be able to set things like bulk size, bulk actions, concurrent requests,... I already took a look at elasticsearch-java/Requ…

---

## [Remove fields based on a regex in the ingest pipeline](https://discuss.elastic.co/t/remove-fields-based-on-a-regex-in-the-ingest-pipeline/304447)

<div class="topic-metadata">

**Author:** [@Althea\_Vestrit](https://discuss.elastic.co/u/Althea_Vestrit)\
**Replies:** 2\
**Last updated:** [May 18, 2022, 11:23am UTC](https://discuss.elastic.co/t/remove-fields-based-on-a-regex-in-the-ingest-pipeline/304447 "2022-05-18T11:23:23Z")

</div>

Hello, I use elastic-agents to save docker logs by using the "Custom logs" integration. When uploading logs, fields are added according to the labels of the different containers from which the logs are retrieved. Howe…

---

## [ILM forcemerge of empty index takes ~5 minutes](https://discuss.elastic.co/t/ilm-forcemerge-of-empty-index-takes-5-minutes/305048)

<div class="topic-metadata">

**Author:** [@nisow95612](https://discuss.elastic.co/u/nisow95612)\
**Replies:** 0\
**Last updated:** [May 18, 2022, 10:46am UTC](https://discuss.elastic.co/t/ilm-forcemerge-of-empty-index-takes-5-minutes/305048 "2022-05-18T10:46:03Z")

</div>

This is a minor observation on 7.17: When ILM tries to forcemerge a new & completely empty index, it takes surprisingly long. I often reindex like this: I first create and empty index with index.lifecycle.origination\_d…

---

## [Is a Authentication neccessary?](https://discuss.elastic.co/t/is-a-authentication-neccessary/304656)

<div class="topic-metadata">

**Author:** [@frankmehlhop](https://discuss.elastic.co/u/frankmehlhop)\
**Replies:** 16\
**Last updated:** [May 18, 2022, 8:45am UTC](https://discuss.elastic.co/t/is-a-authentication-neccessary/304656 "2022-05-18T08:45:01Z")

</div>

Hi, I installed Elastic and Kibana localy on my device and I create a index. Than I create a C# console project using .NET6.0 and Visual Studio as described here. But I can't get it running. The problem I described he…

---

## [About the implements of alias, addAlias and removeAlias](https://discuss.elastic.co/t/about-the-implements-of-alias-addalias-and-removealias/305013)

<div class="topic-metadata">

**Author:** [@xingzhao](https://discuss.elastic.co/u/xingzhao)\
**Replies:** 3\
**Last updated:** [May 18, 2022, 7:32am UTC](https://discuss.elastic.co/t/about-the-implements-of-alias-addalias-and-removealias/305013 "2022-05-18T07:32:35Z")

</div>

Hello, I would like to ask about the methods of alias, how are addAlias and removeAlias implemented? How do they avoid problems with atomicity among other operations? For example, how to ensure that the alias information…

---

## [Elasticsearch with Go and Docker](https://discuss.elastic.co/t/elasticsearch-with-go-and-docker/305008)

<div class="topic-metadata">

**Author:** [@mrfirdauss-20](https://discuss.elastic.co/u/mrfirdauss-20)\
**Replies:** 2\
**Last updated:** [May 18, 2022, 4:21am UTC](https://discuss.elastic.co/t/elasticsearch-with-go-and-docker/305008 "2022-05-18T04:21:43Z")

</div>

I use docker and Elasticsearch, i got confused, when i set the Elasticsearch url (when initialize it) in golang to "Elasticsearch:9200", the massages shows \> "health check timeout: no Elasticsearch node available" but …

---

## [Refresh\_interval and segment size](https://discuss.elastic.co/t/refresh-interval-and-segment-size/305011)

<div class="topic-metadata">

**Author:** [@hechangqin](https://discuss.elastic.co/u/hechangqin)\
**Replies:** 1\
**Last updated:** [May 18, 2022, 3:11am UTC](https://discuss.elastic.co/t/refresh-interval-and-segment-size/305011 "2022-05-18T03:11:02Z")

</div>

Hi Elastic Team. In my current cluster, refresh\_interval is set to 5m , cluster jvm heap memory is 8g , index.buffer defaults to 10% , but when I continue to index, I still find very small segments, such as a few kb . Ac…

---

## [Using TermsQuery in Java API Client \[7.17\]](https://discuss.elastic.co/t/using-termsquery-in-java-api-client-7-17/304904)

<div class="topic-metadata">

**Author:** [@Vipul\_Kumar](https://discuss.elastic.co/u/Vipul_Kumar)\
**Replies:** 2\
**Last updated:** [May 17, 2022, 5:37pm UTC](https://discuss.elastic.co/t/using-termsquery-in-java-api-client-7-17/304904 "2022-05-17T17:37:30Z")

</div>

I'm using Java API Client \[7.17\] in my project. I'm able to do most of the queries, but I'm trying to figure out how to search for multiple values in a particular fields and return values containing any of the values pro…

---

## [Unexpected results when filtering docs in nested field](https://discuss.elastic.co/t/unexpected-results-when-filtering-docs-in-nested-field/304960)

<div class="topic-metadata">

**Author:** [@OmarDacca](https://discuss.elastic.co/u/OmarDacca)\
**Replies:** 2\
**Last updated:** [May 17, 2022, 5:06pm UTC](https://discuss.elastic.co/t/unexpected-results-when-filtering-docs-in-nested-field/304960 "2022-05-17T17:06:28Z")

</div>

Hi, suppose we have the following docs: (index name is test\_index) { session\_id: "123", "session\_details":\[ { "page": "/abc" }, { "page": "/xyz" } \] }…

---

## [Elasticsearch Weight query](https://discuss.elastic.co/t/elasticsearch-weight-query/304975)

<div class="topic-metadata">

**Author:** [@painless\_elastic](https://discuss.elastic.co/u/painless_elastic)\
**Replies:** 0\
**Last updated:** [May 17, 2022, 4:58pm UTC](https://discuss.elastic.co/t/elasticsearch-weight-query/304975 "2022-05-17T16:58:24Z")

</div>

I tried finding the example queries where weight param is used to do relevancy and scoring, but couldn't; able to do so. Is it possible to add weight in the search query similar to boost in the Elasticsearch community e…

---

## [New to ELK and need some help with existing environment](https://discuss.elastic.co/t/new-to-elk-and-need-some-help-with-existing-environment/304885)

<div class="topic-metadata">

**Author:** [@Jason2](https://discuss.elastic.co/u/Jason2)\
**Replies:** 2\
**Last updated:** [May 17, 2022, 3:53pm UTC](https://discuss.elastic.co/t/new-to-elk-and-need-some-help-with-existing-environment/304885 "2022-05-17T15:53:16Z")

</div>

My company uses ELK on kubernetes to monitor CICD infrastructure. We have an index that gathers a massive amount of data every day. We recently stopped showing data in the discover section. All data before two weeks ago …

---

## [Removing transient settings from cluster](https://discuss.elastic.co/t/removing-transient-settings-from-cluster/304958)

<div class="topic-metadata">

**Author:** [@yquirion](https://discuss.elastic.co/u/yquirion)\
**Replies:** 1\
**Last updated:** [May 17, 2022, 3:16pm UTC](https://discuss.elastic.co/t/removing-transient-settings-from-cluster/304958 "2022-05-17T15:16:24Z")

</div>

Hello, I've set the following settings into my cluster for a temporatry moment: PUT \_cluster/settings { "transient": { "cluster.routing.allocation.disk.watermark.low": "90%", "cluster.routing.allocation.d…

---

## [Query fails with parse\_error](https://discuss.elastic.co/t/query-fails-with-parse-error/304956)

<div class="topic-metadata">

**Author:** [@ilBepi](https://discuss.elastic.co/u/ilBepi)\
**Replies:** 0\
**Last updated:** [May 17, 2022, 3:03pm UTC](https://discuss.elastic.co/t/query-fails-with-parse-error/304956 "2022-05-17T15:03:05Z")

</div>

Hello, I am trying to run a very simple query using the High Level Client for Java version 6.8.23 The query is like the following: { "query": { "wildcard": { "OBJECTINFO.NAME": { "wildcard": "test\*", "boo…

---

## [Enabling ILM after index exists / Enable ILM on first index creation with new version](https://discuss.elastic.co/t/enabling-ilm-after-index-exists-enable-ilm-on-first-index-creation-with-new-version/304957)

<div class="topic-metadata">

**Author:** [@cotjoey](https://discuss.elastic.co/u/cotjoey)\
**Replies:** 0\
**Last updated:** [May 17, 2022, 3:04pm UTC](https://discuss.elastic.co/t/enabling-ilm-after-index-exists-enable-ilm-on-first-index-creation-with-new-version/304957 "2022-05-17T15:04:26Z")

</div>

Hello, I hope I can find help in the community forum for this issue I've been having since the beginning of using Elastic. My problem statement is this: when I start using a new version of a beat (i.e. go from filebeat…

---

## [Getting Elasticsearch cluster status as RED](https://discuss.elastic.co/t/getting-elasticsearch-cluster-status-as-red/304939)

<div class="topic-metadata">

**Author:** [@Yogendra\_Pratap\_Sing](https://discuss.elastic.co/u/Yogendra_Pratap_Sing)\
**Replies:** 16\
**Last updated:** [May 17, 2022, 2:24pm UTC](https://discuss.elastic.co/t/getting-elasticsearch-cluster-status-as-red/304939 "2022-05-17T14:24:25Z")

</div>

Hi Community, I'm using Elastic stack on k8s and facing ES cluster status as RED but indices are all in green below is cluster health status \[Elasticsearch@Elasticsearch-master-0 ~\]$ curl -XGET 'localhost:9200/\_cluste…

---

## [How to get index contents of a website](https://discuss.elastic.co/t/how-to-get-index-contents-of-a-website/304944)

<div class="topic-metadata">

**Author:** [@Tasdiq\_Shaikh](https://discuss.elastic.co/u/Tasdiq_Shaikh)\
**Replies:** 1\
**Last updated:** [May 17, 2022, 1:39pm UTC](https://discuss.elastic.co/t/how-to-get-index-contents-of-a-website/304944 "2022-05-17T13:39:15Z")

</div>

How can I index and perform search operations on the contents of a website of a given web link like discuss.elastic.co using Java 1.8 and Elasticsearch 7.12.0?

---

## [Is Elasticsearch webcrawler an open source feature or it is paid?](https://discuss.elastic.co/t/is-elasticsearch-webcrawler-an-open-source-feature-or-it-is-paid/304789)

<div class="topic-metadata">

**Author:** [@Tasdiq\_Shaikh](https://discuss.elastic.co/u/Tasdiq_Shaikh)\
**Replies:** 6\
**Last updated:** [May 17, 2022, 1:12pm UTC](https://discuss.elastic.co/t/is-elasticsearch-webcrawler-an-open-source-feature-or-it-is-paid/304789 "2022-05-17T13:12:19Z")

</div>

What is the roadmap to implement webcrawler in my ES application using Java 1.8 and Elasticsearch version 7.12.0

---

## [Update by Query insert new child document](https://discuss.elastic.co/t/update-by-query-insert-new-child-document/304928)

<div class="topic-metadata">

**Author:** [@Daniel\_Debray](https://discuss.elastic.co/u/Daniel_Debray)\
**Replies:** 0\
**Last updated:** [May 17, 2022, 11:39am UTC](https://discuss.elastic.co/t/update-by-query-insert-new-child-document/304928 "2022-05-17T11:39:30Z")

</div>

Hi, i would like to know whether its possible to insert a new child document during a Update by Query task. Our situation (simplified): A product has n attributes modeled using a join field. Index template: { "m…

---

## [Match financial transactions and merchants](https://discuss.elastic.co/t/match-financial-transactions-and-merchants/304588)

<div class="topic-metadata">

**Author:** [@fabiobozzo](https://discuss.elastic.co/u/fabiobozzo)\
**Replies:** 0\
**Last updated:** [May 12, 2022, 2:35pm UTC](https://discuss.elastic.co/t/match-financial-transactions-and-merchants/304588 "2022-05-12T14:35:58Z")

</div>

I have an Elastic index with billions of transactions. An example tx: { "id": "54bfa9af-009a-437d-bd21-caaf651f7218", "amount": 100.0, "currency": "EUR", "type": "expense", ... "note": "CARD PAYMENT …

---

## [Can't connecte to elasticsearch using python](https://discuss.elastic.co/t/cant-connecte-to-elasticsearch-using-python/304910)

<div class="topic-metadata">

**Author:** [@safaeaz](https://discuss.elastic.co/u/safaeaz)\
**Replies:** 2\
**Last updated:** [May 17, 2022, 9:39am UTC](https://discuss.elastic.co/t/cant-connecte-to-elasticsearch-using-python/304910 "2022-05-17T09:39:55Z")

</div>

i have my Elasticsearch container running on my virtual machine en port 8081:9200 and i need to connect to it using python code when runnnig a script to create index in Elasticsearch # Import packages from elasticsearch…

---

## [Querying for length of document](https://discuss.elastic.co/t/querying-for-length-of-document/304833)

<div class="topic-metadata">

**Author:** [@TomZa](https://discuss.elastic.co/u/TomZa)\
**Replies:** 2\
**Last updated:** [May 17, 2022, 9:12am UTC](https://discuss.elastic.co/t/querying-for-length-of-document/304833 "2022-05-17T09:12:14Z")

</div>

Hi, I have documents indexed like this: "words": "Yellow dogs are barking" The example above has four tokens. While querying now via matchPhrase, is it possible to set a minimum of tokens which should be in the docu…

---

## [Where I set the variable ELASTIC\_CLIENT\_APIVERSIONING?](https://discuss.elastic.co/t/where-i-set-the-variable-elastic-client-apiversioning/304901)

<div class="topic-metadata">

**Author:** [@frankmehlhop](https://discuss.elastic.co/u/frankmehlhop)\
**Replies:** 0\
**Last updated:** [May 17, 2022, 8:29am UTC](https://discuss.elastic.co/t/where-i-set-the-variable-elastic-client-apiversioning/304901 "2022-05-17T08:29:46Z")

</div>

At the elastic documentation I read, that I should set the variable ELASTIC\_CLIENT\_APIVERSIONING on true. But where I should set the variable? At my device / Windows 11 as environment variable? Or in which configuration …

---

## [Elasticsearch error when enable ssl/tls](https://discuss.elastic.co/t/elasticsearch-error-when-enable-ssl-tls/304893)

<div class="topic-metadata">

**Author:** [@alipujaistopo](https://discuss.elastic.co/u/alipujaistopo)\
**Replies:** 7\
**Last updated:** [May 17, 2022, 8:08am UTC](https://discuss.elastic.co/t/elasticsearch-error-when-enable-ssl-tls/304893 "2022-05-17T08:08:10Z")

</div>

i just enable ssl/tls but i have an error like this Caused by: org.elasticsearch.ElasticsearchException: failed to initialize SSL TrustManager - truststore file \[/etc/elasticsearch/elastic-certificates.p12\] does not exi…

---

## [Why query\_string not worked when used in highlight\_query？](https://discuss.elastic.co/t/why-query-string-not-worked-when-used-in-highlight-query/304897)

<div class="topic-metadata">

**Author:** [@slightKB](https://discuss.elastic.co/u/slightKB)\
**Replies:** 0\
**Last updated:** [May 17, 2022, 7:39am UTC](https://discuss.elastic.co/t/why-query-string-not-worked-when-used-in-highlight-query/304897 "2022-05-17T07:39:11Z")

</div>

field "regAggress" is Text type "regContactAddress" : { "type" : "text", "analyzer" : "aliws" } query example: { "\_source": \["regContactAddress","\_id","entName"\], "highlight": { "fields": {…

---

## [Higher search rate when added final data node to cluster](https://discuss.elastic.co/t/higher-search-rate-when-added-final-data-node-to-cluster/302912)

<div class="topic-metadata">

**Author:** [@stefws](https://discuss.elastic.co/u/stefws)\
**Replies:** 10\
**Last updated:** [May 17, 2022, 7:32am UTC](https://discuss.elastic.co/t/higher-search-rate-when-added-final-data-node-to-cluster/302912 "2022-05-17T07:32:39Z")

</div>

We've got a 5 data node v.6.8.23 cluster in production, that seems to increase search rate and cpu usage when the fifth node (exrhel0212) has joined the cluster, running on four nodes cluster is much calmer. Hints on ho…

---

## [Unable to load elasticsearch certificate](https://discuss.elastic.co/t/unable-to-load-elasticsearch-certificate/304821)

<div class="topic-metadata">

**Author:** [@mangeshmj1992](https://discuss.elastic.co/u/mangeshmj1992)\
**Replies:** 3\
**Last updated:** [May 17, 2022, 6:18am UTC](https://discuss.elastic.co/t/unable-to-load-elasticsearch-certificate/304821 "2022-05-17T06:18:26Z")

</div>

Hello team, I am getting below error on while running Elasticsearch. I have added new certificate and error start coming. \[2022-05-16T11:32:39,322\]\[ERROR\]\[o.e.b.ElasticsearchUncaughtExceptionHandler\] \[as-dev-2\] uncaugh…

---

## [Default TimeZone](https://discuss.elastic.co/t/default-timezone/304729)

<div class="topic-metadata">

**Author:** [@M.Naim](https://discuss.elastic.co/u/M.Naim)\
**Replies:** 12\
**Last updated:** [May 17, 2022, 5:18am UTC](https://discuss.elastic.co/t/default-timezone/304729 "2022-05-17T05:18:19Z")

</div>

Hi, I am getting issue in Timezone while Querying data on stored index. Issue: We have Dates stored like "2021-10-04T11:11:27-07:00" on server "GMT" but while pulling Data using Aggr it gets converted to "2021-10-04T18…

---

## [Disable authentification for elasticsearch](https://discuss.elastic.co/t/disable-authentification-for-elasticsearch/304862)

<div class="topic-metadata">

**Author:** [@Ines\_ZAYANI](https://discuss.elastic.co/u/Ines_ZAYANI)\
**Replies:** 7\
**Last updated:** [May 16, 2022, 10:03pm UTC](https://discuss.elastic.co/t/disable-authentification-for-elasticsearch/304862 "2022-05-16T22:03:32Z")

</div>

hi everyone, can i delete my user elastic and the password and make kibana and elastic accessible without any authentication needed. if so send me an article or a tutorial, thanks.

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

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