Giter Club home page Giter Club logo

sa-syslog_collection's People

Contributors

hire-vladimir avatar sduff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

sa-syslog_collection's Issues

File Permissions in syslog config

Hello!
Your file permissions (FileCreateMode in rsyslog and perm() in syslog-ng) set the log files to 0755.
It's not necessary for log files to have executable permissions and worst case it could have some security impact. A better default would be 0644.

review additional "performance tuning" settings

received feedback from multiple parties regarding "tuning" syslog. need to review the settings to see how they differ from default and the versions they were introduced. additional research is required.

  • rsyslog
$MainMsgQueueWorkerThreads 4
$MainMsgQueueWorkerThreadMinumumMessages 6000
$MainMsgQueueDequeueBatchSize 4096
$MainMsgQueueType FixedArray
$MainMsgQueueSize 250000
  • syslog-ng
options {
        long_hostnames (off);
        check_hostname(yes);
        keep_hostname (yes);
        use_dns (yes);
        use_fqdn (no);
        create_dirs (no);
        chain_hostnames (no);
        dns_cache(yes);
        dns_cache_size(2500);
        dns_cache_expire(87600);
        keep_timestamp (no);
        log_iw_size(100);
        log_fetch_limit(100);
        flush_lines (100);
        log_fifo_size (1000);
        stats_freq (120);
        time_reap (30);
        time_reopen (2);
};

add syslog forwarding to 3rd party example

  • rsyslog
# udp
*.* @10.1.1.1:514
# tcp
*.* @@10.1.1.1:514
# udp with compression
*.* @(z9)10.1.1.1:514
  • syslog-ng
destination d_loghost {udp("10.1.1.1" port(514) spoof_source(yes)); };
  • also add example of HWF/idx sending syslog to 3rd party

mismatch in index name

The index is called "syslog_health" in props and "health_syslog" in the dashboard. These should probably match up.

add rsyslog template in new format

presently, legacy rsyslog config file is given as an example to keep things consistent with latest rsyslog shipped with RHEL and CentOS builds. Given user an option might help, as the new format is friendlier to work with.

document alternative to setting _meta to identify source syslog machine

As part of syslog engine writing out files, syslog server name could be included part of path. This is done by leveraging daemon variable substitution.

This could later be used to extract the splunk_server_syslog field from source field.

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.