Questions tagged [elasticsearch-indices]

93 questions
1
vote
0 answers

How to change index field as not analyzed in elastic search while writing a dataframe?

I am writing a data frame to elasticsearch using pyspark. I am able to get the fields in Kibana. The problem here is in kibana whenever i refer a string column that has space between the content, the string is displayed as two different fields in…
DILIP KUMAR
  • 153
  • 1
  • 8
1
vote
2 answers

How to create custom indices when you stream Cloudwatch logs to elastic search

We are looking to use one Kibana dashboard, i.e. one elastic search domain for all our micro services, right now the only thing I see preventing that is when subscribing cloud watch logs to elastic search, it always creates indices of the same…
1
vote
1 answer

What are concrete indices

In relation to elasticsearch, what are concrete indices. The elasticsearch docs mention them hundreds of times, but I can't find a definition anywhere. For example: count - allowNoIndices: Whether to ignore if a wildcard indices expression resolves…
Ryan White
  • 2,366
  • 1
  • 22
  • 34
1
vote
1 answer

Boosting individual elasticsearch indices to have preference in results

I am trying to boost certain indices in my elastic search query. Right now, my query is looking like this. var query = { "query": { "query_string": { "fields": ["FirstName", "LastName"], "query": "Hank Hill", …
Zack
  • 13,454
  • 24
  • 75
  • 113
1
vote
0 answers

Best ways to add indices to an existing Elasticsearch instance

whats the best way to move over an index from one server to another, which already has its own index that is unrelated to the first server ? basically the scenario is, I have an index on server-1, which is used by website-1, and due to server cost,…
1
vote
1 answer

elasticsearch downgrade challenge: shard allocated for local recovery (post api), should exists, but doesn't

After I uninstalled elasticsearch 0.9.x through brew uninstall elasticsearch I installed elasticsearch 0.20.6 through brew install elasticsearch-0.20. When I start the server through elasticsearch -f -D…
Murdoch
  • 630
  • 2
  • 8
  • 21
0
votes
1 answer

How to merge elasticsearch indices

In Elasticsearch v7.12.0 I have several indices named as payload.YYYY-MM. With YYYY = year and MM = month. In order to reduce the amount of indices, I would like to merge all the indices that are from the same year in a new indice named…
0
votes
0 answers

Elastic TSDS uses wrong backing index after downsample

I have created a TSDS in elastic with the following settings: { "index": { "mode": "time_series", "number_of_shards": "2", "number_of_replicas": "1", "routing_path": [ "name", "id" ] } } It uses a component…
0
votes
1 answer

Ingest pipeline should only work on new incoming documents and output to new index

I have an index with millions of documents and it gets new documents periodically. I created an ingest pipeline for it. But I only want it to work on the new incoming documents because previous document count is huge. I connected my index and ingest…
0
votes
1 answer

Renaming a index in Elasticsearch so it falls into a desired index pattern

My goal is to rename an index named foo, so it falls into an index pattern named bar, which includes indices named bar*. I do not want to reindex the whole index so its rather large, for it would take up massive amounts of resources. I see…
0
votes
2 answers

Moving specific Index Data into a new Index within Elasticsearch

I have several million docs, that I need to move into a new index, but there is a condition on which docs should flow into the index. Say I have a field named, offsets, that needs to be queried against. The values I need to query for are:…
ColeGulledge
  • 393
  • 1
  • 2
  • 12
0
votes
0 answers

Is multiple ElasticSearch indices with duplicate fields have less overhead then a single index containing all fields?

We have multiple fields to be indexed: field1, field2, field3, field4, field5 We know that users will query data only using the next combinations: field1, field2, field3 field1, field2, field4 field1, field4, field5 field3, field4, field5 No other…
Oleksandr
  • 3,574
  • 8
  • 41
  • 78
0
votes
0 answers

How can I mock an Elastic Search index?

I want to create an integration test in C#10 (.NET 6) that does some tests on the Elasticsearch index but I can't do it with the real data. I want to mock an index or create an index with dummy data and then test it by giving mock inputs and…
0
votes
2 answers

Create an index from search results using _reindex API

I'am tring to store the results of my search request in new index. This is my code: POST /_reindex { "source": { "index": "my_index_name", "query": { "bool": { "must": [ { "match": { …
0
votes
1 answer

how to use logstash input elasticsarch index dynamic value

Please help me. What I want is to know how to dynamically change the index during logstash elasticsearch input. i want this input { elasticsearch { hosts => localhost:9200 index => index-+{yyyy}-{increasing value} …
vane
  • 31
  • 1
  • 4