How to ingest json document (where each document is metadata)?

Hi, I'm new to elasticsearch. I have a json file where each document has metadata field.
eg-
{ "_id" : { "$oid" : "58735ab9e4b09d14bfb7525b" }, "avro_schema" : "{"type":"record","name":"batch_id_demo","namespace":"iw.import.batch_id_demo","doc":"IW Schema","fields":[{"name":"LNAME","type":["null","string"],"default":null,"columnName":"LNAME","sqlType":"12","scale":"0","precision":"0"},"isAuditColumn" : true, "javaType" : "String", "categoricalType" : "categorical", "numCategories" : 1, "categories" : "I", "categoryFrequencies" : "17" } ] }

How do I ingest this file in elasticsearch?

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