title: Elasticsearch Bulk JSON Data
body: <p>This question arises from <a href="https://stackoverflow.com/questions/33340153/elasticsearch-bulk-index-json-data">this SO thread</a>.</p>
  
  <p>As it seems I have a similar but not the same query, it might be best to have a separate question for others to benefit from, as @Val suggested.</p>
  
  <p>So, similar to the above, I have the need to insert a massive amount of data into an index (my initial testing is about 10 000 documents but this is just for a POC, there are many more). The data I would like to insert is in a .json document and looks something like this (snippet): </p>
  
  <pre><code>[ { "fileName": "filename", "data":"massive string text data here" }, 
    { "fileName": "filename2", "data":"massive string text data here" } ]
  </code></pre>
  
  <p>On my own admission I am new to ElasticSearch, however, from reading through the documentation, my assumptions were that I could take a .json file and create an index from the data within. I have now since learnt that it seems each item within the json needs to have a "header", something like: </p>
  
  <pre><code>{"index":{}}
  { "fileName": "filename", "data":"massive string text data here" }
  </code></pre>
  
  <p>Meaning, that this is not actual json format (as such) but rather manipulated string. </p>
  
  <p>I would like to know if there is a way to <code>import</code> my json data as is (in json format), without having to manually manipulate the text first (as my test data has 10 000 entries, I'm sure you can see why I'd prefer not doing this manually).</p>
  
  <p>Any suggestions or suggested automated tools to help with this?</p>
  
  <p>PS - I am using the windows installer and Postman for the calls.</p>