I'm fairly new to elasticsearch, so sorry if this is a trivial question.
I'm running a typical logstash-redis-elasticsearch system to capture all my logs(around 500 GB/day). To my knowledge elasticsearch queries every shard in an index and aggregates the results, but due to the volume of logs per day and the response times needed, I want to query only few shards which of course should be decided on some "tag" in the message. So I'm looking at a way to allocate data to shards based on some tags and query only relevant shards based on the tags. Any leads, references or solutions on how to achieve this ?
I've already looked at shard allocation filtering but that doesn't cater this specific requirement.
I'm fairly new to elasticsearch, so sorry if this is a trivial question.
I'm running a typical logstash-redis-elasticsearch system to capture all my
logs(around 500 GB/day). To my knowledge elasticsearch queries every shard
in an index and aggregates the results, but due to the volume of logs per
day and the response times needed, I want to query only few shards which of
course should be decided on some "tag" in the message. So I'm looking at a
way to allocate data to shards based on some tags and query only relevant
shards based on the tags. Any leads, references or solutions on how to
achieve this ?
I've already looked at shard allocation filtering but that doesn't cater
this specific requirement.
I'm fairly new to elasticsearch, so sorry if this is a trivial question.
I'm running a typical logstash-redis-elasticsearch system to capture all
my
logs(around 500 GB/day). To my knowledge elasticsearch queries every shard
in an index and aggregates the results, but due to the volume of logs per
day and the response times needed, I want to query only few shards which
of
course should be decided on some "tag" in the message. So I'm looking at a
way to allocate data to shards based on some tags and query only relevant
shards based on the tags. Any leads, references or solutions on how to
achieve this ?
I've already looked at shard allocation filtering but that doesn't cater
this specific requirement.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.