elasticsearch's questions - English 1answer

32.355 elasticsearch questions.

In my code base, I have two code for search on elastic. One is through ElasticSearchTemplte from there I build the elastic query and query on elastic. In the second one, I am querying through spring-...

I had created a logstash script to read a logfile which is having various timestamp of format "2018-05-08T12:18:53.506+0530". I am trying to parse it to date using the date filter in log stash date{ ...

What is the best practice using ElasticSearch from Java? For instance one can easily find documentation and examples for delete-by-query functionality using REST API. This is not the case for Java ...

Good day my dear internet companions In this day, I would like to know the way to specify an Elasticsearch mapping, or create one. My aim is to know the exact way to create an Elasticsearh mapping, ...

I'm curious but Couldn't find any resource regarding a one server (node) elasticsearch system. I have read about scaling-out benefits of NOSQL and it data-sharding. if running my NOSQL db on a one ...

I am trying to import a Kibana 6 visualization into Elasticsearch 6, to be viewed in Kibana. I am trying to do this with a curl command, or essentially a script without going through the Kibana UI. ...

Am writing Spring Boot rest service to get products from elastic search based on _id ( from elastic search ). Am able to print the response from the service, means service able to fetch but while ...

I have an elastic search cluster having the analytics data of my website. There are page view events when a user visits a page. Each pageview event will have a session-id field, which will remain same ...

I'm trying to program a nodejs server that read all documents in an elsaticsearch index, and return a javascript array that contains the title field for each document. This is my JavaScript code: ...

I have an index with nested objects and am trying to derive some statistics about the data, but am having trouble doing so. The documents look like this simplified version: { "rn": 1, "t": "X", ...

I want to implement autocomplete with elasticsearch and I'm unable to do it. I want something like this question here. I tried the suggested answers but in vain. I want to have something like the ...

I have get dyanamically data from MySQL tables in my elasticSearch index. For that i have used following link for but not get propper result: I have used following code: echo '{ "type":"jdbc", ...

we are trying to ship a hugh list of files into our elastic cluster. Unfortuantely that causes filebeat to consume a lot of memory and cpu. Is there any special filebeat setting which should handle ...

I have the product named "Maximum Vulnerability". I want the user to type "Max Vul" and gets the result. How can I achieve this? Also I have another product named "Mad" and When I only type "Max" ...

I want to migrate all the records from elasticsearch (nearly half a million records) to a mongodb collection. I want to know the best way to do it.

I'm currently trying to get the following logic into an ES Query - does http_code exist? if so, it should be between 400-600; but it can also be missing. The following query doesn't work, I believe ...

I have documents in an Elasticsearch index, each of which has a timestamp field in ISO format. I can query the index while sorting by timestamp in ascending order, and the result would show that there ...

I am new to Elasticearch, and I have been trying for 2 days to insert some data into Elasticearch. I found on Google that there are many pages to help to create an index (I am not clear about "index", ...

I have a recipients index containing a nested activity object which stores event types and campaign ids. Here is an example: { email: 'm1@example.com', userId: 'user-id' listId: 'list-...

After restarting cluster I lose my data,How Can I recover it ElasticSearch Version 1.4 { "cluster_name": "mycluster", "status": "yellow", "timed_out": false, "number_of_nodes": ...

I have an elasticsearch cluster with 3 indexes: /users/user /events/visit /events/register /pages/page So, now I need to run queries processing multiple indexes. Eg: Get gender of users registered ...

How can I increase 10 options per filter defined as default. ongr_filter_manager: managers: # ... filters: dynamic_attributes: type: dynamic_aggregate request_field: ...

I want to implement Control Chart as it described here: https://www.elastic.co/blog/staying-in-control-with-moving-averages-part-2 1, but I do not have metrics — I have events with timestamps. So my ...

The example text is like this 172.16.17.39:6693, 172.16.17.34:6693 or 172.16.17.39:6693, 172.16.17.34:6693, 172.16.17.34:6694, I use upstream_addr:"172.16.17.39:6693, 172.16.17.34:6693" I can get the ...

I am looking for the light-weight log shipper which can directly transfer my logs to elasticsearch from kafka. Out of Filebeat, Logagent, Logstash(but i need light weighted) which among them or others ...

Getting elasticsearch "can not run as root" error after upgrading from SonarQube 6.5 to 6.6. Nothing else changed. CentOS release 6.8 (Final) Java(TM) SE Runtime Environment (build 1.8.0_101-b13) ...

I'm putting a java.util.Map in Elasticsearch using the following code: public void putMap(String key, Map<String, ?> value) { try { IndexRequest ir = Requests.indexRequest(_index) ...

How can I write a Java Client query and then extract data elements of the hits for this kind of nested query using QueryBuilder: ``` { "query": { "bool": { "must": [ { "...

I have data similar to file paths that I would like to index in elasticsearch. (basically list of tokens separated by delimiter) Ex data: a/b/c/d/e a/b/c/ a/m/n x/y/z Once I index, I should be able ...

I send a post request for multiply search on elastic search, POST / _msearch { "index": ["hy-devices-qa*"] } { "aggs": { ... } And the response is: { "responses": [ { "took": "....

Because of request failed,it will enter method (3) and it will lose some data. I want to save these failed data, but get null values. Why? Can someone help me? Thx! BulkProcessor bulkProcessor = ...

Here is my mapping [ElasticsearchType(Name = "Topic")] public class Topic { [Number(NumberType.Integer, Coerce = true)] public EnumStatus Status { get; set; } [Nested] public List<...

We are using Lucene for code content search. we are indexing the files in a project using our own Custom Analyser . We are having trouble in getting the number of occurrences for a matched file . We ...

I'm trying to get all documents of the week but in the time range of 10 am to 2 pm for example, is there a way to do it in Lucene, because I have to put this query into a timelion.

I want to remove some of the fields from my all ElasticSearch documents with query I already tried the following POST API for this but it's not removing http://localhost:9200/catalog/...

I want to use Python in Elasticsearch. So I wrote an Authentication code in Python for Elasticsearch. But I'm getting the error "TypeError: 'Session' object is not callable". Here's the code: import ...

My end goal is to be able to run the ELK stack on a docker swarm. I'm also using the rexray/s3fs driver to store volumes/data on S3. I can verify the rexray driver is working properly and have a ...

I have a document with a number of fields that I never query on so I would like to turn indexing on those fields off to save resources. I believe I need to disable the _all field, but how do I specify ...

im developing a simple winformsApp which will search from a database using elasticSearch. the search and synonym tokenfilter was working fine when my elasticSearchClient.cs file was in the same ...

I am trying to choose the best open source solution for log management And now I have two candidates LogStach + Kibana and GrayLog I do love Kibana because I found it more friendly user, but I think ...

Is there a way to tell elasticsearch to not return any metadata? Currently I can select which fields I want to be returned in source. But I only want fields in source. I would prefer to not have the ...

I am using top_hits aggregation to retrieve documents along with counts.I need to retrieve all the document based on my earlier post here, for which thought passing size 0 will do it but it throws ...

I am new to Elasticsearch, And we are working on a requirement,where document in the elasticsearch will be fetched based on the match types like fuzzyMatch,Wordmatch etc... We are facing performance ...

I know this can be done as a filter, but for 'reasons' I need to execute this as a Lucene query. I have an field called "FileLoadedToElasticDateTime" and I'm trying to find any records for this year, ...

I am trying to write a query in ElasticSearch which matches any part of the word. It should only match contiguous characters. So, if my index has "John Doe", I should still see "John Doe" returned by ...

i have a object with nested filed. "parameters": { "type": "nested", "properties": { "id": { "type": "integer" }, "values": { "...

I'm trying to run this query on ES 5.4: POST /_search?pretty&size=500 { "query": { "bool": { "must": [ { "match": { "tags": "MY_TAG" ...

How can I check if there is no activity left in Process Queue in node JS and kill the process? I have a scenario where I need to read data from Cassandra using stream method and process data to ...

I am unable to find any documentation regarding how do i implement Simple Query String Query in my Django Elasticsearch-dsl https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-...

Im a really novice guy working for first time with Logstash, Elasticsearch and Kibana. I created a logstash.conf file: input{ stdin{} } output{ elasticsearch { hosts => ["elasticsearch:9200"...

Related tags

Hot questions

Language

Popular Tags