Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Netapp ontap audit ems support #2639

Merged
merged 14 commits into from
Dec 9, 2024

Conversation

cwadhwani-splunk
Copy link
Collaborator

@cwadhwani-splunk cwadhwani-splunk commented Nov 12, 2024

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

  • <14>Oct 3 11:36:46 cluster-01: cluster-01: 00000030.00c8f1e2 11e5347f Thu Oct 03 2024 11:36:44 -06:00 [kern_audit:info:3167] 8003f7000021e73b:8003f7000021e73d :: cluster:ssh :: 1.1.1.1:32910 :: cluster:admin :: qos statistics volume performance show -rows 20 -iter 1 :: Pending

ONTAP EMS log examples

  • Format set to legacy-netapp (rfc3164 variant):
    <13>Oct 3 11:36:10 [cluster-01:secd.conn.auth.failure:notice]: Vserver (datavserver) could not make a connection over the network to server (ip 2.3.3.3, port 389). Error: Operation timed out (Service: LDAP (Active Directory), Operation: SiteDiscovery).
  • Format set to rfc-5424:
    <5>1 2024-10-03T07:54:02-06:00 cluster-2 kernel - wafl.scan.done - Completed Volume Footprint Estimator Scan on volume vm_unix002_0d@vserver:27902083bf98-11e9-87fe-00a098b15eb6.

Base automatically changed from develop to main November 14, 2024 14:05
@cwadhwani-splunk cwadhwani-splunk changed the base branch from main to develop November 19, 2024 12:23
…onment variable's value to 'yes' and made some changes in the test vps parser.
@cwadhwani-splunk cwadhwani-splunk merged commit 56f9bf4 into develop Dec 9, 2024
15 of 19 checks passed
@cwadhwani-splunk cwadhwani-splunk deleted the netapp_ontap_audit_ems_support branch December 9, 2024 09:23
@github-actions github-actions bot locked and limited conversation to collaborators Dec 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants