Kiwi syslog is a Windows-based log server belonging to SolarWinds, I believe some friends have used SolarWinds management software, the function is very powerful, interested friends can on their official website to understand http://www.solarwinds.cn.
Today we mainly talk about the syslog server, the Internet can also search for a considerable number of tutorials, but only to save the log as a file. Imagine, a year down there are more than 300 files, if a naïve to troubleshoot through the log, to find useful information from hundreds of text documents, light to think about the headache.
This article describes saving log information to the MSSQL database and quickly retrieving logs by developing a Web foreground . I also share my experience of using the software in 78 to everyone.
Kiwi syslog has a lot of advantages, installation is also very simple, here is no longer detailed, this article only introduce ideas and Settings section.
If you have better comments and suggestions, welcome to contact me, thank you!
I am using the software version for 8.1.6 (has been used for many years, the setup is simpler) and 8.3.7 (the web has cracked version, set slightly more complex, this version for example)
1. After the installation is complete, click File, Setup to open the Settings screen. There are two items on the right side of the formatting, the custom file formats is the format saved as a text document, and the custom DB formats is the format to save the settings to the database. Right-click "ADD New Custom DB format" to create a new format.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/4C/F4/wKiom1RIXb-BMNqoAAG1k-DQ3Kw513.jpg "title=" K1.png "alt=" wkiom1rixb-bmnqoaag1k-dq3kw513.jpg "/> 650" this.width=650; "src="/e/u261/themes/default/image S/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid # DDD; "alt=" Spacer.gif "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/4C/F5/wKioL1RIXifBYj1tAAPWaKfXPZM839.jpg "title=" K2.png "alt = "Wkiol1rixifbyj1taapwakfxpzm839.jpg"/> 650) this.width=650; src=/e/u261/themes/ Default/images/spacer.gif "style=" border:1px solid rgb (221,221,221); background-position:50% 50%; "alt=" spacer.gif "/ >
3, the left "rules-actions" key under the default has two, display and log to file, right click "Actions", select "Add action"
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/4C/F6/wKioL1RIXk2jiRLVAACLYG98G50221.jpg "title=" K3.png "alt=" wkiol1rixk2jirlvaaclyg98g50221.jpg "/> 650" this.width=650; "src="/e/u261/themes/default/ Images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px Solid #ddd; "alt=" Spacer.gif "/>
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/4C/F6/wKioL1RIXlyB_fSXAAHvZ0ksXaE273.jpg "title=" K4.png "alt=" wkiol1rixlyb_fsxaahvz0ksxae273.jpg "/> 650" this.width=650; "src="/e/u261/themes /default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/images/localimage.png") no-repeat Center; border:1px solid #ddd; "alt=" Spacer.gif "/>
5. Click the icon shown in the red logo to set the database connection properties.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/4C/F6/ Wkiol1rixncxivo1aahnz9xikbw730.jpg "title=" K5.png "alt=" wkiol1rixncxivo1aahnz9xikbw730.jpg "/> 650) this.width=650, "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/images /localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>
6, under Provider, select the Microsoft OLE DB Provider for SQL Server item. The 8.1.6 version does not have this option, which is connected by ODBC by default.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/4C/F5/wKiom1RIXk3ziGM5AAFP0AEuRCw031.jpg "title = "K6.png" alt= "wkiom1rixk3zigm5aafp0aeurcw031.jpg"/> 650) this.width=650; "Src="/e/u261/ Themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd; "alt=" Spacer.gif "/>
7. The settings under the "Connection" column are as follows: The first step is to enter the server name of the database, the second step is to enter the service library's account number and password, and the third step is to select the database (you need to create an empty database in advance). Click "Test Connection" to prompt the database connection is successful, click "OK" to return.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/4C/F5/ Wkiom1rixrdrondeaagnkgefxms993.jpg "title=" K7.png "alt=" wkiom1rixrdrondeaagnkgefxms993.jpg "/> 650) this.width=650, "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/images /localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>
8, under the "Data Link connection string" Only see the user Id=sa, in the following add "pwd=******;" (* * * is your sa password, you need to add a semicolon later; )。
The settings are complete, click the "CREATE TABLE" button to create a table in the database, click the "Test" button to see the success of the connection information.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/4C/F5/wKiom1RIXsehxVrmAAKIXHxaL08116.jpg "title = "K8.png" alt= "wkiom1rixsehxvrmaakixhxal08116.jpg"/> 650) this.width=650; "Src="/e/u261/ Themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd; "alt=" Spacer.gif "/>
9, to this point, the Log Server section has been set to complete, the log can be saved to the MSSQL database.
Part II: Settings for servers and network devices
Part III: Developing Web platforms, querying logs
Interested friends can develop a simple Web query platform,
This article from "Hai na Hundred Chuan" blog, reproduced please contact the author!
SolarWinds Kiwi syslog server+ MSSQL log Server