# Importing json

**URL:** <https://discuss.elastic.co/t/importing-json/175047>\
**Category:** Kibana\
**Created:** [April 2, 2019, 6:48pm UTC](https://discuss.elastic.co/t/importing-json/175047 "2019-04-02T18:48:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kbkibana](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kbkibana/32/42742_2.png) [@kbkibana](https://discuss.elastic.co/u/kbkibana)\
**Post date:** [April 2, 2019, 6:48pm UTC](https://discuss.elastic.co/t/importing-json/175047/1 "2019-04-02T18:48:41Z")

</div>

Hi there,  
I'm new in elastic search and I was wondering if there is any straightforward way to import JSON file to kibana in order to make virtualization, Do I need to use filebeat?  
when uploading sample data of Shakespeare using "machine learning"\> "Data virtualizer" and then discover data it is like there is a gap between each row...  
How I can index and import my file, is there any step by step guide available?

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [April 3, 2019, 1:38am UTC](https://discuss.elastic.co/t/importing-json/175047/2 "2019-04-03T01:38:02Z")

</div>

There are quite a few ways to get data into Elasticseach - you can use the Elasticsearch [Index API](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-index_.html), or [Bulk API](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html).

We also have [Beats](https://www.elastic.co/products/beats), which are lightweight shippers, which themselves use these API's. If you have a file which you're wanting to import, [Filebeat](https://www.elastic.co/products/beats/filebeat) would probably be your easiest option. Another benefit to using Beats are they automatically create the mapping for the indices, and create sample visualizations/dashboards in Kibana.

[Getting Started With Filebeat](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-getting-started.html)

---

<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:** [May 1, 2019, 1:38am UTC](https://discuss.elastic.co/t/importing-json/175047/3 "2019-05-01T01:38:06Z")

</div>

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