Getting Data In

How to configure Splunk to store indexed data into HDFS?

srini_daruna
New Member

HI,

I am writing a Java program to index the data into a Splunk index. How do I configure the index to store the indexed data in HDFS?

Tags (4)
0 Karma

lguinn2
Legend

AFAIK, you can't do write directly to HDFS using Splunk or the Splunk REST API. If you are using Hunk (Splunk for Hadoop), then you must write to the HDFS using one of the libraries for HDFS, not Splunk. Then the data will be searchable using Hunk, provided the virtual indexes are properly configured.

If you write data to Splunk, it will be stored in a Splunk index and that requires a Splunk license. You can move data from a Splunk index into Hadoop HDFS. When rolling buckets from cold to frozen in a Splunk index, you can send the frozen data to Hadoop - if you also have a Hunk license. This is an archiving technique.. The idea is to keep your most recent data in Splunk, where the access speed is very fast - and then roll your old data into Hadoop, where it is still available but more cheaply and slower.

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...