# Getting started with Elastic Search!

**URL:** <https://discuss.elastic.co/t/getting-started-with-elastic-search/214221>\
**Category:** Elasticsearch\
**Created:** [January 8, 2020, 11:43am UTC](https://discuss.elastic.co/t/getting-started-with-elastic-search/214221 "2020-01-08T11:43:54Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhijith\_chandran](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abhijith_chandran/32/60470_2.png) [@abhijith\_chandran](https://discuss.elastic.co/u/abhijith_chandran)\
**Post date:** [January 8, 2020, 11:43am UTC](https://discuss.elastic.co/t/getting-started-with-elastic-search/214221/1 "2020-01-08T11:43:55Z")

</div>

Hi,  
I have a bunch of .json files that contain a ~million judgements. I want to build a search engine on a website that queries these files. I am looking for tutorials or something similar that gets this is detail.

Regards,

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 8, 2020, 12:00pm UTC](https://discuss.elastic.co/t/getting-started-with-elastic-search/214221/2 "2020-01-08T12:00:42Z")

</div>

Welcome.

Do you have one json document per file?

---

<div class="post-metadata">

**Author:** ![abhijith\_chandran](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abhijith_chandran/32/60470_2.png) [@abhijith\_chandran](https://discuss.elastic.co/u/abhijith_chandran)\
**Post date:** [January 8, 2020, 12:14pm UTC](https://discuss.elastic.co/t/getting-started-with-elastic-search/214221/3 "2020-01-08T12:14:12Z")

</div>

Hi @dadoonet  
All the judgements are in a single .json file (its ~10GB). Here is the schema:

[  
{ 'id' : [title, body...] }  
]

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 8, 2020, 12:47pm UTC](https://discuss.elastic.co/t/getting-started-with-elastic-search/214221/4 "2020-01-08T12:47:30Z")

</div>

So you need to write a script which parses every single line and generate an index request from it which you can add to a bulk request.  
Every x documents, call the bulk api with the bulk request you created and start again.

Otherwise, you can generate one file per line of your big json file. Then use FSCrawler project to import all the json files. There's an option for that.

Or look at logstash with its file input plugin and its json codec or filter but I'm unsure if that would work.

---

<div class="post-metadata">

**Author:** ![abhijith\_chandran](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abhijith_chandran/32/60470_2.png) [@abhijith\_chandran](https://discuss.elastic.co/u/abhijith_chandran)\
**Post date:** [January 9, 2020, 2:46am UTC](https://discuss.elastic.co/t/getting-started-with-elastic-search/214221/5 "2020-01-09T02:46:09Z")

</div>

Hi,  
Is there an elastic cloud solution for the same? In short, I want to upload my data and get an endpoint that I can call from my website. I am not familiar with the ELK stack but I would like something that is already hosted and ready to go since we are on a tight deadline.

Regards,

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 9, 2020, 12:48pm UTC](https://discuss.elastic.co/t/getting-started-with-elastic-search/214221/6 "2020-01-09T12:48:55Z")

</div>

look at [https://www.elastic.co/cloud](https://www.elastic.co/cloud)

Cloud by elastic is one way to have access to all features, all managed by us. Think about what is there yet like Security, Monitoring, Reporting, SQL, Canvas, APM, Logs UI, Infra UI, SIEM, Maps UI and what is coming next 🙂 ...

But you will still to write an application which exposes a REST endpoint where you can upload your file and send bulk requests to the cloud instance.

---

<div class="post-metadata">

**Author:** ![abhijith\_chandran](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abhijith_chandran/32/60470_2.png) [@abhijith\_chandran](https://discuss.elastic.co/u/abhijith_chandran)\
**Post date:** [January 11, 2020, 11:28am UTC](https://discuss.elastic.co/t/getting-started-with-elastic-search/214221/7 "2020-01-11T11:28:44Z")

</div>

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 8, 2020, 11:28am UTC](https://discuss.elastic.co/t/getting-started-with-elastic-search/214221/8 "2020-02-08T11:28:49Z")

</div>

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