Ingest Json File into Elasticsearch

(Mahroon) #1

Dear Elasticer,

The main question is how to ingest the json file into ES?
Should I create an index and after that mapping then I can Ingest the data.

Look forward to hearing from you soon.


(David Pilato) #2

Please format your code, logs or configuration files using </> icon as explained in this guide and not the citation button. It will make your post more readable.

Or use markdown style like:


There's a live preview panel for exactly this reasons.

Lots of people read these forums, and many of them will simply skip over a post that is difficult to read, because it's just too large an investment of their time to try and follow a wall of badly formatted text.
If your goal is to get an answer to your questions, it's in your interest to make it as easy to read and understand as possible.
Please update your post.

Please share also formatted the content of sms_samples.json.

(andy_zhou) #3

logstash can do this.

(system) closed #4

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