{"id":7354,"date":"2021-02-02T22:30:10","date_gmt":"2021-02-02T22:30:10","guid":{"rendered":"https:\/\/www.use-snip.com\/kb\/?post_type=ht_kb&#038;p=7354"},"modified":"2021-03-09T22:50:30","modified_gmt":"2021-03-09T22:50:30","slug":"systems-logs-syslogs","status":"publish","type":"ht_kb","link":"https:\/\/www.use-snip.com\/kb\/knowledge-base\/systems-logs-syslogs\/","title":{"rendered":"Systems Logs (SysLogs)"},"content":{"rendered":"<p>This article provides an overview of the system logging features found in <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span>.\u00a0\u00a0 The logging process collects &#8220;counts&#8221; of various performance metrics as the Caster operates.\u00a0 These are then reported graphically over time periods spanning from minutes, to weeks, or years in duration. The data gathering and binning process is an automatic background task, and <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span> allows the operator to easily view and pan over up selected periods of time to examine past performance.<\/p>\n<p>This functionality is most often used to monitor Caster operations over a preceding period of interest (prior day, week, etc.)\u00a0\u00a0 The graphical reports can be saved as a file (PNG, JPG, PDF, etc.) , or <a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/printing-reports-and-charts\/\" target=\"_blank\" rel=\"noopener\">printed<\/a> or <a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/sending-email-from-snip\/\" target=\"_blank\" rel=\"noopener\">eMailed<\/a> for use by others.\u00a0 The various system logs are presented in common dialog box described further below.<\/p>\n<p>This utility can be opened with the menu command:\u00a0 <em><strong>Reports\u00a0<\/strong> <\/em>\u21d2 <strong><em>System Logs&#8230;<\/em><\/strong><\/p>\n<h2>Example of Use<\/h2>\n<p>Below is a typical plot showing the host machine CPU utilization over a span of 24 hours.\u00a0 In this image the <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span> process is utilizing about 22% of the available MIPS while the overall host machine is about 33%.\u00a0 Except for a noticeable short burst when the machine processing load increased to ~68% the machine is not being stressed.\u00a0 This increase was attributable to a system backup process running at the time.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2021\/02\/processLoad_24hrs.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-7360\" src=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2021\/02\/processLoad_24hrs.png\" alt=\"\" width=\"555\" height=\"185\" srcset=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2021\/02\/processLoad_24hrs.png 1110w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2021\/02\/processLoad_24hrs-300x100.png 300w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2021\/02\/processLoad_24hrs-1024x341.png 1024w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2021\/02\/processLoad_24hrs-768x256.png 768w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2021\/02\/processLoad_24hrs-50x17.png 50w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2021\/02\/processLoad_24hrs-920x307.png 920w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2021\/02\/processLoad_24hrs-600x200.png 600w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2021\/02\/processLoad_24hrs-320x107.png 320w\" sizes=\"auto, (max-width: 555px) 100vw, 555px\" \/><\/a><\/p>\n<p>For a greater sense of context, here is a plot of the connected users (<a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/question-what-is-an-ntrip-client\/\" target=\"_blank\" rel=\"noopener\">NTRIP Clients<\/a>) being served corrections\u00a0 over the same 24 hour period.\u00a0 This Caster is hosted on a shared 2-core AWS virtual machine, a low-cost configuration commonly used to host <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span> NTRIP Casters.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2021\/02\/clientLoad_24hrs.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-7361\" src=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2021\/02\/clientLoad_24hrs.png\" alt=\"\" width=\"555\" height=\"185\" srcset=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2021\/02\/clientLoad_24hrs.png 1110w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2021\/02\/clientLoad_24hrs-300x100.png 300w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2021\/02\/clientLoad_24hrs-1024x341.png 1024w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2021\/02\/clientLoad_24hrs-768x256.png 768w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2021\/02\/clientLoad_24hrs-50x17.png 50w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2021\/02\/clientLoad_24hrs-920x307.png 920w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2021\/02\/clientLoad_24hrs-600x200.png 600w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2021\/02\/clientLoad_24hrs-320x107.png 320w\" sizes=\"auto, (max-width: 555px) 100vw, 555px\" \/><\/a><\/p>\n<h2>Time Spans Control<\/h2>\n<p>The dialog presents the user with a drop-down combo which controls\u00a0 the span of time presented, as well as the &#8216;bins&#8217; of time over which the performance counts are collected.\u00a0 The selected span of time can be moved from four hours (with data collected over one minute periods) to as much as three years (with weekly collection periods).\u00a0\u00a0\u00a0 Spans include:\u00a0 4 hours, 24 hours, 72 hours (3 days), 1 week (7 days), 2 weeks (14 days), 1 month (31 days), 1 year, and 3 years in duration.\u00a0 If a span of time is selected for which there is no data yet, the display states this (this occurs with new <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span> deployments which have not yet run very long).\u00a0 [Click to enlarge any image]<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2021\/02\/sysLogDialog.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-7372\" src=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2021\/02\/sysLogDialog.png\" alt=\"\" width=\"511\" height=\"228\" srcset=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2021\/02\/sysLogDialog.png 1022w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2021\/02\/sysLogDialog-300x134.png 300w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2021\/02\/sysLogDialog-768x343.png 768w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2021\/02\/sysLogDialog-50x22.png 50w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2021\/02\/sysLogDialog-920x410.png 920w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2021\/02\/sysLogDialog-600x268.png 600w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2021\/02\/sysLogDialog-320x143.png 320w\" sizes=\"auto, (max-width: 511px) 100vw, 511px\" \/><\/a><\/p>\n<p>The plotted data is shown in a dual view mode.\u00a0 The currently selected chart (the upper image in the above) displays the span of time the user has selected with mouse movements.\u00a0 The display defaults to the last 20% of the time when first shown. [<span style=\"color: #008000;\"><strong>Hint<\/strong><\/span>: Drag the mouse over the image to scroll and pan, use the roller button to control zooming]\u00a0 The lower chart displays the full span of data and shows the current chart in displayed perspective over the full set of data.<\/p>\n<p>You can control the specific set of data that is plotted by checking and unchecking the list of data items shown in the the tree view on the left side of the dialog for each chart.\u00a0 The chart will auto-scale the vertical axis as required to display the selected data.\u00a0 Each chart type presents a collection of possible data items with the most commonly used items selected.\u00a0 Tool tips (hover over a given data item) provide additional information. When hovering over the chart, the tool tips display additional data about that data point and the legend at the top displays the precise time and values for the currently selected data point displayed item.<\/p>\n<h2>Controls<\/h2>\n<p>Some additional remarks about the controls follow below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-7364 alignright\" src=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2021\/02\/sysLogControls.png\" alt=\"\" width=\"308\" height=\"670\" srcset=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2021\/02\/sysLogControls.png 308w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2021\/02\/sysLogControls-138x300.png 138w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2021\/02\/sysLogControls-23x50.png 23w\" sizes=\"auto, (max-width: 308px) 100vw, 308px\" \/><\/p>\n<h3>Checkboxes<\/h3>\n<p><strong>Show Tips<\/strong>; Disable to remove tool tips in the chart. For very large and complex charts this provides a slight time saving when rendering.<\/p>\n<p><strong>Show On\/Off<\/strong>; Displays a vertical line and the data\/time in the chart whenever the SNIP Caster was taken off line.\u00a0 Useful to see when the trends in displayed data was disrupted by the Caster being offline.<\/p>\n<p><strong>Remove Data Jumps<\/strong>; Applies a moving low pass filter to the each displayed data to remove corruptions that can occur due to bursts of data at the edge of the sampling (&#8216;bin&#8217;) interval.<\/p>\n<p><strong>Start Full Scale<\/strong>; When checked the display starts with the full span of data displayed.\u00a0 When UN-checked the last (most current) 20% of the data is displayed.\u00a0 The operator can also easily scale and pan the display using the mouse.<\/p>\n<p><strong>Print as Landscape<\/strong>; Makes the default printing style a landscape mode. The user can also change this in the print dialog.<\/p>\n<h3>The Report Type Tree<\/h3>\n<p>Provides a tree style list for each report.\u00a0 Select a report (click on it) to display it. The children items for that entry will open as well. Each report has a collection of related data items to select from.<\/p>\n<p>The possible data items to be shown are shown as children in the tree. Only those items with a check mark are charted.\u00a0 The default items when the dialog is first presented reflect reasonable choices about what is most commonly of interest.\u00a0 Less common data items are included in the list but not selected.\u00a0 The operator selections made are remembered when changing to other charts.\u00a0 This is to promote the ability to compare different chart types.\u00a0 The default settings are renewed each time the dialog is started. The magnitude of the selected item can vary widely. (This typically depends on the nature of your Caster. For example, some Casters have hundred of different users or IP connections, while others may have a very small user set.)\u00a0 Simply deselect any &#8216;large&#8217; values to <em>re-scale<\/em> and expose smaller ones when needed.<\/p>\n<p>One check box in each report type bears additional discussion.\u00a0 The <strong>Use Delta Plot Mode<\/strong> box enables (when checked) a <span style=\"color: #0000ff;\"><em><strong>delta<\/strong> <\/em><\/span>plot style where the <em>difference<\/em> between the current value and the last value is plotted.\u00a0 This is useful when seeking to find and display any disjoint events and trends in the data.<\/p>\n<p>The buttons <strong>Save<\/strong>, <strong>Info<\/strong>, <strong>Print<\/strong> and <strong>eMail<\/strong> perform the normal functions.<\/p>\n<h2>Chart Types<\/h2>\n<p>The following charts can be selected.<\/p>\n<h3 style=\"padding-left: 40px;\">Base Caster Use<\/h3>\n<p style=\"padding-left: 40px;\">Displays basic Caster information including average data served and client counts.<\/p>\n<h3 style=\"padding-left: 40px;\">Client Connections<\/h3>\n<p style=\"padding-left: 40px;\">Displays details about the number of clients serviced and their types (Rev1\/Rev2, NTRIP Clients vs Servers)<\/p>\n<h3 style=\"padding-left: 40px;\">Client Data User<\/h3>\n<p style=\"padding-left: 40px;\">Counts of the numbers of data served, tables served, web page served, etc.<\/p>\n<h3 style=\"padding-left: 40px;\">Base Station Counts<\/h3>\n<p style=\"padding-left: 40px;\">Counts of the number of Base Stations present of each connection type (<a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/the-relay-streams-tab\/\" target=\"_blank\" rel=\"noopener\">Remote-Relay<\/a>, <a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/the-pushed-streams-tab\/\" target=\"_blank\" rel=\"noopener\">PUSH-In<\/a>, <a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/the-pushed-out-streams-tab-output-data\/\" target=\"_blank\" rel=\"noopener\">PUSH_Out<\/a>, <a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/raw-tcpip-streams-tab\/\" target=\"_blank\" rel=\"noopener\">Raw TCP\/IP<\/a>, <a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/the-serial-streams-tab\/\" target=\"_blank\" rel=\"noopener\">Serial<\/a>).<\/p>\n<h3 style=\"padding-left: 40px;\">Connection Types Summary<\/h3>\n<p style=\"padding-left: 40px;\">Counts of the total bytes served out by each connection type (<a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/the-relay-streams-tab\/\" target=\"_blank\" rel=\"noopener\">Remote-Relay<\/a>, <a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/the-pushed-streams-tab\/\" target=\"_blank\" rel=\"noopener\">PUSH-In<\/a>, <a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/the-pushed-out-streams-tab-output-data\/\" target=\"_blank\" rel=\"noopener\">PUSH_Out<\/a>, <a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/raw-tcpip-streams-tab\/\" target=\"_blank\" rel=\"noopener\">Raw TCP\/IP<\/a>, <a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/the-serial-streams-tab\/\" target=\"_blank\" rel=\"noopener\">Serial<\/a>).<\/p>\n<h3 style=\"padding-left: 40px;\">Remote-Relay Use<\/h3>\n<p style=\"padding-left: 40px;\">Displays service details about the Bases and User Accounts connecting with <a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/the-relay-streams-tab\/\" target=\"_blank\" rel=\"noopener\">Remote-Relay<\/a> connections.<\/p>\n<h3 style=\"padding-left: 40px;\">PUSH_In Use<\/h3>\n<p style=\"padding-left: 40px;\">Displays service details about the Bases and User Accounts connecting with <a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/the-pushed-streams-tab\/\" target=\"_blank\" rel=\"noopener\">PUSH_In<\/a> connections.<\/p>\n<h3 style=\"padding-left: 40px;\">PUSH_Out Use<\/h3>\n<p style=\"padding-left: 40px;\">Displays service details about the Bases sending out data to remote sites with <a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/the-pushed-out-streams-tab-output-data\/\" target=\"_blank\" rel=\"noopener\">PUSH_Out<\/a> connections.<\/p>\n<h3 style=\"padding-left: 40px;\">Raw TCP\/IP Use<\/h3>\n<p style=\"padding-left: 40px;\">Displays service details about the Bases and User Accounts connecting with <a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/raw-tcpip-streams-tab\/\" target=\"_blank\" rel=\"noopener\">RAW TCP\/IP<\/a> connections.<\/p>\n<h3 style=\"padding-left: 40px;\">Serial Port Use<\/h3>\n<p style=\"padding-left: 40px;\">Displays service details about the Bases and User Accounts connecting with <a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/the-serial-streams-tab\/\" target=\"_blank\" rel=\"noopener\">Serial UART<\/a> connections.<\/p>\n<h3 style=\"padding-left: 40px;\">IP Use<\/h3>\n<p style=\"padding-left: 40px;\">Displays further details about the range and diversity of the different IPs which have connected to the Caster.<\/p>\n<h3 style=\"padding-left: 40px;\">Process Counts<\/h3>\n<p style=\"padding-left: 40px;\">Displays details about the SNIP application process (CPU use, memory use, etc.) and about the host machine it is running on.<\/p>\n<h3 style=\"padding-left: 40px;\">Offline Base Stations<\/h3>\n<p style=\"padding-left: 40px;\">Displays details about any Base Stations which are offline or otherwise reporting persistent connection issues.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article provides an overview of the system logging features found in SNIP.\u00a0\u00a0 The logging process collects &#8220;counts&#8221; of various performance metrics as the Caster operates.\u00a0 These are then reported graphically over time periods spanning from minutes, to weeks, or years in duration. The data gathering and binning process is [&hellip;]<\/p>\n","protected":false},"author":13,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"ht-kb-category":[418],"ht-kb-tag":[488,318,490,491,489],"class_list":["post-7354","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-reports","ht_kb_tag-logs","ht_kb_tag-ntrip-caster","ht_kb_tag-performance","ht_kb_tag-run-time","ht_kb_tag-system"],"_links":{"self":[{"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb\/7354","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/comments?post=7354"}],"version-history":[{"count":26,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb\/7354\/revisions"}],"predecessor-version":[{"id":7622,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb\/7354\/revisions\/7622"}],"wp:attachment":[{"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/media?parent=7354"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=7354"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=7354"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}