Selva
Selva

Reputation: 25

Getting logs from IBM Z/OS

I am new to Mainframe concepts and haven't used any IBM Z-series machines before. But now I need to get db2 logs from the Z/OS platform.

I previously collected logs from IBM AS400 using JT400.jar.(will execute remote command and read the output using java). But for Z/OS, I could not find such things from documentations.

So I need to know the possibilities for the following cases.

  1. Running a remote command and read it's output using any API like JT400.
  2. Forwarding the logs as Syslogs to any SIEM solutions((Like ManageEngine EventLog Analyzer or ArcSight ESM) without any Third-party Installations)
  3. Listing Log files using SSH connection, because I heard that Z/os will have some Unix properties too(for example using JSCH)

Even if there are any other possibilities, please mention below. It would be really helpful. Based on the possibilities only I could consider buying a Z/OS mainframe.

Thanks in advance.

Upvotes: 0

Views: 1635

Answers (3)

RedGoldPhoenix
RedGoldPhoenix

Reputation: 89

If you want to find the log for DB2 go on SDSF type the command below:

da;pre *mstr

Upvotes: 1

There are SDSF API(Access through Java) available on the z/OS unix shell. that can help to read the logs(DB2 Master log, System log etc).

Upvotes: 1

Hogstrom
Hogstrom

Reputation: 3761

In general there are commercial offerings to offload log and metric data from z/OS. Ones that come to mind are:

  • IBM Common Data Provider

  • Syncsort IronStream

  • BMC CorreLog

You could likely pull something of your own together but a better definition of which logs you want to consume would be useful. There are many on z/OS.

Upvotes: 0

Related Questions