Getting Data In

Logs were not indexing in Splunk from a particular path

pavanae
Builder

The logs from the source="/tpo/jboss/server/shared/logs/*cap/server.log" were not properly getting into the index and i continuously seeing the following logs in the splunkd.log everyday at 1 A.M

INFO WatchedFile - Will begin reading at offset=0 for file="/tpo/jboss/server/shared/logs/*cap/server.log"
INFO WatchedFile - File too small to check seekcrc, probably truncated. Will re-read entire file="/tpo/jboss/server/shared/logs/*cap/server.log"
INFO WatchedFile - Checksum for seekptr didn't match, will re-read entire file="/tpo/jboss/server/shared/logs/*cap/server.log"

Please do suggest what needs to be done to get those logs

0 Karma
1 Solution

pavanae
Builder

This happened due to the permission issues on the particular paths in the forwarder. It got resolved after providing the required permissions for those paths.

View solution in original post

0 Karma

pavanae
Builder

This happened due to the permission issues on the particular paths in the forwarder. It got resolved after providing the required permissions for those paths.

0 Karma

pavanae
Builder

Missed the Following log to mention in the above question.

ERROR TailingProcessor - File will not be read, seekptr checksum did not match (file=/tpo/jboss/server/shared/logs/*cap/server.log). Last time we saw this initcrc, filename was different. You may wish to use a CRC salt on this source. Consult the documentation or file a support case online at

0 Karma

somesoni2
Revered Legend

Above error means that the initcrc handler (default first 250 bytes of the file) which Splunk uses to identify a file that needs monitoring is not unique and it's not going to ingest the data.

How is the file generated and does it have a common header at the start which will be same for every file/copy of the file?

0 Karma
Get Updates on the Splunk Community!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...