Closed GoogleCodeExporter closed 9 years ago
It looks like elasticsearch isn't grokking @timestamp's format.
http://www.elasticsearch.com/docs/elasticsearch/mapping/date_format/
I think we need to make the format "basic_ordinal_date_time" in the
elasticsearch output.
Original comment by petefbsd
on 28 Jan 2011 at 3:04
What version of elasticsearch?
Most time I see errors like this (no mapping found for @timestamp) it is
because the index is actualy empty and has no data yet, so the failure is
actually attempting to sort on '@timestamp' but since there's no data in the
index, there's no field named '@timestamp' and thus we cannot sort on such
madness and produces the error.
Original comment by jls.semi...@gmail.com
on 31 Jan 2011 at 8:17
Running with logstash 0.2.20110112115018
Definitely have data in the index. The searches return data, but the histogram
looks a bit wonky.
Original comment by deinspanjer
on 31 Jan 2011 at 9:08
I had previously working for elasticsearch 0.12. But once upgrade to 0.14, it
is the same as above.
Original comment by jacky11...@gmail.com
on 8 Feb 2011 at 3:47
Hi, I work if I use two level index elasticsearch://localhost:9200/logs/all
Original comment by jacky11...@gmail.com
on 8 Feb 2011 at 4:14
Talked with kimchy (of elasticsearch). This is caused by 0.14.x not having an
automatic field type for IPAddress which causes this problem.
0.15.x will have this disabled.
In the mean time, folks should use 0.13.x for now *or* manually configure their
indexes when this happens to set the offending fields to string, not ip address.
Marking fixed since there is a current workaround and a future solution coming
soon.
Original comment by jls.semi...@gmail.com
on 10 Feb 2011 at 7:29
Just for info, I see this problem with elasticsearch 0.13.1, and also 0.15.0.
Haven't tried going back to 0.13.0 or 0.12 yet (logstash v 0.2.20110206003556).
Original comment by chrisma...@gmail.com
on 27 Feb 2011 at 9:39
I'm having this problem on the current stable version 15.2.
Original comment by wiley.cr...@gmail.com
on 18 Apr 2011 at 8:41
elastic0.16 also has it, as I'm trying out the logstash first-steps example...
Original comment by maximili...@gmail.com
on 9 Jun 2011 at 3:02
ignore unmapped should be set to true in sort clause
i.e.
"sort" : [
{ "rating": {"order" : "desc", "ignore_unmapped" : true} },
{ "price": {"order" : "asc", "missing" : "_last", "ignore_unmapped" : true} }
]
Original comment by a1yadu
on 11 Jun 2013 at 6:42
Original issue reported on code.google.com by
deinspanjer
on 28 Jan 2011 at 2:15