Коммит
4d6dfb272a
13
README.md
13
README.md
|
@ -1,8 +1,8 @@
|
|||
# fluent-plugin-imds
|
||||
|
||||
[Fluentd](https://fluentd.org/) filter plugin to do something.
|
||||
[Fluentd](https://fluentd.org/) filter plugin to add Azure metadata to logs.
|
||||
|
||||
TODO: write description for you plugin.
|
||||
Fluentd filter plugin to add Azure metadata to logs.
|
||||
|
||||
## Installation
|
||||
|
||||
|
@ -28,13 +28,12 @@ $ bundle
|
|||
|
||||
## Configuration
|
||||
|
||||
You can generate configuration template:
|
||||
Sample Configuration:
|
||||
|
||||
```
|
||||
$ fluent-plugin-config-format filter imds
|
||||
```
|
||||
<filter tag>
|
||||
@type imds
|
||||
</filter>
|
||||
|
||||
You can copy and paste generated documents here.
|
||||
# Contributing
|
||||
|
||||
This project welcomes contributions and suggestions. Most contributions require you to agree to a
|
||||
|
|
3
Rakefile
3
Rakefile
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) Microsoft Corporation.
|
||||
# Licensed under the MIT License.
|
||||
|
||||
require "bundler"
|
||||
Bundler::GemHelper.install_tasks
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) Microsoft Corporation.
|
||||
# Licensed under the MIT License.
|
||||
|
||||
lib = File.expand_path("../lib", __FILE__)
|
||||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
||||
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
|
||||
# Copyright (c) Microsoft Corporation.
|
||||
# Licensed under the MIT License.
|
||||
|
||||
require "fluent/plugin/filter"
|
||||
require 'net/http'
|
||||
require 'uri'
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) Microsoft Corporation.
|
||||
# Licensed under the MIT License.
|
||||
|
||||
$LOAD_PATH.unshift(File.expand_path("../../", __FILE__))
|
||||
require "test-unit"
|
||||
require "fluent/test"
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) Microsoft Corporation.
|
||||
# Licensed under the MIT License.
|
||||
|
||||
require "helper"
|
||||
require "fluent/plugin/filter_imds.rb"
|
||||
require 'webmock/test_unit'
|
||||
|
|
Загрузка…
Ссылка в новой задаче