# Can't get Type in Custom Plugin

**URL:** <https://discuss.elastic.co/t/cant-get-type-in-custom-plugin/143805>\
**Category:** Elasticsearch\
**Created:** [August 10, 2018, 6:29am UTC](https://discuss.elastic.co/t/cant-get-type-in-custom-plugin/143805 "2018-08-10T06:29:47Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [August 10, 2018, 7:16am UTC](https://discuss.elastic.co/t/cant-get-type-in-custom-plugin/143805/2 "2018-08-10T07:16:16Z")

</div>

Please format your code, logs or configuration files using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21) and not the citation button. It will make your post more readable.

Or use markdown style like:

````
```
CODE
```

````

This is the icon to use if you are not using markdown format:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/e/7e6e239431ec2d71cbf1beef741f2e93e7cc762c.jpg)

Could you share your elasticsearch logs?

---

_[View the full topic](https://discuss.elastic.co/t/cant-get-type-in-custom-plugin/143805)._
