Download Thing PCAP File

This guide will show you how you can download Thing PCAP file for connection and SIM usage analysis.

Download Thing PCAP File

GET https://console.monogoto.io/thing/ThingId_ICCID_{ICCID}/pcap?From={START_DATE/TIME}&To={END_DATE/TIME}

Path Parameters

NameTypeDescription

ICCID*

String

The ICCID of your SIM

START_DATE/TIME

String

Date/time in Epoch format

END_DATE/TIME

String

Date/time in Epoch format

Headers

NameTypeDescription

YOUR_TOKEN*

String

Your authentication token

PCAP file

Example using cURL:

curl -X GET \
    --url "https://console.monogoto.io/thing/ThingId_ICCID_{ICCID_HERE}/pcap?From={START_DATE/TIME}&To={END_DATE/TIME}" \
    -H "accept: application/json" \
    -H "Authorization: Bearer {TOKEN_HERE}"

Please note that the above shown command needs to be replaced with information:

{TOKEN_HERE} - replace with your token

{ICCID_HERE} - replace with the ICCID of your SIM

{START_DATE/TIME} - replace with the timestamp of start period date/time in Epoch format. You may use a converter that can be found following this link

{END_DATE/TIME} - replace with the timestamp of end period date/time in Epoch format. You may use a converter that can be found following this link

{EVEN_MESSAGE_TYPE} - replace with the Event message type to be displayed

Example of request that will show PCAP results for our SIM card Date/time range is from 2020 December 1st 00:00:01 GMT+0 to 2020 December 31st 23:59:59 GMT+0

curl -X GET \
    --url "https://console.monogoto.io/thing/ThingId_ICCID_8912372646888991/pcap?From=1606780801&To=1609459199" \
    -H "accept: application/json" \
    -H "Authorization: Bearer eyJhb6IkpXVCJ9.eyJSb2xlIjoiVXN4lclByb2ZpbGVJZF9kZGM2MThhNC0wNTI1LTQ2MmUtYWN3NzhhMGQxYmbSI6Im4zgFkbWluIiwiQ3VzdG9tsbCwiVXNlcklkIjoiVklkXzg5Yj5Y2OGEyUtNDQThhLTEzZjA0MzJhZDE3YyINTAzgZmUtZGI51My00ZjRiLTktN2U5Yjc0ZWU1ZThlIiwiaWNzM3MjI5L2MDY3NTE2Mjl9.99aSLzP7kTgK6TZGW-xalrMu0GkW6viunt3XxbNng"

Result should generate you a link for PCAP file download:

https://console.monogoto.io/123example456pcap

Last updated