Questions tagged [elasticsearch-indices]

93 questions
0
votes
1 answer

Move data between elastic search clusters

I am new to elasticsearch. I'm trying to create a snapshot for migration from ELK deployed on my Kubernetes cluster to opensearch service, but I don't want to snapshot the whole cluster only some indices, any pointers please on how to export data to…
0
votes
1 answer

Set retention days to a Elasticsearch indices, using kibana or Elasticsearch itself

I have some indices that I have to apply retention policies to. Indice-a-date_of_creation 30 days Indice-b-date_of_creation 180 days Is there a way to set retention policies to those Indices on Kibana? If not, how can I set them on elasticsearch?
0
votes
0 answers

Not able to search uppercase words in Elastic Search

I have created an Index by specifying an token filter as lower case and analyzer used in Standard. The version of Elastic Search used is 7. "filter": [ "lowercase", "autocomplete_filter" ] but when I search for a text let's say…
Aditya
  • 950
  • 8
  • 37
0
votes
0 answers

Dynamic Mapping Not Showing Data Types of fields when Document is inserted in an Index in ElasticSearch 7

I have written an api to create index by specifying custom settings and mappings using Java High Level Rest Client. Version of Elastic Search is 7.The index is created successfully. The info of api is specified below. public IndexResponse…
Aditya
  • 950
  • 8
  • 37
0
votes
1 answer

Delete Index Custom api using Java High Level Rest Client

Here is a custom api to delete an index using a transport client and the import statement using admin and it is working fine. I am writing the same using Java High Level Rest Client, but not able to find the appropriate import statement there.…
Aditya
  • 950
  • 8
  • 37
0
votes
0 answers

How to delete elasticsearch indices between certain date ranges using the delete api?

I have elasticsearch indexes of the format "abc-xyz-yyyy-mm-dd". I have a requirement wherein I have to write a script to take two different dates as the input and then delete the indexes of the above format between these ranges using elasticsearch…
0
votes
0 answers

Elasticsearch ILM index data is not shifting/migrating

We have created ILM (index lifecycle management) policies, to automate index rollover using a matching index template and a bootstrap index to enable write index with an alias. Please find the below API code: Polices { "policy": { "phases": { …
0
votes
0 answers

Disk.indices is higher than disk.used in cat allocation

When I run the following command: GET _cat/allocation?v&s=disk.indices&h=shards,disk.indices,disk.used,disk.available,disk.total,disk.percent it shows the following output: shards disk.indices disk.used disk.total disk.percent 160 1.4tb …
Sandeep Kanabar
  • 1,264
  • 17
  • 33
0
votes
0 answers

What causes an Elasticsearch index to drop its linked indices?

What can cause an index to drop its linked indices? We have several Index Lifecycle Policies in place for our cluster, but one of them (filebeat ILM policy) descended to 0 (from more then 10) linked indices, thus causing data loss, logs are no…
0
votes
2 answers

Mapping Parser Exception in Elasticsarch

I have created UDT in Cassandra CREATE type starter.random_data_demo( destination_wise_count map ); then used this udt in my table CREATE TABLE demo( field_data FROZEN PRIMARY KEY ); when i hit query for…
0
votes
0 answers

Custom Timeseries index in elastic search

Is it possible to create custom timestamp index in elastic search? While reading through elastic search, I find that elastic search automatically creates data insert timestamp if we enable @timestamp in mapping section. elastic blog reference Now…
0
votes
0 answers

why similar mget query one index is more slower than another?

There are two indexes, health status index uuid pri rep docs.count docs.deleted store.size pri.store.size green open company KTngnM6ASD-_KdU0FFAWRA 1 0 75354420 23058482 20.1gb …
zhuguowei
  • 8,401
  • 16
  • 70
  • 106
0
votes
0 answers

ElasticSearch: Handling data between multiple indices

I have 2 indices. These 2 indices are kind of related to one another. For example, lets say, the 1st index contains all information pertaining to an e-book. Information like author, published date, title etc. will be indexed here. And the 2nd index…
Vignesh T
  • 237
  • 1
  • 2
  • 11
0
votes
1 answer

Auto index and auto deletion of index on Elasticsearch

We have the following requirement: every month a new index (collection) has to be created: company_details- in ES cluster. We need to delete the older indices which are greater than 2 months. Example: company_details-2019-12 (delete this…
Somebody
  • 23
  • 5
0
votes
0 answers

How to check the index is used for searching or indexing

I've a lot of elasticsearch clusters which hold the historical indices(more than 10 years old), some of these indices are created newly with latest settings and fields, but old ones are not deleted. Now I need to delete the old indices which are not…
user12056260