Hi all,
in short - how can I change the formatting on the event logs going to a syslog server?
in detail -
I have configured my cluster to to send event logs to Splunk.
mucfs01::> event notification destination show -name fluentd_sierra
Destination Name: fluentd_sierra
Type of Destination: syslog
Destination: fluentd.sierra.local
Server CA Certificates Present?: -
Client Certificate Issuing CA: -
Client Certificate Serial Number: -
Client Certificate Valid?: -
mucfs01::> event filter show -filter-name forSplunk
Filter Name Rule Rule Message Name SNMP Trap Type Severity
Position Type
----------- -------- --------- ---------------------- --------------- --------
forSplunk
1 include * * EMERGENCY, ALERT, ERROR
2 exclude * * *
2 entries were displayed.
Splunk sees the hostname as cluster nodename + event message name
![keremcumhur_0-1606211984051.png keremcumhur_0-1606211984051.png](https://community.netapp.com/t5/image/serverpage/image-id/10441iA64F0986A35163EB/image-size/medium?v=v2&px=400)
And if you look at how packages are being sent from NetApp, the syslog package is created this way.
![keremcumhur_1-1606212082490.png keremcumhur_1-1606212082490.png](https://community.netapp.com/t5/image/serverpage/image-id/10442iE5C3DECB0DC46E20/image-size/medium?v=v2&px=400)
I don't know the reason for this, but I could not change it. And this way it is creating for each event on each node a new 'host' entry on Splunk, which ends up with 100x new non-existing nodes.
I want to be able to modify the syslog event like
hostname = name of the node
ident = message name
message = message text