Getting Data In

How to bulk upload data using inputs.conf?

parwindertaank
Explorer

I'm trying to batch upload many files on my windows computer (some >150mb) using an inputs.conf file.

I have the inputs.conf file saved in C:\Program Files\Splunk\etc\apps\search\local
The contents of the file are

[batch://C:\Temp\Data\Sample\*]
index=test3
# host_segment=3
sourcetype=access_combined
recursive=true
move_policy = sinkhole

The data I want to upload is saved in C:\Temp\Data\Sample\

I have the index test3 created. When I log into Splunk the index is still empty.

Any help to fix this?

0 Karma

MuS
Legend

Hi there,

try to search all time or use this quick search SPL | tstats count WHERE index=test3 to see if you get events. Also check index=_internal for any warnings or errors related to c:\temp\data\sample

cheers, MuS

0 Karma
Get Updates on the Splunk Community!

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...