aeropipe

command module
v0.0.0-...-a5b0677 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2015 License: MIT Imports: 8 Imported by: 0

README

Aeropipe

Treat Aerospike Large Lists unix-like pipelines

Installation:

make build
make install

Setup

Aeropipe needs the following environment vars in order to connect to Aerospike:

  •  	`AEROSPIKE_HOST` (Database host, default: 127.0.0.1)
    
  •  	`AEROSPIKE_PORT` (Database port, default: 3000)
    
  •  	`AEROSPIKE_AEROPIPE_NAMESPACE` (Namespace configuration for Aerospike. [More info] (https://www.aerospike.com/docs/operations/configure/namespace/), default: aeropipe_ns)
    
  •  	`AEROSPIKE_AEROPIPE_LIST` (List where the data will be placed/located, default: aeropipe_list)
    

Example: (~/.basrc)

export AEROSPIKE_HOST="127.0.0.1"
export AEROSPIKE_PORT=3000
export AEROSPIKE_AEROPIPE_NAMESPACE="ssd_namespace"
export AEROSPIKE_AEROPIPE_LIST="my_awesome_list"

Usage examples:

Pipe Apache access logs to Aerospike:

cat /var/log/apache2/access.log | aeropipe

Pipe Aerospike content to file:

aeropipe > /tmp/apache2/access.log

Animated example

License

Distributed under MIT license. See LICENSE for more information.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL