I'm using component templates to define mapping and data types (such as long/integer/IP) and have the index templates which inherit these properties . However when the indices are created , the data types are all in "text/keyword" format .
what am i doing wrong ? I created templates on kibana's UI instead of APIs (in case if this makes any difference)
How do i keep the data types/mappings consistent ?