Getting Data In

how to index mutiple files

Tridi123
New Member

i am importing data into splunk by using Continuously index data from a file or directory this Splunk instance can access
in splunk but after that when i am keeping new files the splunk is not taking automatically
actually i have to upload above 500 files in same index "USB".Manully uploading is very challenging. Can any one give me solution regarding this?

Tags (2)
0 Karma

yannK
Splunk Employee
Splunk Employee

check is your files are not being skipped because they have the same exact first 256 chars, and therefore are considered as rotated files by the tailing processor.

see http://docs.splunk.com/Documentation/Splunk/4.3.4/Data/HowLogFileRotationIsHandled

to force splunk to consider files are different :

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!

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...

Turn Cisco Telemetry Into Action with Cisco Data Fabric, powered by the Splunk ...

The surge in machine data is already hitting enterprise budgets, and the agentic era will only intensify it. ...