splunk / splunk-connect-for-syslog

Splunk Connect for Syslog
Apache License 2.0
154 stars 111 forks source link

Netapp ontap audit ems support #2639

Open cwadhwani-splunk opened 2 weeks ago

cwadhwani-splunk commented 2 weeks ago

ONTAP sends syslog data from two different subsystems, Event Management System (EMS) and Audit logs. Reviewing the SC4S config file and tests, appears it is defined for the ONTAP Audit log format, which is different than the ONTAP EMS format. yet the config file has it titled as “ontap:ems”

Conf file: https://github.com/splunk/splunk-connect-for-syslog/blob/main/package/etc/conf.d/conflib/syslog/app-syslog-netapp_ontap.conf Test file https://github.com/splunk/splunk-connect-for-syslog/blob/main/tests/test_netapp.py testdata = [ "{{ mark }}{{ bsd }} {{ host }}: {{ host }}: 0000001e.0794c163 055b6737 {{ device_time }} [kern_audit:info:2385] 8503ea0000ba6b71 :: nodea:ontapi :: 1.1.1.1:41464 :: nodea-esx:usera :: clone-create :: Error: Missing input: source-path; Missing input: volume", ]

ONTAP Audit log example

ONTAP EMS log examples