Questions tagged [elasticsearch-plugin]

Elasticsearch plugins are a way to enhance the basic elasticsearch functionality in a custom manner.

Elasticsearch Plugins are a way to enhance the basic elasticsearch functionality in a custom manner. They range from adding custom mapping types, custom analyzers (in a more built in fashion), native scripts, custom discovery and more.

See the Plugins documentation for more.

968 questions
6
votes
1 answer

Elasticsearch management tools like phpMyAdmin for mysql

Is there any graphic management tools for Elasticsearch like phpMyAdmin for MySQL. I would like to be able to edit fields, chang mapping etc.
John Smith
  • 1,204
  • 3
  • 22
  • 42
6
votes
2 answers

Reading a file in an Elasticsearch plugin

I am writing an elasticsearch plugin which relies on reading data from a file on disk. When I try to access this file in my code, I get the following exception. Caused by: java.security.AccessControlException: access denied ("java.io.FilePermission"…
Apurv
  • 4,458
  • 2
  • 21
  • 31
6
votes
1 answer

What is the best way to implement Email Alerts in Elastisearch?

We will be building a new job board type site that runs in AWS and we are using Elastisearch for all the job and candidate search functionality. The site will have email alerts. 1) Candidates can set an alert so that a new job that is posted that…
6
votes
5 answers

how to stop kibana (not as a service)?

I am trying to stop kibana on SSH with kill but it respawns immediatly dagatsoin@dagatsoin.io [~/logstash]# ps aux | grep kibana 533 28778 0.0 0.0 9292 876 pts/2 S+ 00:16 0:00 grep kibana dagatsoin@dagatsoin.io [~/logstash]# kill…
dagatsoin
  • 2,626
  • 6
  • 25
  • 54
6
votes
3 answers

Elasticsearch Aggregation by Day of Week and Hour of Day

I have documents of type: [{"msg":"hello", date: "some-date"},{"msg":"hi!", date: "some-date"}, ... I want to have the count of documents by day of week. For example x messages were sent on Monday and y were sent on Tuesday and so on. I have used…
6
votes
1 answer

elasticsearch dynamic query - Add another field to each document returned

What I need is very simple, but I am unable to find how to do it in Elasticsearch, possibly because of the complexity of what is required to be done. Input (two sample JSON documents) { "car" : 150, "bike" : 300 } { "car" : 100, "bike" : 200} What…
6
votes
2 answers

How to reindex ElasticSearch quickly?

I have an ElasticSearch index with around 200M documents, total index size of 90Gb. I changed mapping, so I would like ElasticSearch to re-index all the documents. I wrote a script that creates a new index (with the new mapping), then goes over all…
diemacht
  • 2,022
  • 7
  • 30
  • 44
5
votes
0 answers

Elasticsearch scripting Engine Implementation for groovy tf queries

Currently, on ES 5.6, we are using groovy inline scripting to get tf of a given term in a field for given documents like - GET document/_search { "size": 114, "query": {"terms": { "doc_id": [1840, 2160] }}, "script_fields": { …
5
votes
4 answers

Elasticsearch 6.0.1 NoSuchFieldError: LUCENE_6_0_0

I am using elasticsearch 6.0.1 and on BulkRequest request = new BulkRequest(); I am getting the below error. I have checked online, mostly people said that this happens if I have different versions of lucene jars in the…
5
votes
2 answers

Error using "repository-s3" plugin for ElasticSearch

I'm trying to set the configuration for snapshot repository of elasticsearch nodes to S3. I have installed the "repository-s3" plugin for elasticsearch. PUT…
zubair1024
  • 843
  • 8
  • 24
5
votes
1 answer

Replicating Couchbase to ElasticSearch (w/ multiple indices)

Currently we're using Couchbase and ElasticSearch(2.x) and replicating data from CB to ES successfully using elasticsearch-transport-couchbase plugin. The problems began while upgrading to ES 5.6.4. Up until now, we used a single index in ES, and…
shays10
  • 509
  • 5
  • 18
5
votes
3 answers

Elastalert default install location

I followed this url to install Elastalert, however I don't even know where is that config.yaml.example file is located. Where does the elastalert gets installed by default? Am I missing anything?
windowws
  • 373
  • 1
  • 8
  • 20
5
votes
2 answers

Can we Round off the score in Elasticsearch

I am implementing a project in which the results are to be sorted based on score and in case of same score the result set to be sorted based on date field. The issue arises when the score differs by .00001 i.e by 5th or 6th Decimal position. Is…
Ashit_Kumar
  • 601
  • 2
  • 10
  • 28
5
votes
1 answer

How to index a pdf file using Elasticsearch ingest-attachment plugin?

I have to implement a full-text based search in a pdf document using Elasticsearch ingest plugin. I'm getting an empty hit array when I'm trying to search the word someword in the pdf document. //Code for creating pipeline PUT…
Ashley
  • 441
  • 2
  • 8
  • 27
5
votes
1 answer

Getting error in Elasticsearch while creating index using postman

I have installed Elasticsearch 5.1 in ubuntu 14.04. I have performed some operations in Elasticsearch like create index, delete index etc. Then I have installed Kibana 5.1. Now I want to create new index in elasticsearch using postman…