<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>geololocation Archives | Clever Cloud</title>
	<atom:link href="https://www.clever.cloud/blog/tag/geololocation/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.clever.cloud/blog/tag/geololocation/</link>
	<description>From Code to Product</description>
	<lastBuildDate>Thu, 19 Dec 2019 17:32:00 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://cdn.clever-cloud.com/uploads/2023/03/cropped-cropped-favicon-32x32.png</url>
	<title>geololocation Archives | Clever Cloud</title>
	<link>https://www.clever.cloud/blog/tag/geololocation/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Introducing Traffic Overview in Real-Time</title>
		<link>https://www.clever.cloud/blog/engineering/2019/12/19/access-logs-and-requests-geolocation/</link>
		
		<dc:creator><![CDATA[Clément Nivolle]]></dc:creator>
		<pubDate>Thu, 19 Dec 2019 17:32:00 +0000</pubDate>
				<category><![CDATA[Engineering]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[geololocation]]></category>
		<category><![CDATA[logs]]></category>
		<guid isPermaLink="false">https://www2.cleverapps.io/wp/blog/technology/2019/12/19/access-logs-and-requests-geolocation/</guid>

					<description><![CDATA[<p><img width="1400" height="540" src="https://cdn.clever-cloud.com/uploads/2021/08/newtiles-1.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="newtiles 1" decoding="async" fetchpriority="high" srcset="https://cdn.clever-cloud.com/uploads/2021/08/newtiles-1.png 1400w, https://cdn.clever-cloud.com/uploads/2021/08/newtiles-1-300x116.png 300w, https://cdn.clever-cloud.com/uploads/2021/08/newtiles-1-1024x395.png 1024w, https://cdn.clever-cloud.com/uploads/2021/08/newtiles-1-768x296.png 768w, https://cdn.clever-cloud.com/uploads/2021/08/newtiles-1-1368x528.png 1368w" sizes="(max-width: 1400px) 100vw, 1400px" /></p><p>Time for some exciting new features! We&#39;ve been working for a while now on giving more insights to your application&#39;s activity. Is your application used? Where? Which IPs are accessing it? Even the response time is here! In this post, I am presenting to you what&#39;s new and how to use it at best.</p>
<span id="more-2823"></span>

<h2 id="console-new-tiles-and-improvements">Console: new tiles and improvements</h2>
<p>We&#39;ve been building new tiles for both organizations and overview pages. These new tiles rely on web components which are open-source. You can embed each of these components easily in your product to show to your customers. You can find each of our components here: <a href="https://www.clever.cloud/developers/clever-components/">https://www.clever.cloud/developers/clever-components/</a>.</p>
<figure>
  <img style=" width: 70%;margin:0 auto;display: block;max-width:100%" alt="Rails no controller error page" src="https://cdn.clever-cloud.com/uploads/2021/08/new-inputs.png">
  <figcaption>Here's an example of our new inputs, with copy-to-clipboard button.</figcaption>
</figure>

<p>Please note that these are in beta, so bear with us as we fix possible hiccups over time!</p>
<p>We are also developing a new type of ACLs, built on top of our next-gen auth product, allowing you to make integrations easier. Stay tuned!</p>
<figure>
  <img style=" width: 100%;margin:0 auto;display: block;max-width:100%" alt="Rails no controller error page" src="https://cdn.clever-cloud.com/uploads/2021/08/new-tiles.png">
  <figcaption>The new "overview".</figcaption>
</figure>

<h3 id="geolocation-of-requests">Geolocation of requests</h3>
<p>This one may be the most obvious change: there is a near-real-time map that shows dots for requests and their location around the world. In the organization&#39;s overview, you can see requests of all your apps combined.</p>
<video width="70%" autoplay loop style="margin:0 auto;display: block;">
  <source src="//assets.clever-cloud.com/website/blog/new-map-live.mp4" type="video/mp4" />
  <source src="//assets.clever-cloud.com/website/blog/new-map-live.ogv" type="video/ogv" />
</video>

<p>There is also a heatmap that shows the density of the traffic location over 24 hours. Real-time is nice, but having a track of what&#39;s happened can be pretty handy.</p>
<figure>
  <img style=" width: 70%;margin:0 auto;display: block;max-width:100%" alt="Rails no controller error page" src="https://cdn.clever-cloud.com/uploads/2021/08/new-heatmap.png">
  <figcaption>The heatmap view</figcaption>
</figure>

<h3 id="http-response-codes">HTTP Response codes</h3>
<p>Here we show you the distribution of HTTP status codes in the responses of your apps. It is displayed over 24h. If you click on a status code in the legend, it will hide it from the chart. Pro tip: If your shift+click on a HTTP code in the legend, it will unselect all the other codes.</p>
<figure>
  <img style=" width: 30%;margin:0 auto;display: block;max-width:100%" alt="Rails no controller error page" src="https://cdn.clever-cloud.com/uploads/2021/08/http-response-code.png">
</figure>

<h3 id="http-requests">HTTP Requests</h3>
<p>This graph represents the variation of HTTP requests on your app over 24h, with a time window of a 2, 3 or 4 hours for each graph, (depending on your windows size, responsive ftw).</p>
<figure>
  <img style=" width: 30%;margin:0 auto;display: block;max-width:100%" alt="Rails no controller error page" src="https://cdn.clever-cloud.com/uploads/2021/08/http-requests.png">
</figure>

<h2 id="access-logs--tools">Access logs &amp; tools</h2>
<h3 id="what-is-an-access-log">What is an access log?</h3>
<p>An access log records all requests that people or bots have requested from an application. When you are using Clever Cloud, your application&#39;s requests transit via our load-balancers. They receive the incoming network traffic and route it to each application. For legal reasons, we have to keep track of each request for at least a year.</p>
<h3 id="retrieving-access-logs-before">Retrieving access logs, before</h3>
<p>When a customer needed the access logs, the original process was to dive into a vast logfile and find it ourselves. But now, each Clever Cloud user can retrieve its access logs, and much more.</p>
<h2 id="retrieving-access-logs-today">Retrieving access logs, today</h2>
<p>We introduced Metrics a few years ago, a tool built into the web console to give monitoring data to our users. <em>Metrics</em> relies on Warp10, a time-series database built for this kind of usage. The access logs are now stored into Warp10, as it&#39;s a part of Metrics.</p>
<p>On the Metrics page, you&#39;ll find your metrics token and URL, allowing you to request the warp10 database with Quantum (it&#39;s a (WarpScript™ IDE).</p>
<p>You can open Quantum within Metrics, and click on &quot;access logs&quot; located in the &quot;Explore your data&quot; section. Here&#39;s an example:</p>
<pre><code class="language-text">[
  &#39;&lt;TOKEN&gt;&#39;
  &#39;accessLogs&#39;
  { &#39;app_id&#39; &#39;&lt;APP_ID&gt;&#39; }
  NOW 5 s
] FETCH
</code></pre>
<p>As access logs are still quite complex to retrieve that way, we are still working on a better way to make it accessible to you. Stay tuned for the next iterations!</p>
]]></description>
										<content:encoded><![CDATA[<p><img width="1400" height="540" src="https://cdn.clever-cloud.com/uploads/2021/08/newtiles-1.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="newtiles 1" decoding="async" srcset="https://cdn.clever-cloud.com/uploads/2021/08/newtiles-1.png 1400w, https://cdn.clever-cloud.com/uploads/2021/08/newtiles-1-300x116.png 300w, https://cdn.clever-cloud.com/uploads/2021/08/newtiles-1-1024x395.png 1024w, https://cdn.clever-cloud.com/uploads/2021/08/newtiles-1-768x296.png 768w, https://cdn.clever-cloud.com/uploads/2021/08/newtiles-1-1368x528.png 1368w" sizes="(max-width: 1400px) 100vw, 1400px" /></p><p>Time for some exciting new features! We&#39;ve been working for a while now on giving more insights to your application&#39;s activity. Is your application used? Where? Which IPs are accessing it? Even the response time is here! In this post, I am presenting to you what&#39;s new and how to use it at best.</p>
<span id="more-2823"></span>

<h2 id="console-new-tiles-and-improvements">Console: new tiles and improvements</h2>
<p>We&#39;ve been building new tiles for both organizations and overview pages. These new tiles rely on web components which are open-source. You can embed each of these components easily in your product to show to your customers. You can find each of our components here: <a href="https://www.clever.cloud/developers/clever-components/">https://www.clever.cloud/developers/clever-components/</a>.</p>
<figure>
  <img style=" width: 70%;margin:0 auto;display: block;max-width:100%" alt="Rails no controller error page" src="https://cdn.clever-cloud.com/uploads/2021/08/new-inputs.png">
  <figcaption>Here's an example of our new inputs, with copy-to-clipboard button.</figcaption>
</figure>

<p>Please note that these are in beta, so bear with us as we fix possible hiccups over time!</p>
<p>We are also developing a new type of ACLs, built on top of our next-gen auth product, allowing you to make integrations easier. Stay tuned!</p>
<figure>
  <img style=" width: 100%;margin:0 auto;display: block;max-width:100%" alt="Rails no controller error page" src="https://cdn.clever-cloud.com/uploads/2021/08/new-tiles.png">
  <figcaption>The new "overview".</figcaption>
</figure>

<h3 id="geolocation-of-requests">Geolocation of requests</h3>
<p>This one may be the most obvious change: there is a near-real-time map that shows dots for requests and their location around the world. In the organization&#39;s overview, you can see requests of all your apps combined.</p>
<video width="70%" autoplay loop style="margin:0 auto;display: block;">
  <source src="//assets.clever-cloud.com/website/blog/new-map-live.mp4" type="video/mp4" />
  <source src="//assets.clever-cloud.com/website/blog/new-map-live.ogv" type="video/ogv" />
</video>

<p>There is also a heatmap that shows the density of the traffic location over 24 hours. Real-time is nice, but having a track of what&#39;s happened can be pretty handy.</p>
<figure>
  <img style=" width: 70%;margin:0 auto;display: block;max-width:100%" alt="Rails no controller error page" src="https://cdn.clever-cloud.com/uploads/2021/08/new-heatmap.png">
  <figcaption>The heatmap view</figcaption>
</figure>

<h3 id="http-response-codes">HTTP Response codes</h3>
<p>Here we show you the distribution of HTTP status codes in the responses of your apps. It is displayed over 24h. If you click on a status code in the legend, it will hide it from the chart. Pro tip: If your shift+click on a HTTP code in the legend, it will unselect all the other codes.</p>
<figure>
  <img style=" width: 30%;margin:0 auto;display: block;max-width:100%" alt="Rails no controller error page" src="https://cdn.clever-cloud.com/uploads/2021/08/http-response-code.png">
</figure>

<h3 id="http-requests">HTTP Requests</h3>
<p>This graph represents the variation of HTTP requests on your app over 24h, with a time window of a 2, 3 or 4 hours for each graph, (depending on your windows size, responsive ftw).</p>
<figure>
  <img style=" width: 30%;margin:0 auto;display: block;max-width:100%" alt="Rails no controller error page" src="https://cdn.clever-cloud.com/uploads/2021/08/http-requests.png">
</figure>

<h2 id="access-logs--tools">Access logs &amp; tools</h2>
<h3 id="what-is-an-access-log">What is an access log?</h3>
<p>An access log records all requests that people or bots have requested from an application. When you are using Clever Cloud, your application&#39;s requests transit via our load-balancers. They receive the incoming network traffic and route it to each application. For legal reasons, we have to keep track of each request for at least a year.</p>
<h3 id="retrieving-access-logs-before">Retrieving access logs, before</h3>
<p>When a customer needed the access logs, the original process was to dive into a vast logfile and find it ourselves. But now, each Clever Cloud user can retrieve its access logs, and much more.</p>
<h2 id="retrieving-access-logs-today">Retrieving access logs, today</h2>
<p>We introduced Metrics a few years ago, a tool built into the web console to give monitoring data to our users. <em>Metrics</em> relies on Warp10, a time-series database built for this kind of usage. The access logs are now stored into Warp10, as it&#39;s a part of Metrics.</p>
<p>On the Metrics page, you&#39;ll find your metrics token and URL, allowing you to request the warp10 database with Quantum (it&#39;s a (WarpScript™ IDE).</p>
<p>You can open Quantum within Metrics, and click on &quot;access logs&quot; located in the &quot;Explore your data&quot; section. Here&#39;s an example:</p>
<pre><code class="language-text">[
  &#39;&lt;TOKEN&gt;&#39;
  &#39;accessLogs&#39;
  { &#39;app_id&#39; &#39;&lt;APP_ID&gt;&#39; }
  NOW 5 s
] FETCH
</code></pre>
<p>As access logs are still quite complex to retrieve that way, we are still working on a better way to make it accessible to you. Stay tuned for the next iterations!</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
