Forked from untergeek/logstash-1-collectd.conf
Last active
September 3, 2015 08:00
-
-
Save philipz/9fc8d98b1cd01caf1796 to your computer and use it in GitHub Desktop.
Logstash 1.4.1+ Collectd configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This is the simplest definition, with the addition of a type | |
| input { | |
| udp { | |
| port => 25826 # Must be specified. 25826 is the default for collectd | |
| buffer_size => 1452 # Should be specified. 1452 is the default for recent versions of collectd | |
| codec => collectd { } # This will invoke the default options for the codec | |
| type => "collectd" | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This adds the definitions necessary to sign collectd messages with the credentials in collectd.auth | |
| input { | |
| udp { | |
| port => 25826 | |
| buffer_size => 1452 | |
| codec => collectd { | |
| authfile => "/usr/local/etc/collectd.auth" | |
| security_level => "Sign" | |
| } | |
| type => "collectd" | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This adds the definitions necessary to encrypt collectd messages with the credentials in collectd.auth | |
| input { | |
| udp { | |
| port => 25826 | |
| buffer_size => 1452 | |
| codec => collectd { | |
| authfile => "/usr/local/etc/collectd.auth" | |
| security_level => "Encrypt" | |
| } | |
| type => "collectd" | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This example shows how to modify worker and queue_size count | |
| input { | |
| udp { | |
| port => 25826 | |
| buffer_size => 1452 | |
| workers => 3 # Default is 2 | |
| queue_size => 30000 # Default is 2000 | |
| codec => collectd { } | |
| type => "collectd" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
need help creating a login page with storeage to MySQL for new visitors so they can receive free harm reduction utensils all over the world needles lube screens ruber stems for crack pipes et .. etc any help appreciated I'm ne and no income to pay someone to do a site for me