I recently upgraded from ES 1.7 to 6.3, so have a lot to learn. I thought i head read in some documentation that ES is smart enough to know what indices to query based on timestamp fields.
If i wanted to search 7/1 thru 7/3 is ES 1.7, I would search like this:
Is this still necessary, or can I simply do: logstash-*/_search
and supply a range filter for the @timesamp field in the query and ES will figure out which indices to search?
From my limited testing the queries seem to run just as fast if I specify logstash-* or if i specifiy the exact index names. I just want to confirm this is the case.
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.