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

improved cisco ACI processor #377

Merged
merged 10 commits into from
Jan 3, 2023
Merged

improved cisco ACI processor #377

merged 10 commits into from
Jan 3, 2023

Commits on Dec 9, 2022

  1. improved cisco ACI processor

    Improved the cisco aci processor with the following changes:
    
    1) simplified grok parsing
    2) removed complex logic used to detected event and error messages
    3) fixed broken parsing of the device hostname sending logs
    4) tmp.rule does NOT rapresent an username , it's instead the even.reason as described by cisco, - The action or condition that caused the event, such as a component failure or a threshold crossing.
    
    
    sample messages used for testing
    
    ```
    <186>Dec 08 21:20:20.614 ABC-DCA-NPRD-ACILEF-104 %LOG_LOCAL7-2-SYSTEM_MSG [F0532][raised][interface-physical-down][critical][sys/phys-[eth1/47]/phys/fault-F0532] Port is down, reason being suspended(no LACP PDUs)(connected), used by EPG on node 104 of fabric ACI Fabric1 with hostname CLS-DCE-NPRD-ACILEF-10
    
    <190>Nov 24 18:20:53.237 ABC-DCB-ACIAPC-003 %LOG_LOCAL7-6-SYSTEM_MSG [E4206143][transition][info][fwrepo/fw-aci-apic-dk9.5.2.6e] Firmware aci-apic-dk9.5.2.6e created
    ```
    anubisg1 committed Dec 9, 2022
    Configuration menu
    Copy the full SHA
    6dcfa19 View commit details
    Browse the repository at this point in the history
  2. fixed error_msg filed

    fixed mistake where error_message was used instead of [tmp][error_message]
    anubisg1 committed Dec 9, 2022
    Configuration menu
    Copy the full SHA
    795baa2 View commit details
    Browse the repository at this point in the history
  3. use correct value in event.kind

    Fault isn't a valid value for the field event.kind according to ECS - https://www.elastic.co/guide/en/ecs/8.5/ecs-allowed-values-event-kind.html
    
    use "alert" instead of fault
    anubisg1 committed Dec 9, 2022
    Configuration menu
    Copy the full SHA
    72c6a10 View commit details
    Browse the repository at this point in the history
  4. -SYSTEM_MSG is not a field to match or of interest

    don't save a field with no value. -SYSTEM_MS is always there and not providing any meaning information.
    anubisg1 committed Dec 9, 2022
    Configuration menu
    Copy the full SHA
    61acfd6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5f5fced View commit details
    Browse the repository at this point in the history
  6. add cisco_aci lookup

    let's not forget lookup table
    anubisg1 committed Dec 9, 2022
    Configuration menu
    Copy the full SHA
    18fa395 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2022

  1. restore observer name cleanup

    restore observer name clean up as that depends on the input pipeline not on ACI itself
    anubisg1 committed Dec 10, 2022
    Configuration menu
    Copy the full SHA
    fb0e104 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2022

  1. Configuration menu
    Copy the full SHA
    0a3eab2 View commit details
    Browse the repository at this point in the history
  2. Update cisco_aci.json

    full fault codes updated
    anubisg1 committed Dec 19, 2022
    Configuration menu
    Copy the full SHA
    6c69ea1 View commit details
    Browse the repository at this point in the history
  3. Update syslog_audit_cisco.aci.conf

    use newer dictionary
    anubisg1 committed Dec 19, 2022
    Configuration menu
    Copy the full SHA
    7f8353a View commit details
    Browse the repository at this point in the history