# \#none

**URL:** https://discuss.elastic.co/tag/none.md?page=1202

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

**Page:** 1203

---

## [Which schema to use with Elasticsearch](https://discuss.elastic.co/t/which-schema-to-use-with-elasticsearch/251430)

<div class="topic-metadata">

**Author:** [@chabow](https://discuss.elastic.co/u/chabow)\
**Replies:** 3\
**Last updated:** [October 8, 2020, 9:15pm UTC](https://discuss.elastic.co/t/which-schema-to-use-with-elasticsearch/251430 "2020-10-08T21:15:07Z")

</div>

This is hopefully an easy question for the experts. We just started with an instance of Elasticsearch. And we need to add metadata to a big part of our content. Now the question is: which schema to use? We are aware that…

---

## [Unable to read the txt file through Logstash](https://discuss.elastic.co/t/unable-to-read-the-txt-file-through-logstash/251057)

<div class="topic-metadata">

**Author:** [@sukumar.koganti](https://discuss.elastic.co/u/sukumar.koganti)\
**Replies:** 24\
**Last updated:** [October 8, 2020, 6:55pm UTC](https://discuss.elastic.co/t/unable-to-read-the-txt-file-through-logstash/251057 "2020-10-08T18:55:20Z")

</div>

Hi Guys, I am trying to read sample EDI log from the below path using logstash .conf file C:\\Users\\skkoganti\\Documents\\log\\EDI Log-2019-05-27.txt this is my sample input file format input { file { path =\> \["C:/Us…

---

## [Need @timestamp value where the maximum aggregation result occurred](https://discuss.elastic.co/t/need-timestamp-value-where-the-maximum-aggregation-result-occurred/249993)

<div class="topic-metadata">

**Author:** [@silentfilm](https://discuss.elastic.co/u/silentfilm)\
**Replies:** 1\
**Last updated:** [October 8, 2020, 6:30pm UTC](https://discuss.elastic.co/t/need-timestamp-value-where-the-maximum-aggregation-result-occurred/249993 "2020-10-08T18:30:30Z")

</div>

I'm using an Elasticsearch query (6.7) to find the maximum number of records returned for a particular service. My aggregation query is working great, but I need to also find the time when this maximum occurred. If I s…

---

## [Script\_fields in MultiSearchRequest](https://discuss.elastic.co/t/script-fields-in-multisearchrequest/251495)

<div class="topic-metadata">

**Author:** [@Nick\_Name](https://discuss.elastic.co/u/Nick_Name)\
**Replies:** 0\
**Last updated:** [October 8, 2020, 6:22pm UTC](https://discuss.elastic.co/t/script-fields-in-multisearchrequest/251495 "2020-10-08T18:22:07Z")

</div>

Can I use script\_fields from one query in another query script when I create multisearch request? I have this error, can anyone help me? This my request in Postman: {"index" : "core\_event\_usvc\_provided"} {"que…

---

## [Kibana Visualization - Gauge](https://discuss.elastic.co/t/kibana-visualization-gauge/250037)

<div class="topic-metadata">

**Author:** [@rkarthik.kr](https://discuss.elastic.co/u/rkarthik.kr)\
**Replies:** 2\
**Last updated:** [October 8, 2020, 6:20pm UTC](https://discuss.elastic.co/t/kibana-visualization-gauge/250037 "2020-10-08T18:20:36Z")

</div>

Hello All I am trying to build a visualization in Kibana using Gauge . Below is the data in my Index App\_Name Service\_Name Run\_Number Coverage Red A 4 90 Red B 4 …

---

## [Logstash pipeline.yml error](https://discuss.elastic.co/t/logstash-pipeline-yml-error/251441)

<div class="topic-metadata">

**Author:** [@Bhavin\_Varsur](https://discuss.elastic.co/u/Bhavin_Varsur)\
**Replies:** 8\
**Last updated:** [October 8, 2020, 6:08pm UTC](https://discuss.elastic.co/t/logstash-pipeline-yml-error/251441 "2020-10-08T18:08:46Z")

</div>

I've one logstash pipeline.which is given in pipeline.yml. but when i run bin/logstash.bat command in powershell i'm getting error which is look like this ERROR: Failed to read pipelines yaml file. Location: D:/Elast…

---

## [Histogram aggregation over unique IDs: possible with nested aggregations?](https://discuss.elastic.co/t/histogram-aggregation-over-unique-ids-possible-with-nested-aggregations/250539)

<div class="topic-metadata">

**Author:** [@sandbender](https://discuss.elastic.co/u/sandbender)\
**Replies:** 1\
**Last updated:** [October 8, 2020, 6:07pm UTC](https://discuss.elastic.co/t/histogram-aggregation-over-unique-ids-possible-with-nested-aggregations/250539 "2020-10-08T18:07:55Z")

</div>

Hello, I am trying to aggregate data for a heatmap visualisation in Vega-Lite. It is supposed to show the volume of communication (color) in volume ranges (y-axis) over time (x-axis). Where I'm stuck at right now is: t…

---

## [How to display total calls minus closed calls](https://discuss.elastic.co/t/how-to-display-total-calls-minus-closed-calls/250493)

<div class="topic-metadata">

**Author:** [@anjilinga](https://discuss.elastic.co/u/anjilinga)\
**Replies:** 4\
**Last updated:** [October 8, 2020, 6:03pm UTC](https://discuss.elastic.co/t/how-to-display-total-calls-minus-closed-calls/250493 "2020-10-08T18:03:12Z")

</div>

Hi, We have the records in the index as below. callid status 1 open 1 open 1 open 1 closed 2 open 2 open 2 closed 3 open 3 open here we can…

---

## [Removing parent object names with ingest pipeline](https://discuss.elastic.co/t/removing-parent-object-names-with-ingest-pipeline/251492)

<div class="topic-metadata">

**Author:** [@seanziee](https://discuss.elastic.co/u/seanziee)\
**Replies:** 0\
**Last updated:** [October 8, 2020, 5:27pm UTC](https://discuss.elastic.co/t/removing-parent-object-names-with-ingest-pipeline/251492 "2020-10-08T17:27:38Z")

</div>

I'm trying to figure out how to clean up my fields and remove some of the top level parents in my documents. I want to turn Properties.Status and Properties.Status.StatusName into Status and Status.StatusName, respective…

---

## [Tracking down who created Dashboards and Visualizations](https://discuss.elastic.co/t/tracking-down-who-created-dashboards-and-visualizations/251475)

<div class="topic-metadata">

**Author:** [@Shaw](https://discuss.elastic.co/u/Shaw)\
**Replies:** 6\
**Last updated:** [October 8, 2020, 5:20pm UTC](https://discuss.elastic.co/t/tracking-down-who-created-dashboards-and-visualizations/251475 "2020-10-08T17:20:32Z")

</div>

Is there any ways to track down who created a dashboard and visualizaions? I do not see any options or places to indicate who created it, who was last person to modify it, and when. It will be very helpful when audit ton…

---

## [7.9.2 http code convert ? to %3F. Rest API fails. Used to work](https://discuss.elastic.co/t/7-9-2-http-code-convert-to-3f-rest-api-fails-used-to-work/250385)

<div class="topic-metadata">

**Author:** [@pgervais](https://discuss.elastic.co/u/pgervais)\
**Replies:** 1\
**Last updated:** [October 8, 2020, 5:13pm UTC](https://discuss.elastic.co/t/7-9-2-http-code-convert-to-3f-rest-api-fails-used-to-work/250385 "2020-10-08T17:13:15Z")

</div>

I'm trying to convert my plugin that works under 7.8.1 to 7.9.2. I use the saved object REST API. In order to get all index patterns already created. The REST API call look like: 'http://localhost:5601/api/saved\_objec…

---

## [ELK SAML with Gsuite](https://discuss.elastic.co/t/elk-saml-with-gsuite/251462)

<div class="topic-metadata">

**Author:** [@mhr](https://discuss.elastic.co/u/mhr)\
**Replies:** 2\
**Last updated:** [October 8, 2020, 5:12pm UTC](https://discuss.elastic.co/t/elk-saml-with-gsuite/251462 "2020-10-08T17:12:35Z")

</div>

HI Support, Do we require license version of ELK stack to use SAML with Google Gsuite.

---

## [Ealstic-apm-agent failed with tomcat](https://discuss.elastic.co/t/ealstic-apm-agent-failed-with-tomcat/249808)

<div class="topic-metadata">

**Author:** [@qiratnahraf](https://discuss.elastic.co/u/qiratnahraf)\
**Replies:** 5\
**Last updated:** [October 8, 2020, 5:07pm UTC](https://discuss.elastic.co/t/ealstic-apm-agent-failed-with-tomcat/249808 "2020-10-08T17:07:10Z")

</div>

Hi, We are trying to test elastic APM and trying to attach "elastic-apm-agent-1.18.0.jar" with our tomcat and for this we follow guide to export CATALINA\_OPTS in setenv.sh file. but when we start tomcat we hit with follo…

---

## [ES master CPU spike suddenly 100% and fails to apply cluster state](https://discuss.elastic.co/t/es-master-cpu-spike-suddenly-100-and-fails-to-apply-cluster-state/251488)

<div class="topic-metadata">

**Author:** [@UDixit](https://discuss.elastic.co/u/UDixit)\
**Replies:** 0\
**Last updated:** [October 8, 2020, 4:55pm UTC](https://discuss.elastic.co/t/es-master-cpu-spike-suddenly-100-and-fails-to-apply-cluster-state/251488 "2020-10-08T16:55:50Z")

</div>

We are currently operating with ES5.6. All nodes in the ES cluster are master and data eligible. The min\_master\_nodes is set to n/2+1. We are recently seeing issues that the matser's CPU usage spikes up very high ~90% …

---

## [Any filter for parsing the URL request from firewalls?](https://discuss.elastic.co/t/any-filter-for-parsing-the-url-request-from-firewalls/251451)

<div class="topic-metadata">

**Author:** [@kelk](https://discuss.elastic.co/u/kelk)\
**Replies:** 2\
**Last updated:** [October 8, 2020, 4:46pm UTC](https://discuss.elastic.co/t/any-filter-for-parsing-the-url-request-from-firewalls/251451 "2020-10-08T16:46:20Z")

</div>

regarding payload within firewall logs, the request field has a single line separated by \\r\\n which I've made it into individual line. Any known parsers/filter to make this into key-value pairs? (especially the User-Age…

---

## [BM25 normalizing per field](https://discuss.elastic.co/t/bm25-normalizing-per-field/251485)

<div class="topic-metadata">

**Author:** [@tp-c-c](https://discuss.elastic.co/u/tp-c-c)\
**Replies:** 0\
**Last updated:** [October 8, 2020, 4:29pm UTC](https://discuss.elastic.co/t/bm25-normalizing-per-field/251485 "2020-10-08T16:29:40Z")

</div>

Hi, I have a question about the BM25 ranking algorithm, specifically about the dividing by the field length. I understand the general descriptions of the algorithm where they divide by the document length as in this for…

---

## [Loading SQL table with JSON data and columnar data](https://discuss.elastic.co/t/loading-sql-table-with-json-data-and-columnar-data/251286)

<div class="topic-metadata">

**Author:** [@sanmitdesai](https://discuss.elastic.co/u/sanmitdesai)\
**Replies:** 2\
**Last updated:** [October 8, 2020, 3:49pm UTC](https://discuss.elastic.co/t/loading-sql-table-with-json-data-and-columnar-data/251286 "2020-10-08T15:49:00Z")

</div>

Hey all, I am a bit new to logstash. I have a SQL table that looks like this. As we can see we have columns 'Address' and 'Skills' in this table that are in JSON format. I want to load all the data while maintainin…

---

## [Esrally performance benchmark](https://discuss.elastic.co/t/esrally-performance-benchmark/251477)

<div class="topic-metadata">

**Author:** [@kagrahar](https://discuss.elastic.co/u/kagrahar)\
**Replies:** 0\
**Last updated:** [October 8, 2020, 3:41pm UTC](https://discuss.elastic.co/t/esrally-performance-benchmark/251477 "2020-10-08T15:41:08Z")

</div>

i am running esrally for the first time. What are the key metrics in the output that determines performance of the elastic search cluster? Any best practices to stress test? Is there a best practice for setting the numbe…

---

## [How to parse mix json logs file](https://discuss.elastic.co/t/how-to-parse-mix-json-logs-file/251470)

<div class="topic-metadata">

**Author:** [@Purvesh\_Jaiswal](https://discuss.elastic.co/u/Purvesh_Jaiswal)\
**Replies:** 0\
**Last updated:** [October 8, 2020, 3:09pm UTC](https://discuss.elastic.co/t/how-to-parse-mix-json-logs-file/251470 "2020-10-08T15:09:07Z")

</div>

''''''''' {"tool": {"driver": {"name": "Shell Script Analysis", "version": "1.0.0-scan", "fullName": "Shell Script Analysis"}}, "conversion": {"tool": {"driver": {"name": "@ShiftLeft/sast-scan"}}, "invocation": {"argume…

---

## [Logstash filtering. Extract data between two strings](https://discuss.elastic.co/t/logstash-filtering-extract-data-between-two-strings/251276)

<div class="topic-metadata">

**Author:** [@Igor\_Olikh](https://discuss.elastic.co/u/Igor_Olikh)\
**Replies:** 6\
**Last updated:** [October 8, 2020, 3:04pm UTC](https://discuss.elastic.co/t/logstash-filtering-extract-data-between-two-strings/251276 "2020-10-08T15:04:33Z")

</div>

I have a UNIX log looks like: ACTION started Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s finished when an un…

---

## [Logstash CIDR network range](https://discuss.elastic.co/t/logstash-cidr-network-range/251391)

<div class="topic-metadata">

**Author:** [@ParashB](https://discuss.elastic.co/u/ParashB)\
**Replies:** 1\
**Last updated:** [October 8, 2020, 2:55pm UTC](https://discuss.elastic.co/t/logstash-cidr-network-range/251391 "2020-10-08T14:55:48Z")

</div>

Hello, How to match IP range which is not full network range? Example: 172.20.23.5 in \[172.16.0.0 -172.31.255.255 \] CIDR filter plugin specifies the full range but I need to search is specific range.

---

## [Logstash dont start if output fail](https://discuss.elastic.co/t/logstash-dont-start-if-output-fail/251467)

<div class="topic-metadata">

**Author:** [@ebuildy](https://discuss.elastic.co/u/ebuildy)\
**Replies:** 0\
**Last updated:** [October 8, 2020, 2:53pm UTC](https://discuss.elastic.co/t/logstash-dont-start-if-output-fail/251467 "2020-10-08T14:53:50Z")

</div>

Using RabbitMQ as output, Logstash dont start if RabbitMQ is down: \[2020-10-08T14:45:32,102\]\[ERROR\]\[logstash.outputs.rabbitmq\]\[main\] RabbitMQ connection error, will retry. {:error\_message=\>"Connection was refused. Targe…

---

## [Kibana Discover page sorting when Hide 'Time' column enabled](https://discuss.elastic.co/t/kibana-discover-page-sorting-when-hide-time-column-enabled/251326)

<div class="topic-metadata">

**Author:** [@CODE-REaD](https://discuss.elastic.co/u/CODE-REaD)\
**Replies:** 2\
**Last updated:** [October 8, 2020, 2:52pm UTC](https://discuss.elastic.co/t/kibana-discover-page-sorting-when-hide-time-column-enabled/251326 "2020-10-08T14:52:32Z")

</div>

Background: Kibana and Elasticsearch version: 7.9.2, installed with yum from repo elasticsearch-7.x, running on free license. Platform: CentOS 7 I had enabled Kibana's Advanced setting titled Hide 'Time' column (doc\_ta…

---

## [Running multiple SQL Queries in logstash JDBC plugin](https://discuss.elastic.co/t/running-multiple-sql-queries-in-logstash-jdbc-plugin/251394)

<div class="topic-metadata">

**Author:** [@mruthyu](https://discuss.elastic.co/u/mruthyu)\
**Replies:** 1\
**Last updated:** [October 8, 2020, 2:51pm UTC](https://discuss.elastic.co/t/running-multiple-sql-queries-in-logstash-jdbc-plugin/251394 "2020-10-08T14:51:57Z")

</div>

I know that multiple JDBC input plugins can be used in logstash to support the multiple SQL statements. Would like to know whether these are run sequentially or parallelly. Is there any way I can enforce them to run one …

---

## [How to preserve timestamp while re-indexing?](https://discuss.elastic.co/t/how-to-preserve-timestamp-while-re-indexing/251461)

<div class="topic-metadata">

**Author:** [@srbhklkrn](https://discuss.elastic.co/u/srbhklkrn)\
**Replies:** 4\
**Last updated:** [October 8, 2020, 2:51pm UTC](https://discuss.elastic.co/t/how-to-preserve-timestamp-while-re-indexing/251461 "2020-10-08T14:51:03Z")

</div>

I'm reindexing from 6.4 to 7.9 and while I got all documents as it is one thing I noticed timestamp is different, how do I preserve old timestamp in the document?

---

## [Can I run elasticsearch completely in memory?](https://discuss.elastic.co/t/can-i-run-elasticsearch-completely-in-memory/251063)

<div class="topic-metadata">

**Author:** [@kagrahar](https://discuss.elastic.co/u/kagrahar)\
**Replies:** 4\
**Last updated:** [October 8, 2020, 2:38pm UTC](https://discuss.elastic.co/t/can-i-run-elasticsearch-completely-in-memory/251063 "2020-10-08T14:38:17Z")

</div>

I have about 15TB of DRAM. Can I create RAMdisk of 1TB size and completely run elastic search in memory? My data is about 300GB. Thanks in advance

---

## [7.9: "....creating index, cause \[auto(bulk api)\],..." ignores null\_values set in legacy index template](https://discuss.elastic.co/t/7-9-creating-index-cause-auto-bulk-api-ignores-null-values-set-in-legacy-index-template/251463)

<div class="topic-metadata">

**Author:** [@jze](https://discuss.elastic.co/u/jze)\
**Replies:** 0\
**Last updated:** [October 8, 2020, 2:22pm UTC](https://discuss.elastic.co/t/7-9-creating-index-cause-auto-bulk-api-ignores-null-values-set-in-legacy-index-template/251463 "2020-10-08T14:22:29Z")

</div>

Excerpt from template: (Ruby hash) index\_patterns: \[ "ldb-dvm-\*", \], order: 200, ... ... aliases: { 'ldb-dvm' =\> {}, }, mappings: { \_source: { enabled: true, }, dynamic\_templates: \[{ string…

---

## [Put array elements into new fields with logstash filter](https://discuss.elastic.co/t/put-array-elements-into-new-fields-with-logstash-filter/250980)

<div class="topic-metadata">

**Author:** [@LuigiDelavega](https://discuss.elastic.co/u/LuigiDelavega)\
**Replies:** 4\
**Last updated:** [October 8, 2020, 2:06pm UTC](https://discuss.elastic.co/t/put-array-elements-into-new-fields-with-logstash-filter/250980 "2020-10-08T14:06:56Z")

</div>

Hello, I have an issue finding a solution for my problem : My filebeat sends IIS logs to logstash, with an URIPATH field named iis.uri, it looks like : /aaaaa/bbbbb/cccccc/dddddd/eeeeee I copy this field i wanna keep…

---

## [Ingest Pipeline parsing the wrong week](https://discuss.elastic.co/t/ingest-pipeline-parsing-the-wrong-week/251456)

<div class="topic-metadata">

**Author:** [@Antonis\_Michael](https://discuss.elastic.co/u/Antonis_Michael)\
**Replies:** 0\
**Last updated:** [October 8, 2020, 2:06pm UTC](https://discuss.elastic.co/t/ingest-pipeline-parsing-the-wrong-week/251456 "2020-10-08T14:06:08Z")

</div>

Hello, I am trying to parse weekly indices by utilizing the ingest pipelines in elasticsearch but I keep getting a week before the actual week of the year. Would you know what the issue is? { "date\_index\_name" : { "d…

---

## [Change Primary shards number](https://discuss.elastic.co/t/change-primary-shards-number/250963)

<div class="topic-metadata">

**Author:** [@vodka\_pivo](https://discuss.elastic.co/u/vodka_pivo)\
**Replies:** 2\
**Last updated:** [October 8, 2020, 2:00pm UTC](https://discuss.elastic.co/t/change-primary-shards-number/250963 "2020-10-08T14:00:25Z")

</div>

Hello! i use elasticsearch 7.4.0 and i want to change the primary shards number on existing indices how can i do this? i want to increase some primary shards, and decrease

[Previous page](https://discuss.elastic.co/tag/none.md?no_tags=true&page=1201)

[Next page](https://discuss.elastic.co/tag/none.md?no_tags=true&page=1203)
