Coder Social home page Coder Social logo

lssc's Introduction

Installation Steps

  1. Download the content and unzip the package to a directory on qradar console
  2. Go to “setup” directory.
  3. Simply run “bash install.sh” with root privilege.
  4. Make the relevant configuration for your environment. An example configuration will be installed which can be modified later on.
  5. Check the status of the lssc service at the end of the installation. PS: ruby and libyaml are dependencies for this application but both package and installer script contains the dependencies and relevant installation commands. Rpm packets are compatible with Qradar 7.3.x,7.4.x (RHEL7), packets must replace with older versions for Qradar 7.2.x

Configuration Arguments / Options

Config file path: /opt/lssc/config.json

Example config

{
  "sender": "[email protected]",
  "subject_stopped": "Log source stopped:",
  "subject_running": "Log source running:",
  "control_frequency": 1,

  "groups": {

    "Firewalls": {
      "stop_tolerance": 5,
      "notify_frequency": 10,
      "notify_clean": true,
      "receiver": [
        "[email protected]",
        "[email protected]"
      ]
    },

    "test 2": {
      "stop_tolerance": 2,
      "notify_frequency": 10,
      "receiver": [
        "[email protected]",
        "[email protected]"
      ]
    }
  }
  
}
  • “sender”: to define email sender address of the Qradar Server
  • “subject_stopped”: to define email subject of the notification
  • “subject_running”: to define email subject when stopped log source starts again
  • “control_frequency”: to define the frequency of checking to the configurated log sources group’s online/offline states.

Under the “groups” list, N elements of log source group can be defined. To apply Log Source Stop Control Application, simply choose one of the log source group defined in the Qradar and open a list to make it applied. An example configuration is already installed and can be found in the package.

Configuration parameters under the groups:

  • “stop_tolerance”: to define log source stop tolerance (minutes of interruption of the log source state)
  • “notify_frequency” : to define frequency of the reminder mail notification in minutes
  • “notify_clean”: to define having notification when the state of the log source is turned as “running” (true/false)
  • “receiver”: to define list of the users to get the log source stop notification emails.

It is recommended to check your config file with an online json validator for complex json files.

After updating the json file, lssc service needs to restart for load new configs.

HA Log Source Stop Control Settings

LSSC Application support HA availability of log sources. It is possible to set HA Log source pairs. Thus, As log as both HA stops sending events, notification will be sent to the receivers. To set HA option, each failover peer should contain “ha:failoverpairname;” in log source description.

In example: logsourcename1 and logsourcename2 are failover log sources. To set HA option for LSSC application:

Simply “ha:logsourcename2;” must contain in logsource1’s description and “ha:logsourcename1;” must contain in logsource2’s description.

Email templates in the views directory can be easily edited. Following images are sample of default templates

Stopped

Running

Scripts are not official IBM solutions. IBM highlights Modified (YUM) is not supported through all other installations of non-QRadar software modules, RPMs, or Yellowdog Updater. Use at your own risk.

lssc's People

Contributors

semsaksoy avatar serhatcb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.