Repository is archived
No commit activity in last 3 years
No release in over 3 years
Sumologic Cloud Syslog output plugin for Fluent event collector
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Fluent::Plugin::SumologicCloudSyslog

Gem Version Build Status Coverage Status

A Fluentd plugin to send logs to the Sumologic Cloud Syslog collectors.

Installation


$ gem install fluent-plugin-sumologic-cloud-syslog

or

$ td-agent-gem install fluent-plugin-sumologic-cloud-syslog

Configuration


In your Fluentd configuration, use @type sumologic_cloud_syslog. An example configuration would be:

<match **>
  @type sumologic_cloud_syslog
  host syslog.collection.us1.sumologic.com
  port 6514
  token 'YOUR-PRIVATE-TOKEN@IANA-ID'
</match>

For more configuration options see configuration docs

Puppet

If you are using Puppet for configuration management then an example configuration using the wywygmbh/puppet-fluentd puppet module would be:

::fluentd::plugin { 'fluent-plugin-sumologic-cloud-syslog':
  type => 'gem',
}

::fluentd::match { 'sumologic_cloud_syslog':
  priority => 10,
  pattern  => '**',
  config   => {
    'type'  => 'sumologic_cloud_syslog',
    'host'  => 'syslog.collection.us1.sumologic.com',
    'port'  => 6514,
    'token' => $token,
    'cert'  => $cert,
    'key'   => $key,
  },
}

License


Except as otherwise noted this software is licensed under the Apache License, Version 2.0

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.