Open Frames Download Complete PDF Send Feedback Print This Page

Previous

Next

Introduction

In This Section:

Enabling Logging on a Security Management Server or Domain Log Server

Starting and Stopping the SmartLog Index Server

Activating SmartLog on Multi-Domain Security Management

SmartLog User Interface

Working with More than One Log Server

Minimum Disk Space

SmartLog reads and indexes logs generated by Check Point and OPSEC products. You can use this data to:

  • Detect and monitor security-related events. For example, alerts, rejected connections, and failed authentication attempts can indicate intrusion attempts.
  • Collect data on problematic issues. For example, a client is authorized to create a connection, but cannot connect. SmartLog shows that the Rule Base incorrectly blocks the client connection attempts.
  • Analyze network traffic patterns. For example, find out how many HTTP services were used during peak activity.

What sets SmartLog apart from other log utilities is its power, ease of use, and speed. The SmartLog Index Server gets log files from many log servers and indexes them for rapid data extraction. SmartLog includes a powerful query language that lets you create your own queries in minutes.

SmartLog is part of the R77 SmartConsole installation.

Enabling Logging on a Security Management Server or Domain Log Server

You must enable Logging & Status Software Blade on the Security Management Server and on all Log Server.

To enable logging on a Security Management Server or Log Server:

  1. Open SmartConsole.
  2. In the Gateways view, double-click the Security Management Server or Log Server.

    The General Properties window opens.

  3. In the Management tab, select Logging & Status.
  4. From the navigation tree, click Logs.

    This shows the Security Gateways that forward logs to this machine.

  5. Make sure that Enable SmartLog is selected.

    It is enabled by default. If you clear this option, it will take much more time to search the logs.

  6. Click OK.
  7. Click Publish.

Starting and Stopping the SmartLog Index Server

When you activate the SmartLog Index Server, it continuously indexes logs on management and log servers. To stop the SmartLog Index Server, run smartlogstop from the command line. To restart the SmartLog Index Server, run smartlogstart from the command line.

Activating SmartLog on Multi-Domain Security Management

SmartLog in a Multi-Domain Security Management environment works on the Multi-Domain Server. This server is used to query results from the Domain Management Servers and Multi-Domain Log Servers.

SmartLog on the Multi-Domain Server is active by default. Each Domain Management Server and Multi-Domain Log Server can be activated separately.

To activate SmartLog on the Multi-Domain Security Management:

  1. Open the SmartDomain Manager > General Multi-Domain Server Contents.
  2. Right-click the Domain Management Server and select Launch Application > SmartDashboard.
  3. In the properties of the Domain Management Server object > Logs, select Enable SmartLog.

    Do this also for the Multi-Domain Log Servers objects.

  4. Click OK and then Save.
  5. In the SmartDomain Manager > General Multi-Domain Server Contents, double-click the Multi-Domain Server object.
  6. Select Enable SmartLog.
  7. Click OK.
  8. Start the SmartLog console.

SmartLog can be used to access the Domain Management Servers or Multi-Domain Log Servers directly, or through the Multi-Domain Server.

When you connect through the Multi-Domain Server, on the left pane, SmartLog shows the Domain Management Servers and Multi-Domain Log Servers that you can select as query targets. The results are a collection of logs from the selected Domain Management Servers and Multi-Domain Log Servers (that match the query).

SmartLog User Interface

Item

Description

1

Favorites - Shows list of predefined queries. Select a query in this list to run it.

2

Back/Forward - Scroll backward and forward between recent queries.

3

Log pane toolbar - Lets you select the grid or table view for the Log pane. You can also show IP addresses and ports as numbers or their resolved names.

4

Query Definition field - Shows the query definition for the most recent query. You also define custom queries in this field using the GUI tools or manually entering query criteria.

5

Top Results pane - Shows the top results of the most recent query.

6

Results pane - Shows the log entries for the most recent query.

7

Log Details pane - Shows the detailed contents of the most recently selected log record.

8

Query Results Timeline - Shows a chart of the current query results over time.

9

Disk Space Indicator - Bar graph that shows used and available disk space in the /var/log partition. Put the cursor over the indicator to see how much space is used by log files and other data.

Toolbar Icons

Launch Menu - Opens the menu.

Grid view - Detailed tabular view. You can select the fields to show and change the order and width of the columns.

Table view - Summary view that shows basic information. This view is suitable for small windows, but cannot be customized.

Hide user identity - Hides the source user name in the Results pane,

Resolve - Resolves IP addresses and services to their names, if possible.

SmartConsoles - Open SmartConsole clients.

Working with More than One Log Server

You can include log records from more than one Log Server in your SmartLog queries. The Log Servers must all be managed by the same Security Management Server. SmartLog automatically indexes logs on all Log Servers. The Timeline and Top Results pane are not available when working with more than one Log Server.

To see logs from more than one Log Server:

  1. Select Tools > Log servers connection.
  2. R77 and R77.10: In the Log Servers Connection window, select Multiple log servers, and click OK.

    R77.20 and higher: Select Reads logs from multiple log servers.

  3. On the Log Servers pane (on the left), select the log servers to include in your queries. By default, all servers are selected.

If you have many log servers with large log files, it may take a long time to index the servers. Please be patient. The Top Results pane does not show.

To see logs from only the connected Log Server:

  1. Select Tools > Log servers connection.
  2. R77 and R77.10: In the Log Servers Connection window, select Single Log Server, and click OK.

    R77.20 and higher: Select Reads logs only from connected server.

The Top Results pane shows in the user interface.

To see logs from more than one Domain Log Server:

In a Multi-Domain Security Management environment, the SmartLog queries include log records from all the Domain Log Servers that are managed by the same Multi-Domain Server.

Minimum Disk Space

SmartLog creates and uses index files for fast access to log file contents. The index files are located by default at $SMARTLOGDIR/data.

To make sure that there is always sufficient disk space on the server, SmartLog deletes the oldest index entries when the available disk space is less than a specified minimum. The default minimum value is 10,240 MB.

To change the minimum available disk space value:

  1. On the SmartLog index server command line, go to $SMARTLOGDIR.
  2. Open smartlog_settings.txt in a text editor.
  3. Add this line to the section:

    :min_disk_space (space), where space = the minimum available disk space in MB.

    The default value is 10240 MB, which is in effect when there is no :min_disk_space line in the smartlog_settings.txt file. A smaller number will let the index file contain more entries before it automatically deletes the oldest records.

Managing the Event Database

SmartLog uses an optimization algorithm to manage disk space and other system resources. When the SmartLog database becomes too large, the oldest events are automatically deleted to save space. Also, events that are more than one year old are automatically deleted.

For instructions to change maximum period and maximum database size to save past events in SmartEvent database, see sk73640.

 
Top of Page ©2015 Check Point Software Technologies Ltd. All rights reserved. Download PDF Send Feedback Print