Skip to content

Commit 1b3aec7

Browse files
release v2.0.1 (#1)
* release v2.0.1 * release v2.0.1
1 parent e1750f0 commit 1b3aec7

13 files changed

+2079
-1
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Change Log
2+
3+
## 2.0.1 - 2022-02-15
4+
### Added
5+
- Added required ruby version in gemspec.
6+
- Added spec metadata (Documentation, Source code and Change log) details.
7+
- Added README.md.
8+
- Added CHANGELOG.md.
9+
- Added examples folder with sample config files for reference.
10+
### Changed
11+
- Optimized import of OCI modules to improve load times and memory usage.
12+
13+
## 2.0.0 - 2022-01-17
14+
### Added
15+
- Initial Release.

Gemfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## Copyright (c) 2021, 2022 Oracle and/or its affiliates.
2+
## The Universal Permissive License (UPL), Version 1.0 as shown at https://oss.oracle.com/licenses/upl/
3+
4+
source "https://rubygems.org"
5+
6+
gemspec
7+

LICENSE.txt

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
Copyright (c) 2021, 2022 Oracle and/or its affiliates.
2+
3+
The Universal Permissive License (UPL), Version 1.0
4+
5+
Subject to the condition set forth below, permission is hereby granted to any
6+
person obtaining a copy of this software, associated documentation and/or data
7+
(collectively the "Software"), free of charge and under any and all copyright
8+
rights in the Software, and any and all patent rights owned or freely
9+
licensable by each licensor hereunder covering either (i) the unmodified
10+
Software as contributed to or provided by such licensor, or (ii) the Larger
11+
Works (as defined below), to deal in both
12+
13+
(a) the Software, and
14+
(b) any piece of software and/or hardware listed in the lrgrwrks.txt file if
15+
one is included with the Software (each a "Larger Work" to which the Software
16+
is contributed by such licensors),
17+
18+
without restriction, including without limitation the rights to copy, create
19+
derivative works of, display, perform, and distribute the Software and make,
20+
use, sell, offer for sale, import, export, have made, and have sold the
21+
Software and the Larger Work(s), and to sublicense the foregoing rights on
22+
either these or other terms.
23+
24+
This license is subject to the following condition:
25+
26+
The above copyright notice and either this complete permission notice or at
27+
a minimum a reference to the UPL must be included in all copies or
28+
substantial portions of the Software.
29+
30+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
31+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
32+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
33+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
34+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
35+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
36+
SOFTWARE.

README.md

Lines changed: 100 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,100 @@
1-
# oci-logan-fluentd-output-plugin
1+
# OCI Logging Analytics Output Plugin
2+
3+
4+
## Overview
5+
6+
OCI Logging Analytics Fluentd output plugin collects event logs, buffer into local file system, periodically creates payload and uploads it to OCI Logging Analytics.
7+
8+
## Installation Instructions
9+
10+
### Prerequisites
11+
12+
Refer [Prerequisites](https://docs.oracle.com/en/learn/oci_logging_analytics_fluentd/#prerequisites)
13+
14+
### Requirements
15+
16+
<table>
17+
<tr>
18+
<th>fluent-plugin-oci-logging-analytics</th>
19+
<th>fluentd</th>
20+
<th>ruby</th>
21+
<th>rubyzip</th>
22+
<th>oci</th>
23+
</tr>
24+
<tr>
25+
<td>>= 2.0.0</td>
26+
<td>>= 0.14.10, < 2 </td>
27+
<td>>= 2.6</td>
28+
<td>~> 2.3.2 </td>
29+
<td>~> 2.13</td>
30+
</tr>
31+
</table>
32+
33+
### Installation
34+
35+
Add this line to your application's Gemfile:
36+
37+
gem 'fluent-plugin-oci-logging-analytics'
38+
39+
And then execute:
40+
41+
$ bundle
42+
43+
Or install it manually as:
44+
45+
$ gem install fluent-plugin-oci-logging-analytics --no-document
46+
# If you need to install specific version, use -v option
47+
48+
49+
## Configuration
50+
51+
### Output Plugin Configuration
52+
53+
- [Output plugin configuration template](https://docs.oracle.com/en/learn/oci_logging_analytics_fluentd/#create-the-fluentd-configuration-file)
54+
55+
- [Output plugin configuration parameters](https://docs.oracle.com/en/learn/oci_logging_analytics_fluentd/#output-plugin-configuration-parameters)
56+
57+
### Buffer Configuration
58+
59+
- [Buffer configuration parameters](https://docs.oracle.com/en/learn/oci_logging_analytics_fluentd/#buffer-configuration-parameters)
60+
61+
### Input Plugin Configuration
62+
63+
The incoming log events must be in a specific format so that the Fluentd plugin provided by Oracle can process the log data, chunk them, and transfer them to OCI Logging Analytics.
64+
65+
- [Verify the format of the incoming log events](https://docs.oracle.com/en/learn/oci_logging_analytics_fluentd/#verify-the-format-of-the-incoming-log-events)
66+
67+
- [Source configuration](https://docs.oracle.com/en/learn/oci_logging_analytics_fluentd/#source--input-plugin-configuration)
68+
69+
### Filter Configuration
70+
71+
Use filter plugin (record_transformer) to transform the input log events to add OCI Logging Analytics specific fields/metadata.
72+
73+
- [Filter configuration](https://docs.oracle.com/en/learn/oci_logging_analytics_fluentd/#filter-configuration)
74+
75+
76+
## Examples
77+
78+
- Example configuration that can be used for monitoring [syslog log](examples/syslog.conf)
79+
80+
- Example configuration that can be used for monitoring [apache error log](examples/apache.conf)
81+
82+
- Example configuration that can be used for monitoring [kafka log](examples/kafka.conf)
83+
84+
85+
86+
## Start Viewing the Logs in Logging Analytics
87+
88+
Refer [Viewing the Logs in Logging Analytics](https://docs.oracle.com/en/learn/oci_logging_analytics_fluentd/#start-viewing-the-logs-in-logging-analytics)
89+
90+
91+
## Changes
92+
93+
See [CHANGELOG](CHANGELOG.md).
94+
95+
## License
96+
97+
Copyright (c) 2021, 2022 Oracle and/or its affiliates.
98+
99+
See [LICENSE](LICENSE.txt) for more details.
100+

0 commit comments

Comments
 (0)