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!

A Four-Part Event Series: Full Stack Observability For the AI Era

As AI reshapes applications, infrastructure, and the way teams operate, the traditional boundaries of ...

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...