Sha256: 7845c7d7b7dae8aba8522672b4bceaf8bf84a4210f1f5e985a5d5e3973d4af8c

Contents?: true

Size: 1.69 KB

Versions: 5

Compression:

Stored size: 1.69 KB

Contents

# fluent-plugin-jfrog-send-metrics

[Fluentd](https://fluentd.org/) output plugin to consume metrics emitted from [fluent-plugin-jfrog-metrics](https://github.com/jfrog/jfrog-fluentd-plugins/tree/main/fluent-plugin-jfrog-metrics) input plugin and send them to respective log-vendors.

## Building

To build / test locally use rake:

```text
rake
```

To build install locally use bundler:

```text
bundle install
```

This will install the gem shown below from source.

## Development

### Bundler

Add following line to your Gemfile:

```ruby
gem "fluent-plugin-jfrog-send-metrics"
```

And then execute:

```
$ bundle
```

## Configuration

You can generate configuration template:

```
$ fluent-plugin-config-format output jfrog-send-metrics
```

You can copy and paste generated documents here.

## Installation

### RubyGems

```
$ gem install rest-client
$ gem install fluent-plugin-jfrog-send-metrics
```

### Setup & configuration

Fluentd is the supported log collector for this integration. For Fluentd setup and information, read the JFrog log analytics repository's [README](https://github.com/jfrog/log-analytics/blob/master/README.md).

#### Fluentd config

Configure the match directive parameters as specified below

```
<match jfrog.metrics.**>
  @type jfrog_send_metrics
  target_platform "NEWRELIC"
  apikey <api_key>
</match>

```
#### Configuration parameters

Obtain respective authentication credentials for log-vendors

* **target_platform**(string)(required): The target log-vendor ("NEWRELIC" or "DATADOG")
* **apikey**(string)(required): APIKEY is the apikey of log-vendor for authentication(LicenseKey for NewRelic)

## Copyright

* Copyright(c) 2022- MahithaB
* License
  * Apache License, Version 2.0

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fluent-plugin-jfrog-send-metrics-0.1.4 README.md
fluent-plugin-jfrog-send-metrics-0.1.3 README.md
fluent-plugin-jfrog-send-metrics-0.1.2 README.md
fluent-plugin-jfrog-send-metrics-0.1.1 README.md
fluent-plugin-jfrog-send-metrics-0.1.0 README.md