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!

Vibe-coding, AI, and Splunkcraft: Highlights from the .conf26 Builder Bar

If you stopped by the Builder Bar at .conf26, thank you! This year, we brought ...

Thanks for the Memories: .conf26 Took Learning to New Heights

Thank you, Splunk Community, for making .conf26 in Denver one for the books. From packed Splunk University ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...