# Why codec dots not working

**URL:** <https://discuss.elastic.co/t/why-codec-dots-not-working/57133>\
**Category:** Logstash\
**Created:** [August 3, 2016, 4:44pm UTC](https://discuss.elastic.co/t/why-codec-dots-not-working/57133 "2016-08-03T16:44:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![achenchik\_nexters](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/achenchik_nexters/32/11157_2.png) [@achenchik\_nexters](https://discuss.elastic.co/u/achenchik_nexters)\
**Post date:** [August 3, 2016, 4:44pm UTC](https://discuss.elastic.co/t/why-codec-dots-not-working/57133/1 "2016-08-03T16:44:59Z")

</div>

Hello there,

Any idea why codec docs is not working at all?

`input {  
file {  
path =\> "/opt/logstash/prod-debug/\*.log"  
start\_position =\> "beginning"  
ignore\_older =\> 2678400  
}  
tcp {  
port =\> 5000  
}  
}

filter {  
grok {  
patterns\_dir =\> ["/etc/logstash/conf.d/patterns"]  
match =\> ["message", "%{BACKEND\_LOG:backend\_log}"]  
}  
if "\_grokparsefailure" in [tags] {  
drop { }  
}  
json {  
source =\> "json\_to\_parse"  
target =\> "details"  
}  
date {  
match =\> ["backend\_timestamp", "yyyyMMdd-HH:mm:ss.SSS"]  
target =\> "@timestamp"  
timezone =\> "UTC"  
}  
}

output {  
stdout {  
codec =\> dots  
}  
elasticsearch {  
hosts =\> "elasticsearch:9200"  
}  
}  
`

I don't see any dots while processing huge files (with lines)

Thanks in advance for your help!

Andrey

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 4, 2016, 8:02am UTC](https://discuss.elastic.co/t/why-codec-dots-not-working/57133/2 "2016-08-04T08:02:43Z")

</div>

FYI, if you want to code format some text, you need 3 `'s, ie ```.

However this is probably your sincedb, [https://www.elastic.co/guide/en/logstash/current/plugins-inputs-file.html#\_tracking\_of\_current\_position\_in\_watched\_files](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-file.html#_tracking_of_current_position_in_watched_files)

---

<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, 4:44am UTC](https://discuss.elastic.co/t/why-codec-dots-not-working/57133/3 "2017-07-06T04:44:58Z")

</div>


