# Types hierarchical representation

**URL:** <https://discuss.elastic.co/t/types-hierarchical-representation/34537>\
**Category:** Logstash\
**Created:** [November 13, 2015, 5:12pm UTC](https://discuss.elastic.co/t/types-hierarchical-representation/34537 "2015-11-13T17:12:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![raghu\_ae](https://avatars.discourse-cdn.com/v4/letter/r/a88e4f/32.png) [@raghu\_ae](https://discuss.elastic.co/u/raghu_ae)\
**Post date:** [November 13, 2015, 5:12pm UTC](https://discuss.elastic.co/t/types-hierarchical-representation/34537/1 "2015-11-13T17:12:06Z")

</div>

Hi,

I have configured ELK stack successfully and I am able to view the data in Kibana.

Now I want to store the events based on different types.

EX: localhost:9200/logstash-2015.11.13/httpd/app1/  
localhost:9200/logstash-2015.11.13/httpd/app2/

localhost:9200/logstash-2015.11.13/tomcat/app1/module1/  
localhost:9200/logstash-2015.11.13/tomcat/app1/modue2/

Raghu

---

<div class="post-metadata">

**Author:** ![raghu\_ae](https://avatars.discourse-cdn.com/v4/letter/r/a88e4f/32.png) [@raghu\_ae](https://discuss.elastic.co/u/raghu_ae)\
**Post date:** [November 13, 2015, 10:01pm UTC](https://discuss.elastic.co/t/types-hierarchical-representation/34537/2 "2015-11-13T22:01:26Z")

</div>

Please help me with logstash elasticsearch output plugin configuration.

Raghu.A.E

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [November 14, 2015, 2:31pm UTC](https://discuss.elastic.co/t/types-hierarchical-representation/34537/3 "2015-11-14T14:31:46Z")

</div>

Document types only have a single level inside ES, but you could still create an implicit hierarchy by using e.g. hyphen or underscore in your type names.

---

<div class="post-metadata">

**Author:** ![raghu\_ae](https://avatars.discourse-cdn.com/v4/letter/r/a88e4f/32.png) [@raghu\_ae](https://discuss.elastic.co/u/raghu_ae)\
**Post date:** [November 16, 2015, 3:59am UTC](https://discuss.elastic.co/t/types-hierarchical-representation/34537/4 "2015-11-16T03:59:39Z")

</div>

Thank you 😄

---

<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:** [July 6, 2017, 5:22am UTC](https://discuss.elastic.co/t/types-hierarchical-representation/34537/5 "2017-07-06T05:22:44Z")

</div>


