splunk / splunk-connect-for-syslog

Splunk Connect for Syslog
Apache License 2.0
148 stars 108 forks source link

SC4S parser support for EPP (by CoSoSys, now part of netwrix) logs #2351

Closed krish-flutter closed 4 months ago

krish-flutter commented 4 months ago

What is the sc4s version ? We plan to use the latest stable available version

Is there a pcap available? We could get our security/network team to collect one for us.

What the vendor name? EndPointProtector -> https://www.endpointprotector.com/

What's the product name? EPP

Feature Request description:

Should it support TCP or UDP? Support both TCP & UDP

Do you want to have it for local usage or prepare a github PR? As its time sensitive, happy to start with a local usage option but would like to get it into a github PR to ensure its shipped out as a standard within the official SC4S product releases.

mstopa-splunk commented 4 months ago

@krish-flutter yes please work with your team to get a pcap file. You can send it to mstopa@splunk.com or through our support. Also, do you have vendor's documentation for syslog? If not, we will use pcap samples only.

krish-flutter commented 4 months ago

@mstopa-splunk, tx for getting back. I have sent you a mail with the EPP spec. Please let me know if that is good enough or if you would need anything else

mstopa-splunk commented 4 months ago

Thank you, I answered the email message

krish-flutter commented 4 months ago

Hey @mstopa-splunk, my colleague has replied to your email with the epp dump/sample/raw events

mstopa-splunk commented 4 months ago
As its time sensitive, happy to start with a local usage option but would like to get it into a github PR to ensure its shipped out as a standard within the official SC4S product releases.

@krish-flutter please use this local parser:

block parser app-syslog-netwrix_epp() {
 channel {
        rewrite {
            r_set_splunk_dest_default(
                index('netops')
                source('netwrix:epp')
                sourcetype('netwrix:epp')
                vendor("netwrix")
                product("epp")
            );
        };

   };
};

application app-syslog-netwrix_epp[sc4s-syslog-pgm] {
    filter {
        program('EPP-' type(string) flags(prefix))
    };  

    parser { app-syslog-netwrix_epp(); };
};

You should copy it to /opt/sc4s/local/config/app_parsers/ or subdirectories there as a *.conf file and restart the service. We will work on the official release during this sprint, so feel free to share your feedback or additional requests regarding this

mstopa-splunk commented 4 months ago

released in v3.22.0