# Template installation error

**URL:** <https://discuss.elastic.co/t/template-installation-error/185799>\
**Category:** Elasticsearch\
**Created:** [June 14, 2019, 8:40am UTC](https://discuss.elastic.co/t/template-installation-error/185799 "2019-06-14T08:40:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vineeth\_Ananthula1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vineeth_ananthula1/32/47851_2.png) [@Vineeth\_Ananthula1](https://discuss.elastic.co/u/Vineeth_Ananthula1)\
**Post date:** [June 14, 2019, 8:40am UTC](https://discuss.elastic.co/t/template-installation-error/185799/1 "2019-06-14T08:40:50Z")

</div>

When i start running my conf file, I am getting an error as shown below. How can I correct this error?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/f/8fcdd9efff83229560eccdaed2045ab1085a3688.png)

my conf file:  
input {  
tcp {  
port =\> 514  
type =\> syslog  
}  
udp {  
port =\> 514  
type =\> syslog  
}  
}

output {  
elasticsearch {  
hosts =\> ["120.96.22.29:9200"]  
index=\> "infrasyslog-%{+YYYY-MM-dd}"  
}  
stdout { codec =\> rubydebug }  
}

---

<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:** [June 15, 2019, 5:48am UTC](https://discuss.elastic.co/t/template-installation-error/185799/2 "2019-06-15T05:48:39Z")

</div>

Please don't post images of text as they are hardly readable and not searchable.

Instead paste the text and format it with `</>` icon. Check the preview window.

---

<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 13, 2019, 5:48am UTC](https://discuss.elastic.co/t/template-installation-error/185799/3 "2019-07-13T05:48:40Z")

</div>

Closed on July 13, 2019, 5:48am UTC

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