fluent-plugin-zebrium_output 1.57.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 92300123728d7d6debc95b13c98ed26ca210136dcf9bfc50079a6b8c0199ad02
4
+ data.tar.gz: 4d0835bc7142abab17ed87df12ea6255a1c1fd474668610ad72a3707580a1ff0
5
+ SHA512:
6
+ metadata.gz: 44741453a3ecf4a1351a273064c659e74a81ccf6fb6412f066fd0e9bc5d7f836864e6042a7952201a4be59fd96a3dc1becd45c4306afd95c8bf27f33117ec713
7
+ data.tar.gz: 8b42d1241da965cda3069e44b2d106518f4a68e2fd57610e6d79ffed9a764f50f95fa5c47e816c51a8d180c0f1282ad6678d8b7e16442b4f2e9d350993f4f7ce
data/.gitignore ADDED
@@ -0,0 +1,3 @@
1
+ *.gem
2
+ *.rbc
3
+ Gemfile.lock
data/Gemfile ADDED
@@ -0,0 +1,9 @@
1
+ source 'https://rubygems.org'
2
+
3
+ group :test do
4
+ gem 'codecov'
5
+ gem 'simplecov'
6
+ gem 'webmock'
7
+ end
8
+
9
+ gemspec
data/Jenkinsfile ADDED
@@ -0,0 +1,11 @@
1
+ @Library('cicd') _
2
+ pipeline {
3
+ agent any
4
+ stages {
5
+ stage('Build and Publish Gem'){
6
+ steps{
7
+ buildGem(false, "fluent-plugin-zebrium_output")
8
+ }
9
+ }
10
+ }
11
+ }
data/README.TXT ADDED
@@ -0,0 +1 @@
1
+ This repo is for Zebrium Fluentd output plugin.
data/build.sh ADDED
@@ -0,0 +1,15 @@
1
+ #!/bin/sh
2
+
3
+ . /auto/share/etc/functions
4
+
5
+ PROG=${0##*/}
6
+
7
+ PLUGIN_NAME="fluent-plugin-zebrium_output"
8
+
9
+ main() {
10
+ echo "Build Zebrium Fluentd output plugin for Kubernetes"
11
+ gem build $PLUGIN_NAME
12
+ echo "DONE"
13
+ }
14
+
15
+ main "$@"
@@ -0,0 +1,23 @@
1
+ <source>
2
+ @type tail
3
+ path "/var/log/messages,/var/log/secure"
4
+ format none
5
+ path_key tailed_path
6
+ tag node.logs
7
+ </source>
8
+
9
+ <match **>
10
+ @type zebrium
11
+ ze_log_collector_url "https://zapi02.zebrium.com"
12
+ ze_log_collector_token "12345678910"
13
+ ze_tag_branch "test-branch"
14
+ ze_tag_build "test-build"
15
+ ze_tag_node "aws-centos6-fluentd"
16
+ @log_level "info"
17
+ <buffer tag>
18
+ @type file
19
+ path /var/log/td-agent/buffer/out_zebrium.*.buffer
20
+ flush_mode "interval"
21
+ flush_interval "60s"
22
+ </buffer>
23
+ </match>
@@ -0,0 +1,28 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+
5
+ Gem::Specification.new do |gem|
6
+ gem.name = "fluent-plugin-zebrium_output"
7
+ gem.version = `cat version.txt`
8
+ gem.authors = ["Zebrium, Inc"]
9
+ gem.description = %q{Output plugin to Zebrium HTTP LOG COLLECTOR SERVER}
10
+ gem.summary = %q{Zebrium fluentd output plugin}
11
+ gem.homepage = "https://github.com/Zebrium/fluentd-output-zebrium"
12
+ gem.license = "Apache-2.0"
13
+ gem.metadata = { "git-version" => `git log -n 1 --pretty=format:"%H"` }
14
+
15
+ gem.files = `git ls-files`.split($/)
16
+ gem.executables = gem.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
+ gem.require_paths = ["lib"]
19
+
20
+ gem.required_ruby_version = '>= 2.0.0'
21
+
22
+ gem.add_development_dependency "bundler", "~> 2"
23
+ gem.add_development_dependency 'rake', '~> 0'
24
+ gem.add_development_dependency 'test-unit', '~> 3.1', '>= 3.1.0'
25
+ gem.add_development_dependency 'codecov', '~> 0.1', '>= 0.1.10'
26
+ gem.add_runtime_dependency 'fluentd', '~> 0.14', '>= 0.14.12'
27
+ gem.add_runtime_dependency 'httpclient', '~> 2.8', '>= 2.8.0'
28
+ end