Getting Data In

Websphere log monitoring, missing events

jensmartin
Explorer

I am trying to set up monitoring of Websphere logs, they are accessed from a Windows fileshare using CIFS from our linux box that is running Splunk.

The problem is that not all events are logged, I see the following in the splunkd.log:

11-16-2010 12:02:53.554 INFO WatchedFile - Checksum for seekptr didn't match, will re-read entire file='/media/was61p2/SystemOut.log'.

11-16-2010 12:02:53.554 INFO WatchedFile - Using follow-tail, will begin reading at EOF for file='/media/was61p2/SystemOut.log'.

Here is the input conf:

[monitor:///media/was61p2/SystemOut.log]
disabled = false
followTail = 1
host = was61p2
sourcetype = websphere_trlog

I have tried both with crcSalt and without, the problem is the same. Anyone have any idea on how to fix this?

0 Karma

Simon
Contributor

First of all, if followTail is activated, Splunk will always begin at the very end of a file when it starts reading one. So after a restart of the forwarder, you'll loose events for sure.

Are you're logs rotating very fast? If yes, it might be a better idea to monitor the hole directory including rotated SystemOut logs, see here http://splunk-base.splunk.com/answers/58549/high-volume-log-rotation for an explanation.

So e.g.:

[monitor:///media/was61p2/]
whitelist = SystemOut.*\.log$
disabled = false
followTail = 1
host = was61p2
sourcetype = websphere_trlog
crcSalt = <SOURCE>

Also make sure, crcSalt is set to . I always had trouble indexing websphere logs without it.

HTH.
Simon

0 Karma
Get Updates on the Splunk Community!

Splunk Enterprise Security(ES) 7.3 is approaching the end of support. Get ready for ...

Hi friends!    At Splunk, your product success is our top priority. With Enterprise Security (ES), we're here ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...