All Questions
25 questions
0
votes
1
answer
53
views
Elasticsearch: add JSON in historic indices
We currently are importing data using Logstash. One of the fields ("request") is a JSON stored as a string.
We now require a section of this stored JSON as fields in the searchable index. I ...
0
votes
1
answer
2k
views
Elasticsearch Filebeat ignores custom index template and overwrites output index's mapping with default filebeat index template
What are you trying to do?
Using Filebeat to take input data as filestream from JSON files in ndjson format and inserting them into my_index in Elasticsearch with no additional keys.
Show me your ...
-2
votes
1
answer
296
views
Extract fields and its path from json object using python
I got json object from elasticsearch index mapping
I want to group index fields from json object based on its type.
https://gist.github.com/akthodu/47404880d2e5b6480a881214d41feb58
long field
act....
0
votes
1
answer
79
views
Elasticsearch like solution for max 1000 json files
My application has to perform elasticsearch like querying on files in a directory.
At max, I will have only 1000 json files in that directory.
Elasticsearch becomes heavy for this purpose. Is there ...
0
votes
0
answers
207
views
ElasticSearch: Aggregation with order by top_hits differs in doc count
My problem is that having a max score aggregation that sorts by _score, in combination with a terms aggregation, is showing a different doc_count.
Here is the aggregation block that I want, but ...
0
votes
1
answer
200
views
How do I index JSON format files using Elasticsearch in Python?
Quite new to Elasticsearch and I am trying to read in .json file and trying to index the file. So far I have this but I am kind of unsure on how to proceed from here:
from elasticsearch import ...
0
votes
1
answer
470
views
Create a JSON document, elasticsearch
I will quote part of the documentation of 'www.elastic.co' concerning the creation of a JSON document:
index a simple customer document into the customer index, "external" type, with an ID of 1 as ...
4
votes
1
answer
338
views
Specify elasticsearch index in the payload
My query
I am writing an Elasticsearch query and specifying the requested index in the URL and the query in an external JSON file:
curl
curl -s \
-u $user:$pass \
https://example.com:9243/...
0
votes
1
answer
3k
views
Elasticsearch Java API Set index settings
I'm struggling about the search-by-typing analyzer. I have a NodeFactory and there I create a node. Than in my IndexService class, I index a whole JSON file which has some data. I'm not an ...
4
votes
3
answers
5k
views
How to store large JSON strings in elasticsearch?
We're using ES2.3. What would be the recommended mapping / type for storing JSON in fields? Also, what would be the maximum recommended length of these fields? We don't need the field to be analysed ...
0
votes
1
answer
104
views
ElasticSearch drops a field in indexing with Java
I recently come across with this problem with ElasticSearch indexing in Java. When writing a record into ElasticSearch from serialized json byte array, one of the fields is missing or dropped.
The ...
0
votes
0
answers
42
views
Retrieve field name form Value in Elastic Search
Here is my Json Document which I want to Index and Search
{
"BookName":"Book1",
"ISBN":"978-3-16-148410-0",
"PageCount":"504",
"Chapters":{
"Chapter1":"Chapter_Content",
...
0
votes
2
answers
40
views
Which model is better for elasticsearch indexing?
I have 2 JSON model that can represented model for elasticsearch indexing. First :
{
"id" : 1,
"nama" : "satu",
"child" : {
"id" : 2,
"nama" : "dua",
"child" : [
{
"...
1
vote
2
answers
105
views
AND query in Elasticsearch
I'm trying to filter my query by 2 fields, but keep getting error. I'm using the AND query as suggested by Elasticsearch docs (it's actually a 'bool' query), here-
https://www.elastic.co/guide/en/...
0
votes
2
answers
117
views
Mapping format on elasticsearch
I'm to upload a json document to my server via elasticsearch but i wanted to map it before i upload it but i keep getting a search phase execution exception error.
The json data looks like this
{"...