Difference between revisions of "SysLOG"

From Mupssoft Wiki
Jump to navigation Jump to search
 
(16 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>And add the rules that we want to log. If we want to prefix for convenience of searching and working with data, it is necessary to enclose it in # signs, as shown in the example above.
+
<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]]
  
 +
<p><ul>
 +
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:
 +
<li>[[File:refresh.png|Refresh]] - Refresh syslog snapshots history<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>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>
  
 
+
<h2>'''Filter and search'''</h2>
 
+
<h3>'''Search by Keyword'''</h3>
 +
<p>If you need to find a log line by keyword, type it in the search field:</p>
 +
[[File:syslog-search.png|Syslog Search]]
 +
<p>MupsBox will sort the data and display only the values found. These data can be exported to Excel for further processing.</p>
 +
<h3>'''Search by Date or/and Time'''</h3>
 +
<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]]
 +
<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>
 +
[[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.

Syslog Module

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:

Syslog on ROS

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:

Syslog on ROS

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:

Syslog Module

    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 - Refresh syslog snapshots history
  • Export the visible list of logs in Excel - Export the visible list of logs in Excel
  • Delete all - 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:

Syslog Search

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:

Syslog Filter by Date and Time

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.

Syslog Filter by Prefix

To filter by device and topic, do the same.

Custom Filter

For more flexible filtering, use a custom filter.

Custom Filter

Custom Filter