# What is the purpose of type field in Input section

**URL:** https://discuss.elastic.co/t/what-is-the-purpose-of-type-field-in-input-section/39828
**Category:** Logstash
**Created:** [January 21, 2016, 11:00pm UTC](https://discuss.elastic.co/t/what-is-the-purpose-of-type-field-in-input-section/39828 "2016-01-21T23:00:37Z")
**Posts on this page:** 1
**Showing post:** 16

<div class="post-metadata">

### Author: ![gaurav1424](https://avatars.discourse-cdn.com/v4/letter/g/97f17d/32.png) [@gaurav1424](https://discuss.elastic.co/u/gaurav1424)
#### Post date: [January 29, 2016, 9:28pm UTC](https://discuss.elastic.co/t/what-is-the-purpose-of-type-field-in-input-section/39828/16 "2016-01-29T21:28:46Z")

</div>

Thanks It worked.  
Could you please take your valuable time and try to reply to my question here ?

> [@Syslog date without year](https://discuss.elastic.co/t/syslog-date-without-year/29834/9):
>
> I am following this thread : [http://stackoverflow.com/questions/29384754/syslog-timestamp-without-year](http://stackoverflow.com/questions/29384754/syslog-timestamp-without-year) My requirement is : If syslog message comes with year in timestamp, I should match in date filter and take that year as time and put it in elasticsearch, If there is not year in syslog timestamp, then I need to have some default year / some default value which I will know in future, How can I do that ? My date filter is : date { target =\> "@timestamp" match =\> [ "syslog\_timestamp", "MMM …

I appreciate your help.

---

_[View the full topic](https://discuss.elastic.co/t/what-is-the-purpose-of-type-field-in-input-section/39828)._
