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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...