Questions tagged [elasticsearch-5]

Use this tag for version specific questions about Elasticsearch 5.0 - the distributed, RESTful search and analytics engine. When using this tag also include the more generic [elasticsearch] tag where possible.

With Elasticsearch 5, Elastic takes a new approach on making its products work together by using unified release schedules. Each component of the Elastic Pack will be released at the same time with the same version. Elasticsearch 5 comes with shiny new features. Among others:

  • Index Shrinking
  • API for rolling over time-based indices
  • A new scripting language: Painless
  • New redesigned completion suggester
  • Re-index From Remote

Elasticsearch 5 documentation

1372 questions
0
votes
1 answer

Kibana5: index pattern does not contain any of the following field types: number, boolean, date, ip or string

So I just started with ELK (actually just EK) I uploaded my data using PHP and MySQL I can see all of the data in Kibana but whenever I try to create a visualization except the maps I get: No Compatible Fields: The "sample" index pattern does not…
Naman Khator
  • 351
  • 4
  • 14
0
votes
1 answer

Can we update roles in elasticsearch?

I can setup roles in Elasticsearch , but I want to update privilege on one of my index for a specific role. Can we update role or we have to set new rule. If we have to set new rule then, how can we update existing user for that role
Saurab
  • 1,931
  • 5
  • 20
  • 33
0
votes
1 answer

elasticsearch dynamic template

How do i setup dynamic template for a mapping below "ipAddress" : { "properties" : { "bytes" : { "type" : "text", "fields" : { "keyword" : { "type" : "keyword", …
0
votes
1 answer

Elasticsearch: Need offset of exact matching string

I have a html files and I need to find section around exact matching string, say "ANNUAL REPORT PURSUANT". I am using latest version of Elasticsearch 5.4.0. I am new to elasticsearch. For indexing I have defined analyzer as below: { …
nanosoft
  • 2,913
  • 4
  • 41
  • 61
0
votes
1 answer

Exact Search Term in Elastic Search in Kibana Dev Tools (with ES 5.x)

I have setup Elastic Search 5.x & Kibana on my local development environment, and have setup the indices I want to have results return exact search term (so only return results where that exact search term/string is found. How can I adjust this to…
Zabs
  • 13,852
  • 45
  • 173
  • 297
0
votes
1 answer

Highlighting Elasticsearch separates text

I built a auto-completion search with Elasticsearch 5.4 with highlighting the matches. This is my search query: GET statements/_search { "_source": ["uid","textversions.content"], "highlight": { "fields": { …
Freddy
  • 156
  • 1
  • 8
0
votes
1 answer

An elasticsearch query on an optionally absent field

I have an elastic index of simple objects that have two fields: { "content": "something", "acl": ["andrey", "gilles"] } The acl field is an array of usernames, or a value "public", or it may not be present in an object at all. I want to write…
Andrey
  • 20,487
  • 26
  • 108
  • 176
0
votes
2 answers

unable to parse timetstamp correctly on ELK 5.4

I am using the last ELK stack (5.4.0). I am parsing some apache log. All is OK with elasticsearch 2.4.5 and kibana 4.6.4 OK version apache 173.252.115.89 - - [29/May/2017:09:59:13 +0200] "GET /fr/fia/nodes.rss HTTP/1.1" 200 19384 "-"…
glmrenard
  • 675
  • 1
  • 8
  • 16
0
votes
1 answer

How do I re-index when I’m using logstash to apply an index template?

Im running version 5.3.0 of the ELK stack This is the output section of my logstash config: output { if [type] == "syslog" { elasticsearch { hosts => myserver index => "logstash-syslog-%{+YYYY-MM-dd}" template_name =>…
red888
  • 27,709
  • 55
  • 204
  • 392
0
votes
1 answer

SearchScroll Java API SearchContextMissingException

So for whatever reason, I am trying to run a simple java app to create a brand new index from another index ("myindex") to fix up some of the data but it seems to crash and say "could not find search context id=5322" and it says different ids for…
Dexter
  • 6,170
  • 18
  • 74
  • 101
0
votes
1 answer

Exclude results from Elasticsearch / Kibana based on aggregation value

Is it possible to exclude results based on the outcome of an aggregation? In other words, I have aggregated on a Term and a whole bunch of results appear in a data table ordered in descending order by the count. Is it possible to configure kibana /…
asdf01
  • 93
  • 5
0
votes
0 answers

elasticsearch: "How to retrieve the content of a mapping field"

I did a python script which indexes a set of email into elasticsearch, defining a mapping. Now I should do another script in order to retrieve the content of the body of the email (which is a mapping field named message_body) and perform some…
Riccardo
  • 289
  • 2
  • 5
  • 17
0
votes
1 answer

kibana: change the threadpool queue size

I have the same issue as this link. Seems that the changing of the queue size for the search threadpool resolve it: curl -XPUT http://your_es:9200/_cluster/settings { "transient":{ "threadpool.search.queue_size":10000 } } However…
sabrina2020
  • 2,102
  • 3
  • 25
  • 54
0
votes
2 answers

Elasticsearch: restrict result to documents with exact match

Currently I trying to restrict results of Elasticsearch (5.4) with the following query: { "query": { "bool": { "must": { "multi_match": { "query": "apache log Linux", "type": "most_fields", …
Yokovaski
  • 178
  • 11
0
votes
2 answers

Mappings on filed Elastic Search

I am using elastic search for autocompletion and also to correct spelling mistakes.I have this mapping for my field(for auto-completion). **Mapping:** "name": { "type": "text", "analyzer": "autocomplete" …
RedHead_121
  • 55
  • 1
  • 6