Accessing Conduit AEP data usage logs

Home Forums Conduit: AEP Model Accessing Conduit AEP data usage logs

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #18066
    Scott Jensen
    Participant

    Is there a way to get at the cellular and Ethernet usage statistics (JSON file, I believe) from a terminal that is usually accessed via the Conduit AEP Gateway web interface (Status & Logs > Statistics > Download Logs)?

    #18075
    Peter Ferland
    Blocked

    Take a look at the REST API, stats are available at localhost/api/stats. The endpoint reference is here: http://www.multitech.net/developer/software/mtr-api-reference/rcell_api_statistics/
    For example:
    # curl -k localhost/api/stats/ethHistory

    #18077
    Ajay K
    Participant

    Hi Peter,

    For Conduits having the LORA card, can I pull the LORA statistics as well? Although the API link doesn’t have any end point related to LORA statistics, is there an end point that you can share that is not documented by the link above?

    Thanks,
    Ajay

    #18078
    Peter Ferland
    Blocked

    The conduits with a LoRa card installed do have a stats/lora and a stats/loraNodes endpoint. Check those on the conduit itself with a curl request and see if they have the stats you’re looking for.

    For example on my 1.3.3 conduit, a GET to stats/lora returns:

    admin@mtcdt:~# curl -k localhost/api/stats/lora
    {
       "code" : 200,
       "result" : {
          "rxCrcErrors" : 23624,
          "rxDups" : 0,
          "rxJoinDups" : 0,
          "rxJoins" : 163,
          "rxMicFails" : 143,
          "rxPkts" : 20956,
          "txAckDups" : 0,
          "txAckPkts" : 0,
          "txJoins1stWnd" : 163,
          "txJoins2ndWnd" : 0,
          "txJoinsDropped" : 0,
          "txPkts" : 7104,
          "txPkts1stWnd" : 7104,
          "txPkts2ndWnd" : 0,
          "txPktsDropped" : 0
       },
       "status" : "success"
    }
    #18125
    Ajay K
    Participant

    Thanks for the information Peter.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.