Viewing service logs
Viewing the service logs is a simple way to monitor the activity and performance of your NAT Gateways. Megaport starts reporting metrics as soon as the NAT Gateway is live in the Megaport Portal. You can also monitor the VXCs and BGP peering on NAT Gateway services, such as BGP session down, BGP authentication failure, and so on. To view service logs for a NAT Gateway- Log in to the and choose Services.
- Click the gear icon next to the NAT Gateway.
- On the NAT Gateway Details page, click Logs.
The 100 most recent events are displayed, including the time zone of the log entries. The standard time zone formatting for NAT Gateway log messages is UTC. - To view VXC and BGP events, click the gear icon next to the VXC and click Logs on the Connection Details page. A green check mark indicates that the service is running as expected, or shows a non-critical event such as a speed change. A yellow warning icon indicates that there is a potential issue with the service.
Company Admins see an additional Activity Logs tab next to Service Logs. The Activity Logs tab displays user activity for the NAT Gateway, such as configuration changes and other administrative actions. For more information about activity logs, see Viewing Activity Logs.
Viewing usage details
The Service Graph provides helpful information such as inbound/outbound traffic and packet rates. The graph is useful for comparing monthly usage on a NAT Gateway. You can export the NAT Gateway usage data in comma-separated values (CSV) format for analysis in spreadsheets and databases. You can access a Service Graph from these locations:-
From the Services page, click the gear icon, then select Telemetry.
You will see Service Graphs for the selected service only. -
From Monitoring & Diagnostics > Service Telemetry.
This page shows usage for multiple services. You can filter the information for a specified date range and select a metric to display. For more information, see Monitoring Services using the Service Telemetry Page.
The Service Graph is updated every 5 minutes.
- Log in to the and choose Services.
- Click the gear icon next to the NAT Gateway.
-
On the NAT Gateway Details page, click Telemetry.
The Service Graph page appears, showing all available metric graphs.The controls above the graphs apply to all graphs at once. When you change a control, every graph updates together. -
In the Date Range field, enter the range of dates for which to view usage details.
Select from the following options:- Last hour
- Last 12 hours
- Last 24 hours
- Last week
- Last month
- Last 3 months
- Last 6 months
- Last 12 months
- Custom - Enter a custom date range using the date picker.
-
In the Resolution control, select the resolution for the graph data: 5 min, Daily, or Monthly.
The available resolutions depend on the selected date range:
- 5 min is available only for ranges of 3 months or less.
- Daily is available for any range.
- Monthly is available only for ranges greater than 3 months.
- If you selected Daily or Monthly resolution, select one or more values in the Aggregate control to plot on the graph: Average, Peak, 95th percentile, or Minimum. The Aggregate control is not shown for 5 min resolution.
-
You can customize the graphs by selecting or clearing the In pps, Out pps, In Mbps, Out Mbps, and Configured speed Mbps check boxes to show or hide data.
Use the mouse to hover over a specific data point to see the values and exact timestamp.
-
Click Export CSV to download the NAT Gateway usage data for all metrics in a single CSV file.
You can use the CSV file to import the data into spreadsheets and databases. You can open the CSV file in any text editor. The exported data uses the selected resolution. - Click UTC or your local time zone to change the time zone.