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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...