# Latest

**URL:** https://discuss.elastic.co/latest.md?page=1105

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

**Page:** 1106

---

## [Time weighting after ANN search](https://discuss.elastic.co/t/time-weighting-after-ann-search/306022)

<div class="topic-metadata">

**Author:** [@lz-mn](https://discuss.elastic.co/u/lz-mn)\
**Replies:** 1\
**Last updated:** [June 2, 2022, 6:17pm UTC](https://discuss.elastic.co/t/time-weighting-after-ann-search/306022 "2022-06-02T18:17:31Z")

</div>

Hi, I'm trying to write a search query to: perform an ANN search on a dense vector field re-rank the returned documents to weight more recent documents higher, according to a custom exponential decay function applied t…

---

## [Create 2 versions of the same index (one with less fields)](https://discuss.elastic.co/t/create-2-versions-of-the-same-index-one-with-less-fields/305506)

<div class="topic-metadata">

**Author:** [@Gustavo\_Llermaly](https://discuss.elastic.co/u/Gustavo_Llermaly)\
**Replies:** 9\
**Last updated:** [June 2, 2022, 5:46pm UTC](https://discuss.elastic.co/t/create-2-versions-of-the-same-index-one-with-less-fields/305506 "2022-06-02T17:46:56Z")

</div>

Hello, I have the requirement of ingesting metricbeat/filebeat data twice, once with all the default fields, and a second time with only the fields the dashboards will be using. This two versions will have different re…

---

## [Elastic Endpoint: securing elasticsearch (port 9200) server public access from brute force attacks](https://discuss.elastic.co/t/elastic-endpoint-securing-elasticsearch-port-9200-server-public-access-from-brute-force-attacks/306043)

<div class="topic-metadata">

**Author:** [@raymondbagats](https://discuss.elastic.co/u/raymondbagats)\
**Replies:** 3\
**Last updated:** [June 2, 2022, 4:06pm UTC](https://discuss.elastic.co/t/elastic-endpoint-securing-elasticsearch-port-9200-server-public-access-from-brute-force-attacks/306043 "2022-06-02T16:06:30Z")

</div>

Hi team, My elastic stack is currently working and endpoint security is working and is being managed by fleet. I'm planning to expose port 8220 and 9200 so my mobile endpoints can search the server when outside the comp…

---

## [Node.JS WS and APM Server](https://discuss.elastic.co/t/node-js-ws-and-apm-server/305817)

<div class="topic-metadata">

**Author:** [@forbiddenera](https://discuss.elastic.co/u/forbiddenera)\
**Replies:** 11\
**Last updated:** [June 2, 2022, 3:40pm UTC](https://discuss.elastic.co/t/node-js-ws-and-apm-server/305817 "2022-06-02T15:40:05Z")

</div>

So, it's entirely possible that my ws version is 'too new' (as the docs currently say up to 8.0.0) but I'm not seeing any ws stuff instrumented. Express seems to be working though. Also, what would it take to add functi…

---

## [Multiple index search and PIT index ID reuse](https://discuss.elastic.co/t/multiple-index-search-and-pit-index-id-reuse/306247)

<div class="topic-metadata">

**Author:** [@mattsbennett](https://discuss.elastic.co/u/mattsbennett)\
**Replies:** 0\
**Last updated:** [June 2, 2022, 3:01pm UTC](https://discuss.elastic.co/t/multiple-index-search-and-pit-index-id-reuse/306247 "2022-06-02T15:01:14Z")

</div>

I’m planning to search multiple different sets of multiple indices at once. I’d also like to use search\_after with point-in-time indices for deep pagination. I’ve got some general questions about how/if PIT works in this…

---

## [How to configure current age using the date plugin filter from logstash](https://discuss.elastic.co/t/how-to-configure-current-age-using-the-date-plugin-filter-from-logstash/306244)

<div class="topic-metadata">

**Author:** [@Rizky\_Hudha](https://discuss.elastic.co/u/Rizky_Hudha)\
**Replies:** 0\
**Last updated:** [June 2, 2022, 2:49pm UTC](https://discuss.elastic.co/t/how-to-configure-current-age-using-the-date-plugin-filter-from-logstash/306244 "2022-06-02T14:49:34Z")

</div>

hello I'm trying to create an age range with the logstash plugin filter, so I have date of birth data, the following is an example of the data: id, Nik,Phone,Date Of Birth,Gender 1,3710144892657,6289123432134,06/06/196…

---

## [Change Logo On Kibana 7.17.3](https://discuss.elastic.co/t/change-logo-on-kibana-7-17-3/306214)

<div class="topic-metadata">

**Author:** [@Xenial](https://discuss.elastic.co/u/Xenial)\
**Replies:** 1\
**Last updated:** [June 2, 2022, 1:03pm UTC](https://discuss.elastic.co/t/change-logo-on-kibana-7-17-3/306214 "2022-06-02T13:03:41Z")

</div>

Hello Elastic Team, How to change logo on kibana 7.17.3?? Thankyou

---

## [When is Elasticsearch 8 coming to Homebrew on MacOS?](https://discuss.elastic.co/t/when-is-elasticsearch-8-coming-to-homebrew-on-macos/306227)

<div class="topic-metadata">

**Author:** [@pelmered](https://discuss.elastic.co/u/pelmered)\
**Replies:** 0\
**Last updated:** [June 2, 2022, 12:51pm UTC](https://discuss.elastic.co/t/when-is-elasticsearch-8-coming-to-homebrew-on-macos/306227 "2022-06-02T12:51:35Z")

</div>

When is Elasticsearch 8.\* coming to Homebrew on MacOS? Do I need to install from package to upgrade in the future?

---

## [What role should I attach to anonymous user?](https://discuss.elastic.co/t/what-role-should-i-attach-to-anonymous-user/304919)

<div class="topic-metadata">

**Author:** [@rachit\_upadhyay](https://discuss.elastic.co/u/rachit_upadhyay)\
**Replies:** 3\
**Last updated:** [June 2, 2022, 12:48pm UTC](https://discuss.elastic.co/t/what-role-should-i-attach-to-anonymous-user/304919 "2022-06-02T12:48:23Z")

</div>

So, I am using the Elasticsearch and have the xpack.security.enabled as true. When I try to open the IP:Port and check the status of Elasticsearch node, I have to authorize myself. I wanted to know is it possible to have…

---

## [Editing an enrich policy](https://discuss.elastic.co/t/editing-an-enrich-policy/305494)

<div class="topic-metadata">

**Author:** [@chapmantrain](https://discuss.elastic.co/u/chapmantrain)\
**Replies:** 3\
**Last updated:** [June 2, 2022, 12:17pm UTC](https://discuss.elastic.co/t/editing-an-enrich-policy/305494 "2022-06-02T12:17:04Z")

</div>

It appears that if I need to edit an enrichment policy that an ingest pipeline uses, I have to delete the pipe, then delete the policy, then create the new edited policy, then create the ingest pipeline. That is the proc…

---

## [Change CSS for Metric visualization?](https://discuss.elastic.co/t/change-css-for-metric-visualization/306031)

<div class="topic-metadata">

**Author:** [@Srikanth\_V](https://discuss.elastic.co/u/Srikanth_V)\
**Replies:** 3\
**Last updated:** [June 2, 2022, 11:48am UTC](https://discuss.elastic.co/t/change-css-for-metric-visualization/306031 "2022-06-02T11:48:59Z")

</div>

Hello! I want to modify the style of a metric visualization that I create in Kibana. The issue is the text is align to center and I would like to move to left. Is it possible to modify it? Thanks in advance, Regards, S…

---

## [Logstash from 2 different resource in one logstash](https://discuss.elastic.co/t/logstash-from-2-different-resource-in-one-logstash/306185)

<div class="topic-metadata">

**Author:** [@Zerra\_Triani](https://discuss.elastic.co/u/Zerra_Triani)\
**Replies:** 1\
**Last updated:** [June 2, 2022, 11:22am UTC](https://discuss.elastic.co/t/logstash-from-2-different-resource-in-one-logstash/306185 "2022-06-02T11:22:30Z")

</div>

Hi, i have two differetent resource log and i want to filtered in one server with one logstash. I've created the grok filter as I want it using the grol debugger and it's working and producing the appropriate output. But…

---

## [How to add privileges to elastic/fleet-server](https://discuss.elastic.co/t/how-to-add-privileges-to-elastic-fleet-server/306153)

<div class="topic-metadata">

**Author:** [@rupam1](https://discuss.elastic.co/u/rupam1)\
**Replies:** 4\
**Last updated:** [June 2, 2022, 11:08am UTC](https://discuss.elastic.co/t/how-to-add-privileges-to-elastic-fleet-server/306153 "2022-06-02T11:08:44Z")

</div>

I have generated token with elastic fleet-server, while creating new index with that token I am getting security exception saying unauthorised user elastic/fleet-server

---

## [Indices are not deleteing using Lifecycle policy](https://discuss.elastic.co/t/indices-are-not-deleteing-using-lifecycle-policy/306105)

<div class="topic-metadata">

**Author:** [@santosh\_rout](https://discuss.elastic.co/u/santosh_rout)\
**Replies:** 3\
**Last updated:** [June 2, 2022, 9:59am UTC](https://discuss.elastic.co/t/indices-are-not-deleteing-using-lifecycle-policy/306105 "2022-06-02T09:59:52Z")

</div>

In elastic 7.12, I have tried through kibana gui but indices are not able to linked so I used these commands in cli but Indices are linked in kibana but not deleting so please help me on this? #curl -u elastic: -XPUT -s…

---

## [Filebeat exclude\_files is not working as expected](https://discuss.elastic.co/t/filebeat-exclude-files-is-not-working-as-expected/305995)

<div class="topic-metadata">

**Author:** [@omeryosef](https://discuss.elastic.co/u/omeryosef)\
**Replies:** 6\
**Last updated:** [June 2, 2022, 9:29am UTC](https://discuss.elastic.co/t/filebeat-exclude-files-is-not-working-as-expected/305995 "2022-06-02T09:29:58Z")

</div>

Hi everyone, I have the following structure of directories and I am trying to avoid duplications by excluding "current" dir: # ls -l total 12 drwxrwxr-x 11 node node 4096 May 25 10:42 3.123.0 drwxrwxr-x 11 node node 40…

---

## [Case Insensitive search kibana](https://discuss.elastic.co/t/case-insensitive-search-kibana/306137)

<div class="topic-metadata">

**Author:** [@PRASHANT\_MEHTA](https://discuss.elastic.co/u/PRASHANT_MEHTA)\
**Replies:** 0\
**Last updated:** [June 1, 2022, 2:10pm UTC](https://discuss.elastic.co/t/case-insensitive-search-kibana/306137 "2022-06-01T14:10:34Z")

</div>

Hello All, I'm trying to do a use case where in I'm integrating my kibana dashboard in extenal web ui through iframe,following this I'm providing search functionality,the challenge that is faced is -Search result are ca…

---

## [How to find Class implementing Function\< CreateIndexRequest.Builder, ObjectBuilder\< CreateIndexRequest\>\>?](https://discuss.elastic.co/t/how-to-find-class-implementing-function-createindexrequest-builder-objectbuilder-createindexrequest/306114)

<div class="topic-metadata">

**Author:** [@Enomine](https://discuss.elastic.co/u/Enomine)\
**Replies:** 2\
**Last updated:** [June 2, 2022, 8:53am UTC](https://discuss.elastic.co/t/how-to-find-class-implementing-function-createindexrequest-builder-objectbuilder-createindexrequest/306114 "2022-06-02T08:53:05Z")

</div>

Hi, may one create a new index to the client by client.indices().create(c -\> c.index("products2")); May one other be interested in doing so without using lambda-expression. He will need to give a CreateIndexRequest Ob…

---

## [Elasticseach JDK and sql-cli vulnerability mitigation](https://discuss.elastic.co/t/elasticseach-jdk-and-sql-cli-vulnerability-mitigation/306124)

<div class="topic-metadata">

**Author:** [@truptir](https://discuss.elastic.co/u/truptir)\
**Replies:** 2\
**Last updated:** [June 2, 2022, 8:16am UTC](https://discuss.elastic.co/t/elasticseach-jdk-and-sql-cli-vulnerability-mitigation/306124 "2022-06-02T08:16:23Z")

</div>

Hi, I'm using Elastic Version - 7.6.0, as per the vulnerability scan below 2 are impacted. Elasticsearch-sql-cli-7.6.0.jar Elasticsearch-7.6.0/jdk - 1.13.0.2.8 Is there a way to just upgrade only these 2 libs as a qu…

---

## [Resource metricbeat-7.17.1 exists, but it is not an alias](https://discuss.elastic.co/t/resource-metricbeat-7-17-1-exists-but-it-is-not-an-alias/306030)

<div class="topic-metadata">

**Author:** [@Evgeny\_Barykin](https://discuss.elastic.co/u/Evgeny_Barykin)\
**Replies:** 6\
**Last updated:** [June 2, 2022, 7:49am UTC](https://discuss.elastic.co/t/resource-metricbeat-7-17-1-exists-but-it-is-not-an-alias/306030 "2022-06-02T07:49:12Z")

</div>

Hello! I have an issue with connecting second cluster to Elasticsearch. I changed dynamic mappings and added best\_compression to the settings, but now I get an error every time I try to connect new beats to it. If I le…

---

## [Kibana Control options - show only certain values](https://discuss.elastic.co/t/kibana-control-options-show-only-certain-values/306104)

<div class="topic-metadata">

**Author:** [@Sandeep\_Raju](https://discuss.elastic.co/u/Sandeep_Raju)\
**Replies:** 2\
**Last updated:** [June 2, 2022, 7:44am UTC](https://discuss.elastic.co/t/kibana-control-options-show-only-certain-values/306104 "2022-06-02T07:44:35Z")

</div>

Hi all, I'm trying to show only certain dropdown options in my kibana Controls visualization. For example In my index pattern "fruits" , there is a field "fruit\_id". It has values of both oranges & apples. Apple Id is…

---

## [Results are showing different than expected](https://discuss.elastic.co/t/results-are-showing-different-than-expected/306102)

<div class="topic-metadata">

**Author:** [@akshay\_bhardwaj](https://discuss.elastic.co/u/akshay_bhardwaj)\
**Replies:** 2\
**Last updated:** [June 2, 2022, 7:27am UTC](https://discuss.elastic.co/t/results-are-showing-different-than-expected/306102 "2022-06-02T07:27:49Z")

</div>

I take a sum of a column to visualize a bar chart but results are showing different that i expected. as shown in below picture:-1453.42299 My values are like 8.533,9.64,5.03.8.238 How i round up these values so that i…

---

## [Trying to build grok pattern for impossible logfile fetched with filebeat sent to logstash](https://discuss.elastic.co/t/trying-to-build-grok-pattern-for-impossible-logfile-fetched-with-filebeat-sent-to-logstash/306192)

<div class="topic-metadata">

**Author:** [@fribse](https://discuss.elastic.co/u/fribse)\
**Replies:** 0\
**Last updated:** [June 2, 2022, 7:10am UTC](https://discuss.elastic.co/t/trying-to-build-grok-pattern-for-impossible-logfile-fetched-with-filebeat-sent-to-logstash/306192 "2022-06-02T07:10:33Z")

</div>

I've gotten this logfile from UNICA by IBM. It's impossible :slight\_smile: A few lines of example. 18 feb 2016 10:37:46,292 - ERROR - An error occured while scanning for the next trigger to fire. org.quartz.JobPersiste…

---

## [Can't get highlighted results using Java High Level Rest Client](https://discuss.elastic.co/t/cant-get-highlighted-results-using-java-high-level-rest-client/305261)

<div class="topic-metadata">

**Author:** [@Tasdiq\_Shaikh](https://discuss.elastic.co/u/Tasdiq_Shaikh)\
**Replies:** 17\
**Last updated:** [June 2, 2022, 6:53am UTC](https://discuss.elastic.co/t/cant-get-highlighted-results-using-java-high-level-rest-client/305261 "2022-06-02T06:53:37Z")

</div>

I am using Java 1.8 and Elasticsearch 7.12.0. Hello, I am trying to get Highlighter to work but all i'm getting is the whole document in which word is available and I should get only the snippets of the highlighted word…

---

## [ElasticSearch Java RESTAPI dout?](https://discuss.elastic.co/t/elasticsearch-java-restapi-dout/306117)

<div class="topic-metadata">

**Author:** [@Maheee000](https://discuss.elastic.co/u/Maheee000)\
**Replies:** 3\
**Last updated:** [June 2, 2022, 6:45am UTC](https://discuss.elastic.co/t/elasticsearch-java-restapi-dout/306117 "2022-06-02T06:45:30Z")

</div>

Hi Team, PFA and how to I do in java with dynamic field value and dynamic boolqueries. In this part dynamic values comes from CSV file. BoolQueries : must, should, mustnot --- it will change user purpose Queries:--…

---

## [Is there a straight forward method of cloning an index on one cluster from another cluster](https://discuss.elastic.co/t/is-there-a-straight-forward-method-of-cloning-an-index-on-one-cluster-from-another-cluster/306180)

<div class="topic-metadata">

**Author:** [@Russell\_Fulton](https://discuss.elastic.co/u/Russell_Fulton)\
**Replies:** 1\
**Last updated:** [June 2, 2022, 6:45am UTC](https://discuss.elastic.co/t/is-there-a-straight-forward-method-of-cloning-an-index-on-one-cluster-from-another-cluster/306180 "2022-06-02T06:45:00Z")

</div>

I am setting up a test cluster and want to copy all the index definitions from the production one.

---

## [Elasticsearch Can I create a calculated dashboard (GB) per day?](https://discuss.elastic.co/t/elasticsearch-can-i-create-a-calculated-dashboard-gb-per-day/306179)

<div class="topic-metadata">

**Author:** [@Tassanai\_Chopseang](https://discuss.elastic.co/u/Tassanai_Chopseang)\
**Replies:** 3\
**Last updated:** [June 2, 2022, 6:44am UTC](https://discuss.elastic.co/t/elasticsearch-can-i-create-a-calculated-dashboard-gb-per-day/306179 "2022-06-02T06:44:45Z")

</div>

I want to make a dashboard to monitor instead of running a backyard query. :face\_holding\_back\_tears:

---

## [LOGSTASH DISCOVER FILES EACH 3 HOURS APROX](https://discuss.elastic.co/t/logstash-discover-files-each-3-hours-aprox/306186)

<div class="topic-metadata">

**Author:** [@Daniel\_Lopez](https://discuss.elastic.co/u/Daniel_Lopez)\
**Replies:** 0\
**Last updated:** [June 2, 2022, 6:00am UTC](https://discuss.elastic.co/t/logstash-discover-files-each-3-hours-aprox/306186 "2022-06-02T06:00:52Z")

</div>

Hi! I'm started a new pipeline for reading xml from a cifs mounted unit from a Windows Server in my centos server, the issue I have is that logstash reads the unit each 3 hours and I don't know why, I'm indexing old fil…

---

## [Date math in index name error in 8.1.3](https://discuss.elastic.co/t/date-math-in-index-name-error-in-8-1-3/305186)

<div class="topic-metadata">

**Author:** [@rugenl](https://discuss.elastic.co/u/rugenl)\
**Replies:** 12\
**Last updated:** [May 27, 2022, 2:19am UTC](https://discuss.elastic.co/t/date-math-in-index-name-error-in-8-1-3/305186 "2022-05-27T02:19:31Z")

</div>

Per the doc, I'm trying to create an index with the date in it's name: PUT /%3Call-dns-%7Bnow%2Fd%7D%-0000013E?pretty { "aliases": { "all-dns": { "is\_write\_index": true } } } But I'm getting this erro…

---

## [Vega scatter plot based on array of points in document](https://discuss.elastic.co/t/vega-scatter-plot-based-on-array-of-points-in-document/305252)

<div class="topic-metadata">

**Author:** [@qd-danh](https://discuss.elastic.co/u/qd-danh)\
**Replies:** 4\
**Last updated:** [June 2, 2022, 5:16am UTC](https://discuss.elastic.co/t/vega-scatter-plot-based-on-array-of-points-in-document/305252 "2022-06-02T05:16:17Z")

</div>

I have been working through simple scatter plots, boxplots in Kibana with Vega. Now I'm getting to what I actually need to render. Each document from elastic has an array of points. From a query, I will likely have up t…

---

## [Custom sorting query results by index name with scripting](https://discuss.elastic.co/t/custom-sorting-query-results-by-index-name-with-scripting/306176)

<div class="topic-metadata">

**Author:** [@corndog](https://discuss.elastic.co/u/corndog)\
**Replies:** 0\
**Last updated:** [June 2, 2022, 1:29am UTC](https://discuss.elastic.co/t/custom-sorting-query-results-by-index-name-with-scripting/306176 "2022-06-02T01:29:55Z")

</div>

I have 4 indexes: first, second, third, fourth. I have a query that searches text on a field called "name" against all indexes. POST /\_all/\_search?pretty { "\_source": \["name"\], "query": { "match": { "nam…

[Previous page](https://discuss.elastic.co/latest.md?page=1104)

[Next page](https://discuss.elastic.co/latest.md?page=1106)
