Introduction to the termonology?

I'm watching the Getting started with Elasticsearch video https://www.elastic.co/webinars/getting-started-elasticsearch?baymax=default&storm=cta1&elektra=home. It seems you need some privous knowledge on datatype and database termonology. Are any good introduction videos that explains the basics with indexes, templates, field types, mappings etc? Yes I read https://www.elastic.co/guide/en/elasticsearch/reference/current/glossary.html but it would be nice to get some more basic explanation.

My specific problem is that I have a few fields with 'subfield' (?) that is of type number. I want to change this to type geo_point.

So this is my attempt at creating a new index. I have a field called src_geoip and another called dst_geoip. Both fields have subfields called location.

PUT /netflow/_mapping/src_geoip
{
    "src_geoip" : {
        "properties" : {
              "ip": {
                "type": "ip"
              },
              "latitude": {
                "type": "half_float"
              },
             "location": {
                "type": "geo_point"
              },
              "longitude": {
                "type": "half_float"
              }
            }
    }
}

This returns acknowledged OK. Then I sent netflow data to this index, and I create index in kibana for viewing. But there the field type of src_geoip.location is still "number".

I think the reason is that Kibana uses the field stats APi that puts all numeric types (long, double, half_float, etc) under a generic number type.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.