Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 1.47 KB

README.md

File metadata and controls

55 lines (34 loc) · 1.47 KB

Vector HTTP Sink HBase

This a server that listens for data sent by the vector http sink and writes it to HBase

It stores logs as structured data in an HBase column-family

This project interacts with HBase's thrift API. It uses hbase-thrift and thrift-pool

Installation & Running

Either clone the repo and build it

git clone https://github.com/midnightexigent/vector-http-sink-hbase-rs.git
cd vector-http-sink-hbase-rs
cargo build --release

./target/release/vector-http-sink-hbase --help

Or install directly

cargo install --git https://github.com/midnightexigent/vector-http-sink-hbase-rs.git

vector-http-sink-hbase --help

Note: those 2 installation methods require cargo

This can also built with docker

git clone https://github.com/midnightexigent/vector-http-sink-hbase-rs.git
cd vector-http-sink-hbase-rs

docker build -t vector-http-sink-hbase .

docker run vector-http-sink-hbase --help

Usage

  • Prepare HBase by creating it, opening its thrift port and creating the table/column-family where the structured logs will be stored
  • In the vector configuration, add a sink with type http and set its uri to this process
  • Start this process by setting the correct values (see vector-http-sink-hbase --help)