# Collectd codec not shipping properly

**URL:** <https://discuss.elastic.co/t/collectd-codec-not-shipping-properly/123810>\
**Category:** Logstash\
**Created:** [March 13, 2018, 9:11pm UTC](https://discuss.elastic.co/t/collectd-codec-not-shipping-properly/123810 "2018-03-13T21:11:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kmroz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kmroz/32/62741_2.png) [@kmroz](https://discuss.elastic.co/u/kmroz)\
**Post date:** [March 13, 2018, 9:11pm UTC](https://discuss.elastic.co/t/collectd-codec-not-shipping-properly/123810/1 "2018-03-13T21:11:01Z")

</div>

I am trying to configure the collectd codec. We have it shipping every 1 minute.

Interval 60  
#Include "/etc/collectd.d/\*.conf"  
TypesDB "/usr/share/collectd/types.db"

#

# Globals true

#

#

# ModulePath

# LogTraces true

# Interactive false

# Import "statistic"

#

LoadPlugin logfile  
#LoadPlugin interface  
LoadPlugin load  
#LoadPlugin memory  
#LoadPlugin cpu  
LoadPlugin network  
  
\<Server "IP" "25826"\>

input {  
udp {  
port =\> 25826  
buffer\_size =\> 1000  
codec =\> collectd { }  
tags =\> ["collectd"]  
}  
}

output {  
if "collectd" in [tags] {  
elasticsearch {  
hosts =\>  
manage\_template =\> false  
index =\> "logstash\_collectd-%{+YYYY.MM.dd}"  
}  
}  
stdout { codec =\> rubydebug }  
}

It seems nothing ships until the collectd agent is restarted. Any idea what can be causing this? We are on LS 5.6.2

---

<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:** [April 10, 2018, 9:11pm UTC](https://discuss.elastic.co/t/collectd-codec-not-shipping-properly/123810/2 "2018-04-10T21:11:10Z")

</div>

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