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!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...