All Apps and Add-ons

Not able to build HDFS schedule report using Splunk Hadoop Connect.

shayan_singla
New Member

I am trying to write data in a csv file using Schedule HDFS Report.
The file is generated but with the Fields name provided only, not the search/fields data.
Please suggest the possible way out.

0 Karma

barakreeves
Splunk Employee
Splunk Employee

Seems the problem is with your search query:
Instead of "index=index_name | fields f1,f2", try this:
index=index_name | search * | fields field1, field2, field3

Make sure you are getting results back before creating a Export job to see if the query is working.

0 Karma

shayan_singla
New Member

the query i wrote was getting the results back.
Tried this query also. But not working.
Still getting the same result, f1,f2 in the file but not data under them.

0 Karma

shayan_singla
New Member

i am just writing:
index=index_name | fields f1,f2
Above is my search query.
And in HDFS Schedule Report, under Fields text field i give f1,f2.
But in the file generated, the data come as "f1,f2" itself. But i want data under fields.

0 Karma

barakreeves
Splunk Employee
Splunk Employee

I do have experience with Hadoop Connect. How many fields are in your search and how many results are you returning from your search? Can you provide your query?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...