Dynamic mapping no Logstash

(mka) #1

Hello, I am looking for using dynamic mapping (not creating any schema and not using Logstash), I would like to ingest 4 different types of files on one Index from structured data set.
Can any one point some examples.


(sharon) #2

your example seems pretty easy.

Create index link

then just send 4 documents with 4 different types Link

just pay attention that if you send JSON with the same field name but different field type ( EG name: 123 and name:"some name") you wont be able to insert the document as the index shares all the fields of his types and they need to be of the same type.
If you follow these rules you should be fine

(system) #3

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