<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Questions about Dashboard API, 'Get Network Clients' and 'Get Network Traffic' in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/questions-about-dashboard-api-get-network-clients-and-get/m-p/5426177#M4361</link>
    <description>&lt;P&gt;Hello Namgyu.&lt;/P&gt;&lt;P&gt;I have the same problem you described in your post.&lt;/P&gt;&lt;P&gt;I am collecting the number of clients associated per Meraki Access Point or Network using the following URL:&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="lia-indent-padding-left-30px" style="padding-left : 30px;"&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;&lt;A href="https://api.meraki.com/api/v0/networks/MY_NETWORK/clients?perPage=1000&amp;amp;timespan=3600" target="_blank" rel="nofollow noopener noreferrer"&gt;https://api.meraki.com/api/v0/networks/MY_NETWORK/clients?perPage=1000&amp;amp;timespan=3600&lt;/A&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;In order to avoid the API Rate Limit I am collecting the result every hour using PRTG.&lt;/P&gt;&lt;P&gt;The timespan used inside the URL is also 3600 seconds (1 hour).&lt;/P&gt;&lt;P&gt;The problem is that the data is coming in a very inconsistent way. &lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="klausengelmann_0-1619205527980.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/262180iA92E864D70B93304/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please, could you help me to understand how can I use the Meraki API timespan correctly ?&lt;/P&gt;&lt;P&gt;What is the recommended time interval to collect the connected clients ?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
    <pubDate>Fri, 23 Apr 2021 19:20:24 GMT</pubDate>
    <dc:creator>klaustecnico</dc:creator>
    <dc:date>2021-04-23T19:20:24Z</dc:date>
    <item>
      <title>Questions about Dashboard API, 'Get Network Clients' and 'Get Network Traffic'</title>
      <link>https://community.cisco.com/t5/network-platform-api/questions-about-dashboard-api-get-network-clients-and-get/m-p/5426172#M4356</link>
      <description>&lt;P&gt;1-1) Do you know why the smallest timespan of 'Get Network Clients' is 300 sec, and of 'Get Network Traffic' is 7200 sec?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;* &lt;/STRONG&gt;Get Network Clients:&lt;STRONG&gt; GET /networks/{networkId}/clients&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;* Get Network Traffic:&lt;STRONG&gt; GET&lt;/STRONG&gt; &lt;STRONG&gt;/networks/{networkId}/traffic&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1-2) And when I make codes to get data of total usage of clients and traffic, I get different usage updated per 1 minutes in 'Get Network Clients' using timespan=300 but I get same usage updated per 5~10 minutes in 'Get Network Traffic' using timespan=7200.&lt;/P&gt;&lt;P&gt;Why is the usage of 'Get Network Traffic' not updated as fast as possible?&lt;/P&gt;&lt;P&gt;2) In 'Get Network Clients', the number of clients suddenly decreases although employees work they always do.&lt;/P&gt;&lt;P&gt;Please see the image I attached. Anybody knows why this situation often occurs?&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="suddenly.PNG" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/262179i2017CF8A69D8DFE5/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;3) In Alert menu, Does the configuration of threshold mean total usage of all clients in the network? I'm not sure.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alert threshold.PNG" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/262176i2D099FA780A43C7C/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 01:23:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/questions-about-dashboard-api-get-network-clients-and-get/m-p/5426172#M4356</guid>
      <dc:creator>NamgyuKim</dc:creator>
      <dc:date>2019-12-10T01:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about Dashboard API, 'Get Network Clients' and 'Get Network Traffic'</title>
      <link>https://community.cisco.com/t5/network-platform-api/questions-about-dashboard-api-get-network-clients-and-get/m-p/5426173#M4357</link>
      <description>&lt;P&gt;The data is aggregated, not real time.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 02:52:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/questions-about-dashboard-api-get-network-clients-and-get/m-p/5426173#M4357</guid>
      <dc:creator>Philip D'Ath</dc:creator>
      <dc:date>2019-12-10T02:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about Dashboard API, 'Get Network Clients' and 'Get Network Traffic'</title>
      <link>https://community.cisco.com/t5/network-platform-api/questions-about-dashboard-api-get-network-clients-and-get/m-p/5426174#M4358</link>
      <description>&lt;P&gt;Thank you &lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/340"&gt;@Philip D'Ath&lt;/A&gt; for answering to my question.&lt;/P&gt;&lt;P&gt;You mean that the data is gathered for some periods and shown by API as not real time?&lt;/P&gt;&lt;P&gt;I also saw a client disconnected at 5pm but it was officially cut off in Meraki dashboard around 7pm.&lt;/P&gt;&lt;P&gt;Is this situation related to your answer?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 00:08:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/questions-about-dashboard-api-get-network-clients-and-get/m-p/5426174#M4358</guid>
      <dc:creator>NamgyuKim</dc:creator>
      <dc:date>2019-12-11T00:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about Dashboard API, 'Get Network Clients' and 'Get Network Traffic'</title>
      <link>https://community.cisco.com/t5/network-platform-api/questions-about-dashboard-api-get-network-clients-and-get/m-p/5426175#M4359</link>
      <description>&lt;P&gt;&amp;gt;&lt;SPAN&gt;You mean that the data is gathered for some periods and shown by API as not real time?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Correct.  Is aggregated data for the period of time selected.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 00:10:07 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/questions-about-dashboard-api-get-network-clients-and-get/m-p/5426175#M4359</guid>
      <dc:creator>Philip D'Ath</dc:creator>
      <dc:date>2019-12-11T00:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about Dashboard API, 'Get Network Clients' and 'Get Network Traffic'</title>
      <link>https://community.cisco.com/t5/network-platform-api/questions-about-dashboard-api-get-network-clients-and-get/m-p/5426176#M4360</link>
      <description>&lt;P&gt;For example, when I send API &lt;STRONG&gt;GET /networks/{networkId}/clients &lt;/STRONG&gt;as setting timespan=300 at 9:00, is the data I get gathered from 8:55 to 9:00?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 00:19:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/questions-about-dashboard-api-get-network-clients-and-get/m-p/5426176#M4360</guid>
      <dc:creator>NamgyuKim</dc:creator>
      <dc:date>2019-12-11T00:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about Dashboard API, 'Get Network Clients' and 'Get Network Traffic'</title>
      <link>https://community.cisco.com/t5/network-platform-api/questions-about-dashboard-api-get-network-clients-and-get/m-p/5426177#M4361</link>
      <description>&lt;P&gt;Hello Namgyu.&lt;/P&gt;&lt;P&gt;I have the same problem you described in your post.&lt;/P&gt;&lt;P&gt;I am collecting the number of clients associated per Meraki Access Point or Network using the following URL:&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="lia-indent-padding-left-30px" style="padding-left : 30px;"&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;&lt;A href="https://api.meraki.com/api/v0/networks/MY_NETWORK/clients?perPage=1000&amp;amp;timespan=3600" target="_blank" rel="nofollow noopener noreferrer"&gt;https://api.meraki.com/api/v0/networks/MY_NETWORK/clients?perPage=1000&amp;amp;timespan=3600&lt;/A&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;In order to avoid the API Rate Limit I am collecting the result every hour using PRTG.&lt;/P&gt;&lt;P&gt;The timespan used inside the URL is also 3600 seconds (1 hour).&lt;/P&gt;&lt;P&gt;The problem is that the data is coming in a very inconsistent way. &lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="klausengelmann_0-1619205527980.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/262180iA92E864D70B93304/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please, could you help me to understand how can I use the Meraki API timespan correctly ?&lt;/P&gt;&lt;P&gt;What is the recommended time interval to collect the connected clients ?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 19:20:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/questions-about-dashboard-api-get-network-clients-and-get/m-p/5426177#M4361</guid>
      <dc:creator>klaustecnico</dc:creator>
      <dc:date>2021-04-23T19:20:24Z</dc:date>
    </item>
  </channel>
</rss>

