- Community Home
- >
- Networking
- >
- Legacy
- >
- Switching and Routing
- >
- syslog messages coming from HP switches cannot be ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2020 01:18 AM - edited 03-03-2021 03:33 AM
12-15-2020 01:18 AM - edited 03-03-2021 03:33 AM
syslog messages coming from HP switches cannot be filtered correctly in syslog-NG?
i am having some trouble filtering messages coming from a few sources (HP Switches) and i would like to have some advices.
i have a huge syslog-NG configuration file, filtering messages coming from many different sources (Unix servers, NAS filers, appliances, etc.)
i generally filter messages using the host() function, or filter(), or even program().
however, i am having trouble filtering messages coming from some HP switches (network & san switches), while the message format seem to be correct.
example, i'm receiving messages such as :
Mar 14 10:40:48 switchname program: message contents here
and i created a filter like this (used in a log function later):
filter f_network { host("switch*"); };
but it does not work (while all others are working, for other kind of devices) i also tried to filter on the program name, same problem.
is there a way to investigate on this and understand why it is not working ? maybe the message is formatted differently and the host field is not this one (i tried all the other fields and didn't manage to make it work)
when sniffing the network interface using tcpdump, i can My Gift Card Site see a normal message (no special characters hidden or other, apparently, but maybe i'm not using the right flags)
any way of checking this ?
thanks regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2021 02:04 AM
01-13-2021 02:04 AM
Re: syslog messages coming from HP switches cannot be filtered correctly in syslog-NG?
@Baum48 Can you tell me the model of the HP switch which you are referring to.
I am an HPE Employee