icon/x Created with Sketch.

Splunk Cookie Policy

We use our own and third-party cookies to provide you with a great online experience. We also use these cookies to improve our products and services, support our marketing campaigns, and advertise to you on our website and other websites. Some cookies may continue to collect information after you have left our website. Learn more (including how to update your settings) here.
Accept Cookie Policy

We are working on something new...

A Fresh New Splunkbase
We are designing a New Splunkbase to improve search and discoverability of apps. Check out our new and improved features like Categories and Collections. New Splunkbase is currently in preview mode, as it is under active development. We welcome you to navigate New Splunkbase and give us feedback.

Accept License Agreements

This app is provided by a third party and your right to use the app is in accordance with the license provided by that third-party licensor. Splunk is not responsible for any third-party apps and does not provide any warranty or support. If you have any questions, complaints or claims with respect to this app, please contact the licensor directly.

Thank You

Downloading Hunk App for HBase
SHA256 checksum (hunk-app-for-hbase_100.tgz) ff0f39bf697326a697f6000d03bfb0d2caae229fae8e7421c0c012c37efb168e
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate

splunk

Hunk App for HBase

This app has been archived. Learn more about app archiving.
This app is NOT supported by Splunk. Please read about what that means for you here.
Overview
Details
The Hunk App for HBase is a Streaming External Results Provider (ERP) enabling import of data from HBase. This application will perform a scan operation on a HBase table and stream the data to Hunk for analysis. The data returned from HBase is streamed as JSON documents, one document per row.

Hunk App for HBase

Overview

The Hunk App for HBase is a Streaming External Results Provider enabling import of data from HBase. This application will perform a scan on a HBase table and stream the data to Hunk for analysis. The data returned from HBase is streamed as JSON documents, one document per row.

HBase Version

This release of the Hunk App for HBase has been compiled and tested with HBase 1.1.2. For other versions please contact us.

Configuration

Provider Configuration

The Hunk App for HBase provides the usual Hunk ERP parameters:

vix.mode = stream
vix.command =  java
vix.command.arg.1 = -Xmx512m
vix.command.arg.2 = -classpath
vix.command.arg.3 = $SPLUNK_HOME/bin/jars/SplunkMR-h1.jar:$SPLUNK_HOME/etc/apps/hbase-erp/bin/hbase-erp-1.0.0.jar:$SPLUNK_HOME/etc/apps/hbase-erp/bin/lib/*
vix.command.arg.4 = com.splunk.erp.hbase.HBaseERP
vix.splunk.search.debug = 0

Additionally you can set HBase-specific parameters using vix.<name> = <value>

e.g.

vix.hbase.zookeeper.quorum = localhost
vix.zookeeper.znode.parent = /hbase-unsecure

Examples of these have already been set in the provided indexes.conf.

Finally, you can change the log level with vix.loglevel and one of these threshold values: ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL or OFF.

Virtual Index Configuration

To customize the index, you need at a minimum to provide the following parameters: * vix.hbase.table: the table you want to scan * vix.hbase.family: the column family to include in the scan

There are some optional settings you can also provide: * vix.hbase.column.<name>: data type for a column (bigdecimal, boolean, double, float, integer, long, short, string). If not specified the default data type is string * vix.hbase.datetime.column: name of the HBase column that contains the event time in Splunk * vix.hbase.datetime.format: timestamp format * vix.hbase.max.days.hence: maximum number of days in the future from the current date that an extracted date can be valid

These can be set in the Hunk UI (Settings > Virtual indexes > Virtual Indexes > Index), or in the indexes.conf file.

If the vix.hbase.datetime.column is left blank, there will be no event time. Hunk does try to infer the event time from the data, so if your data has dates, Hunk may use that as the event time.
Similarly if you do not specify the vix.hbase.datetime.format, Hunk will try to infer it. If you do have vix.hbase.datetime.column set, setting vix.hbase.datetime.format will result in better performance.
For more information about the Hunk date format see this documentation page

If you do not set vix.hbase.max.days.hence events that occur in the future may be rolled up to an event time of today (or this month). The data will still be present, but the inferred event date will be incorrect.

You can create multiple Virtual Indices for the same Provider (and, thus, the same HBase client connection) by clicking the New Virtual Index button. Make sure to select the proper Provider (e.g., the hbase provider that comes with this application).

Searching HBase through Hunk

To search a virtual index in Hunk type index=<virtual index name> in the search box, e.g. index=mytable.

You can use any pipe command just like you would normally do with Hunk, e.g. index=mytable | top limit=20 date

Release Notes

Version 1.0.0
April 8, 2016

Subscribe Share

Are you a developer?

As a Splunkbase app developer, you will have access to all Splunk development resources and receive a 10GB license to build an app that will help solve use cases for customers all over the world. Splunkbase has 1000+ apps from Splunk, our partners and our community. Find an app for most any data source and user need, or simply create your own with help from our developer portal.

Follow Us:
Splunk, Splunk>,Turn Data Into Doing, Data-to-Everything, and D2E are trademarks or registered trademarks of Splunk Inc. in the United States and other countries. All other brand names,product names,or trademarks belong to their respective owners.