For instance, Kibana discover can't see the fields. The settings recognise the mappings are there.
Similarly the _search API (as per documentation) doesn't work without indexed fields and as far as I can tell, even less so if _all and _source is disabled.
good question, as you said you can't retrieve the fields with the document Get API or by searching. But refering to the blog post you mentioned, the fields that are later used in aggregations are declared as having "doc_values": true in the mappings. This means that for those fields the data is stored on disk using the doc_values data structure which is optimized for use in aggregations but cannot be searched.
You can still take a look at those values using fielddata_fields functionality. Here is a small example:
With the above mapping, searching for "count" e.g. with a range query will give you a exception because the field is not indexed. However, using the "ids" query to filter one (or more) documents, you can see the field data (or in this case doc_values) of that field.
Ok, so I understand what you're saying and from 2.x doc_values were default enabled - So I'm confident the data is stored.
My original post was a little bit of a loaded question leading onto the fact I'm now trying to visualize the data that has been input.
I can see in the originally linked blog post screen captures demoing visualization but for the life of me can't figure out how he achieve that, there's a large chunk of information/guidance missing from what I can tell.
This maybe for the Kibana forum more, but does Kibana 4.5.x now support aggregations of doc_value fields?
Is it unreasonable for me to have an expectation that once the data is loaded into the index (and it's correctly mapped) that I should just be able to use Kibana or (preferred) grafana to aggregate and visualize?
Fair point- hadn't realised you could. But still a restricting forum system
in terms of visibility when products for discussion work so tightly in a
stack. A better system would be topic tagging like serverfault and f5. Just
putting my suggestion out there.
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.