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!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...