Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Matlu
Advisor

No Logs visualization in SmartConsole

Hello,

I have a problem related to the logs.

I currently have a SMS+ClusterXL HA.

The ClusterXL is configured to "send" the logs to the SMS, but when I go to the "Logs&Monitor" section and try to see the logs, they just don't appear.

I have checked in different options, like "Last Hour, Today, etc", and I don't see any result, but if I check the option that I share in the following image, I can see all the logs.

MINC1.png

But if I try to check the logs, without opening the "fw.log" file, I can't see anything.

MINC2.png

 

The ClusterXL is correctly configured to send logs to the SMS.

MINC3.png

Any ideas on how to correct this?

Thanks for your comments.

0 Kudos
15 Replies
the_rock
Legend
Legend

First, check if fw is logging locally

watch -d ls -lh $FWDIR/log/fw.log

If file keeps growing, it means its logging locally and best way to solve that it either do cpstop; cpstart or reboot (during off hours, of course)

However, if file is not growing, then you may need to check below SKs

Andy

https://support.checkpoint.com/results/sk/sk38848

https://support.checkpoint.com/results/sk/sk40090

0 Kudos
Matlu
Advisor

I just tested the command, in the Active member of the ClusterXL HA, but I don't know exactly how the result should be interpreted.

I share the output of the command.

MINC5.png

0 Kudos
the_rock
Legend
Legend

Leave it running for 2 mins or so to see if file size changes, meaning if it keeps increasing.

Andy

0 Kudos
Matlu
Advisor

I have monitored it for more than 5min, and the file value "stays" at 8.2k, it does not increase.

Maybe for now, maybe there is no traffic going through the firewall, or maybe something got damaged.

I can only see the logs in the SmartConsole, as long as I open the "fw.log" file, if I don't open that file, I simply can't see anything, as if the MGMT is not "receiving" anything.

It's weird.

0 Kudos
the_rock
Legend
Legend

Ok, if value stays the same, it means fw is not logging locally. I would follow the sk's I sent then.

Andy

0 Kudos
Matlu
Advisor

I don't see the SK solution as "clear".

Is it feasible to restart the processes in MGMT, with "cpstop;cpstart"?

I see that the logs are visible, but only if I open the "fw.log" file, but if I don't open that file, I simply don't see anything.

😕

0 Kudos
the_rock
Legend
Legend

Sorry bro, silly me, now I get it, so it appears that logging does work, its just the way you can open it from mgmt, got it. Yea, either do cpstop; cpstart on mgmt server or reboot it, no harm. It can be done any time.

Andy

0 Kudos
Matlu
Advisor

I restarted the MGMT processes, and the logs started to appear without problems.

There is no longer any need to open the "fw.log" file in the SmartConsole, in order to view the logs.

Do you know which is the process in charge of the correct functioning of the logs in Check Point?

Cheers. 🙂

the_rock
Legend
Legend

Yes sir, its fwd. You can refer to below, good references and how to debug it.

Good job btw!

Andy

https://support.checkpoint.com/results/sk/sk97638

https://support.checkpoint.com/results/sk/sk86321

0 Kudos
the_rock
Legend
Legend

Also, what @PhoneBoy said about lkog indexing sk is good to ensure.

Andy

0 Kudos
Amir_Senn
Employee
Employee

In general if you can't see the logs but can open them manually this points to indexing issue.

No need to do cpstop ; cpstart , we can specifically reset only indexing service which is faster and you won't lose connectivity or anything. Use "stopIndexer ; startIndexer".

Processes also appears on "cpwd_admin list".

elg file located here: $INDEXERDIR/log/log_indexer.elg

You can also check $INDEXERDIR/data/FetchedFiles (which keeps track on what log file are indexed) but this might be harder to follow.

Kind regards, Amir Senn
0 Kudos
Matlu
Advisor

Hello,

This command "stopIndexer ; startIndexer" is useful and can be useful in situations where the logs in the SmartConsole are displayed with a delay of minutes?

For example you generate traffic now from 1 IP 10.120.302.59 to an FTP service, but the logs of this connection appear after a few minutes, and not in real time.

Can this command be useful to "solve" these cases?

Thanks for your comments.

0 Kudos
the_rock
Legend
Legend

Hey bro,

As response from @Amir_Senn indicated, its strictly related to logging issue, so easier to do than cpstop; cpstart, which restarts everything. Personally though, I always reboot the mgmt, no harm in doing so, as it does not affect any traffic.

Andy

0 Kudos
Amir_Senn
Employee
Employee

If you have delays of minutes I believe it's more of a performance issue rather than indexer issues. I would follow CPU and memory consumption during times of delay in logs.

If indeed the consumption of CPU/memory is high restarting the indexer won't help but maybe I can recommend:

1. If you're using a VM I suggest increasing specs and see if this solves the issue.

2. If you're using an appliance or open server:

    a. If you're using your management server as your primary log server, I suggest considering moving to a distributed environment with dedicated log server to improve performance. You're needs might have grown over time to a scenario in which management and logs on the same server is stressing a single server too much. You can set up a log server VM on trail and see if this improve the situation for the time. If this is the case it could also improve other management services operations as well.

    b. Upgrading it to a stronger server or increase the resources of it (if possible) might solve the issue.

Kind regards, Amir Senn
0 Kudos
PhoneBoy
Admin
Admin

Make sure Log Indexing is enabled on the management object (issue #1 https://support.checkpoint.com/results/sk/sk150452 ).

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events