Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Centrally manage the Syslog syslog of switches and routers

2025-02-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

one. Configure the server side

Configure the log server

Install the 64-bit free version of splunk

Create a new "Import data" to listen to the udp514 port, and the default received logs are stored in the index "main".

You can create new logs according to different switch logs, create different indexes, and then associate them to the new index in the process of "importing data".

In the search, the keyword: index= "new index name"

two。 If there is a firewall on the log server, make sure that "udp514" and "tcp146" are turned on in the inbound rules

two. Configure the client

Cisco switch, router

1 Open the log service Router (config) # logging on

2 define the log server address Router (config) # logging host 192.168.2.100

3 define Router (config) # service timestamps log datetime localtime show-timezone msec

3 define Router (config) # service timestamps debug datetime localtime show-timezone msec

4 define facility level Router (config) # logging facility local7 (default)

5 # define severity level Router (config) # logging trap 4

Finally, set the time zone

2.cisco asa equipment

Logging enable

Logging host inside a.b.c.d

Logging source-interface vlan 1 (original address of log packet)

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report