Socket
Book a DemoInstallSign in
Socket

fluent-plugin-aerospike

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fluent-plugin-aerospike

0.0.0
bundlerRubygems
Version published
Maintainers
1
Created
Source

Fluent::Plugin::Aerospike

Fluent BufferedOutput plugin for Aerospike

Installation

Add this line to your application's Gemfile:

gem 'fluent-plugin-aerospike'

And then execute:

$ bundle

Or install it yourself as:

$ gem install fluent-plugin-aerospike

Configuration

configdefaultinfo
address127.0.0.1:3000address of Aerospike
namespacetestnamespace name of Aerospike
setfluent ${tag}set name of Aerospike
ttl0time-to-live: If ttl = 0, the default ttl specified on the server side will be applied
time_keythis time_key field or time of record is used
time_format(with time_key) the value of time_key will be parsed with this format

Samples

sample: access log

config

<match ***>
  type aerospike
  time_key request_time
  time_format %d/%b/%Y:%H:%M:%S %Z
</match>

log

{"request_time":"24/Dec/2014:23:59:59 +0700","code":"100","response_time":"1000","site":"git"}

Aerospike

aql> select * from test
+---------------+------------------------------+-------+---------------+
| site          | request_time                 | code  | response_time |
+---------------+------------------------------+-------+---------------+
| "git"         | "24/Dec/2014:23:59:59 +0700" | "100" | "1000"        |
+---------------+------------------------------+-------+---------------+

Contributing

  • Fork it ( https://github.com/[my-github-username]/fluent-plugin-aerospike/fork )
  • Create your feature branch (git checkout -b my-new-feature)
  • Commit your changes (git commit -am 'Add some feature')
  • Push to the branch (git push origin my-new-feature)
  • Create a new Pull Request

FAQs

Package last updated on 10 Nov 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.