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!

Optimize AI at Scale: Must-Attend Observability Sessions at .conf26

conf26   With nearly 70 breakout sessions on the docket, the .conf26 Observability track is designed to help ...

How much can you really learn in 3 minutes?

Observability can certainly be hard to understand – there's a lot of jargon and buzzwords and it seems to ...

Event Series: The Agentic SOC: Trust Before Autonomy

AI is fundamentally changing security operations, but true progress requires more than just automation—it ...