Difference between revisions of "SysLOG"
(6 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
<p>On the Router OS, you need to set the sending of logs to the server with the installed MupsBox program:</p> | <p>On the Router OS, you need to set the sending of logs to the server with the installed MupsBox program:</p> | ||
[[File:syslog-ros-en1.png|Syslog on ROS]] | [[File:syslog-ros-en1.png|Syslog on ROS]] | ||
− | <p>In System → Logging, select Actions → remote in the Remote Address field, enter the server address with MupsBox, in the Remote Port field we set the port we specified in Settings → Syslog → Port Syslog Destination in MupsBox. | + | <p>In System → Logging, select Actions → remote in the Remote Address field, enter the server address with MupsBox, in the Remote Port field, we set the port we specified in Settings → Syslog → Port Syslog Destination in MupsBox. |
Next, on the router in System → Logging, select Rules:</p> | Next, on the router in System → Logging, select Rules:</p> | ||
[[File:syslog-ros-en2.png|Syslog on ROS]] | [[File:syslog-ros-en2.png|Syslog on ROS]] | ||
− | <p> | + | <p>Add the rules that we want to log. If we want to prefix for the convenience of searching and working with data, it is necessary to enclose it in '''#''' signs, as shown in the example above. |
After all the settings, the system will start collecting data:</p> | After all the settings, the system will start collecting data:</p> | ||
[[File:syslog-module.png|Syslog Module]] | [[File:syslog-module.png|Syslog Module]] | ||
Line 19: | Line 19: | ||
<li>[[File:exel.png|Export the visible list of logs in Excel]] - Export the visible list of logs in Excel<br></li> | <li>[[File:exel.png|Export the visible list of logs in Excel]] - Export the visible list of logs in Excel<br></li> | ||
<li>[[File:kill-treads.png|Delete all]] - Delete all data<br></li> | <li>[[File:kill-treads.png|Delete all]] - Delete all data<br></li> | ||
+ | <li>Date filter - Filtering by the specified period of days<br></li> | ||
+ | <li>Time filter - Filtering by a given time period<br></li> | ||
+ | <li>Auto update - Auto update of the list of logs for a given period in seconds.<br></li> | ||
</ul></p> | </ul></p> | ||
Line 29: | Line 32: | ||
<p>To search for data by given dates and times, check the boxes next to them and select the date and time you are interested in:</p> | <p>To search for data by given dates and times, check the boxes next to them and select the date and time you are interested in:</p> | ||
[[File:syslog-datetime.png|Syslog Filter by Date and Time]] | [[File:syslog-datetime.png|Syslog Filter by Date and Time]] | ||
− | <h3>'''Filter by Prefix'''</h3> | + | <h3>'''Filter by Prefix, Device and Topics'''</h3> |
<p>To filter by prefix, click the down arrow in the prefix field, as shown in the figure below and select the prefix or prefixes by which you need to filter the data.</p> | <p>To filter by prefix, click the down arrow in the prefix field, as shown in the figure below and select the prefix or prefixes by which you need to filter the data.</p> | ||
[[File:syslog-prefix.png|Syslog Filter by Prefix]] | [[File:syslog-prefix.png|Syslog Filter by Prefix]] | ||
− | + | <p>To filter by device and topic, do the same.</p> | |
− | + | <h3>'''Custom Filter'''</h3> | |
− | + | <p>For more flexible filtering, use a custom filter.</p> | |
− | + | [[File:custom-filter.png|Custom Filter]]<br><br> | |
− | + | [[File:custom-filter2.png|Custom Filter]] | |
<div id="BackToTop" class="noprint" style="background-color:#DDEFDD; position:fixed; | <div id="BackToTop" class="noprint" style="background-color:#DDEFDD; position:fixed; | ||
bottom:32px; left:2%; z-index:9999; padding:0; margin:0;"><span style="color:blue; | bottom:32px; left:2%; z-index:9999; padding:0; margin:0;"><span style="color:blue; |
Latest revision as of 04:55, 12 July 2019
Syslog
How to
The module displays all the logs that were sent to the server on which the MupsBox program is running with the Syslog service installed and running.
In order for the module to work, you need to specify the IP address and port on which to receive logs from devices Syslog. It is also necessary to install and run the service Syslog Install Service
On the Router OS, you need to set the sending of logs to the server with the installed MupsBox program:
In System → Logging, select Actions → remote in the Remote Address field, enter the server address with MupsBox, in the Remote Port field, we set the port we specified in Settings → Syslog → Port Syslog Destination in MupsBox. Next, on the router in System → Logging, select Rules:
Add the rules that we want to log. If we want to prefix for the convenience of searching and working with data, it is necessary to enclose it in # signs, as shown in the example above. After all the settings, the system will start collecting data:
-
There are 3 buttons on the Syslog tab: update data manually, export to excel and delete all to.
Also, a powerful tool is built into Syslog to filter data by conditions or/and by certain data:
- - Refresh syslog snapshots history
- - Export the visible list of logs in Excel
- - Delete all data
- Date filter - Filtering by the specified period of days
- Time filter - Filtering by a given time period
- Auto update - Auto update of the list of logs for a given period in seconds.
Filter and search
Search by Keyword
If you need to find a log line by keyword, type it in the search field:
MupsBox will sort the data and display only the values found. These data can be exported to Excel for further processing.
Search by Date or/and Time
To search for data by given dates and times, check the boxes next to them and select the date and time you are interested in:
Filter by Prefix, Device and Topics
To filter by prefix, click the down arrow in the prefix field, as shown in the figure below and select the prefix or prefixes by which you need to filter the data.
To filter by device and topic, do the same.
Custom Filter
For more flexible filtering, use a custom filter.