# Uploading Shakespeare json to index in Kibana

**URL:** <https://discuss.elastic.co/t/uploading-shakespeare-json-to-index-in-kibana/171554>\
**Category:** Kibana\
**Created:** [March 8, 2019, 8:24pm UTC](https://discuss.elastic.co/t/uploading-shakespeare-json-to-index-in-kibana/171554 "2019-03-08T20:24:41Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [March 8, 2019, 11:10pm UTC](https://discuss.elastic.co/t/uploading-shakespeare-json-to-index-in-kibana/171554/2 "2019-03-08T23:10:36Z")

</div>

The complete works of William Shakespeare, suitably parsed into fields. Download[`shakespeare.json`](https://download.elastic.co/demos/kibana/gettingstarted/shakespeare_6.0.json).

```auto
PUT /shakespeare
{
 "mappings": {
  "doc": {
   "properties": {
    "speaker": {"type": "keyword"},
    "play_name": {"type": "keyword"},
    "line_id": {"type": "integer"},
    "speech_number": {"type": "integer"}
   }
  }
 }
}

```

```auto
curl -H 'Content-Type: application/x-ndjson' -XPOST 'localhost:9200/shakespeare/doc/_bulk?pretty' --data-binary @shakespeare_6.0.json

```

Follow: [https://www.elastic.co/guide/en/kibana/current/tutorial-load-dataset.html](https://www.elastic.co/guide/en/kibana/current/tutorial-load-dataset.html)

Else use sample data : [https://www.elastic.co/guide/en/kibana/current/tutorial-load-dataset.html](https://www.elastic.co/guide/en/kibana/current/tutorial-load-dataset.html)

Cheers  
Rashmi

---

_[View the full topic](https://discuss.elastic.co/t/uploading-shakespeare-json-to-index-in-kibana/171554)._
