<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Sematext Blog</title>
	
	<link>https://sematext.com</link>
	<description>Sematext - Solr / Elasticsearch Experts - Search &amp; Big Data Analytics</description>
	<lastBuildDate>Sun, 21 May 2017 17:37:42 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.7.5</generator>
<site xmlns="com-wordpress:feed-additions:1">107910772</site>	<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/SematextBlog" /><feedburner:info uri="sematextblog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Docker Log Management &amp; Enrichment</title>
		<link>http://feedproxy.google.com/~r/SematextBlog/~3/LBYW1zbNQ1E/</link>
		<comments>https://sematext.com/blog/2017/05/15/docker-log-management-enrichment/#respond</comments>
		<pubDate>Mon, 15 May 2017 10:23:30 +0000</pubDate>
		<dc:creator><![CDATA[Stefan Thies]]></dc:creator>
				<category><![CDATA[Logging]]></category>
		<category><![CDATA[Sematext Cloud]]></category>
		<category><![CDATA[docker]]></category>

		<guid isPermaLink="false">https://sematext.com/?p=37991</guid>
		<description><![CDATA[Over the last several months we’ve made all kinds of improvements to Sematext Docker Agent (SDA).  If you’re not familiar with SDA yet, here it is in a nutshell Sematext Docker Agent is a modern, open-source, Docker-native monitoring and log [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><span style="font-weight: 400;">Over the last several months we’ve made all kinds of improvements to </span><a href="https://github.com/sematext/sematext-agent-docker"><span style="font-weight: 400;">Sematext Docker Agent </span></a><span style="font-weight: 400;">(SDA).  If you’re not familiar with SDA yet, here it is in a nutshell</span></p>
<p><i><span style="font-weight: 400;">Sematext Docker Agent is a modern, open-source, Docker-native monitoring and log collection agent. It runs as a tiny container on each Docker host and provides automatic collection and processing of Docker Metrics, Events and Logs for all cluster nodes and all auto-discovered containers. It works with Kubernetes, Mesos, Docker Swarm, Docker Datacenter, Docker Cloud, as well as Amazon EC2, RancherOS, and CoreOS.</span></i></p>
<p><span style="font-weight: 400;">By default SDA collects all logs from all containers, but we’ve recently added LOGSENE_ENABLED_DEFAULT, a new flat that lets you </span><b>control if log collection should be enabled by default or not</b><span style="font-weight: 400;">. When set to false,  SDA will collect logs only from containers labelled with a LOGSENE_TOKEN=&lt;Logsene app token&gt; that, in addition to enabling log collection, also specifies where logs should be shipped. This is really useful because it:</span></p>
<ul>
<li style="font-weight: 400;"><b>Gives each team in an organization full control over log collection for </b><b><i>their</i></b><b> containers and the routing to </b><b><i>their</i></b><b> Logsene Apps or Elasticsearch indices</b><span style="font-weight: 400;">. As you can imagine, this is very handy for larger organisations where e.g. one Swarm or Kubernetes cluster is shared by several teams, and each team needs to enable/disable log collection however they see fit and ship logs to different destinations.</span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">Lets one </span><b>exclude collection of logs from infrastructure containers</b><span style="font-weight: 400;"> whose logs may not contain enough value to be worth collecting. </span></li>
</ul>
<p><span style="font-weight: 400;">The figure below illustrates this.  There are 3 containers running Nginx, Rancher agent, and MySQL.  We want to have explicit control over which containers logs are collected and where they are shipped.  We want to collect only Nginx logs, and we want to ship it to a specific Logsene app, not the default one set in SDA. We can accomplish that by doing the following</span></p>
<ul>
<li style="font-weight: 400;"><span style="font-weight: 400;">Set LOGSENE_ENABLED_DEFAULT=false flag in SDA config</span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">Set Docker label LOGSENE_ENABLED=true for the Nginx container to enable its log collection</span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">Set Docker label LOGSENE_TOKEN=&#8230;. for the Nginx container to specify which Logsene app we want to ship logs</span></li>
</ul>
<p><img class="alignnone size-full wp-image-38011" src="https://sematext.com/wp-content/uploads/2017/05/LOGSENE_ENABLED_DEFAULT_FALSE.png" alt="" width="960" height="540" srcset="https://sematext.com/wp-content/uploads/2017/05/LOGSENE_ENABLED_DEFAULT_FALSE.png 960w, https://sematext.com/wp-content/uploads/2017/05/LOGSENE_ENABLED_DEFAULT_FALSE-300x169.png 300w, https://sematext.com/wp-content/uploads/2017/05/LOGSENE_ENABLED_DEFAULT_FALSE-768x432.png 768w" sizes="(max-width: 960px) 100vw, 960px" /></p>
<p style="text-align: center;"><i><span style="font-weight: 400;">Sematext Docker Agent log routing via container labels &#8211; disable log collection by default and enable it only for the Nginx container</span></i></p>
<p>&nbsp;</p>
<p><span style="font-weight: 400;">We can also inverse the setup and enable log collection for all containers by default, as illustrated in the following figure.</span></p>
<p><img class="alignnone size-full wp-image-38012" src="https://sematext.com/wp-content/uploads/2017/05/LOGSENE_ENABLED_DEFAULT_TRUE.png" alt="" width="960" height="540" srcset="https://sematext.com/wp-content/uploads/2017/05/LOGSENE_ENABLED_DEFAULT_TRUE.png 960w, https://sematext.com/wp-content/uploads/2017/05/LOGSENE_ENABLED_DEFAULT_TRUE-300x169.png 300w, https://sematext.com/wp-content/uploads/2017/05/LOGSENE_ENABLED_DEFAULT_TRUE-768x432.png 768w" sizes="(max-width: 960px) 100vw, 960px" /></p>
<p style="text-align: center;"><i><span style="font-weight: 400;">Sematext Docker Agent log routing via container labels (default settings) &#8211; collect and ship all logs, either to default Logsene app or to container specific apps. </span></i></p>
<p><span style="font-weight: 400;">We’ve also introduced TAGGING_LABELS.  This flag lets you </span><b>enrich your container logs with data extracted from your existing Docker environment variables or labels</b><span style="font-weight: 400;">.  Just specify patterns for values to extract, e.g. TAGGING_LABELS=&#8221;com.docker.<em>,com.myorg.</em>,role*”. This will add extracted values to your log events as additional fields (you can also think of this as meta-data) and let you easily slice and dice your logs by using values from labels or environment variables.  You can, of course, also build custom reports using this data, thus extracting more value and operational insight from your existing data in </span><a href="http://sematext.com" target="_blank" rel="noopener noreferrer"><span style="font-weight: 400;">Sematext Cloud</span></a><span style="font-weight: 400;">.</span></p>
<p style="text-align: center;"><a href="https://sematext.com/wp-content/uploads/2017/05/LOGS_WITH_DOCKER_LABELS.png" data-rel="lightbox-0" title=""><img class="aligncenter wp-image-38015 size-full" src="https://sematext.com/wp-content/uploads/2017/05/LOGS_WITH_DOCKER_LABELS.png" alt="" width="2419" height="1242" srcset="https://sematext.com/wp-content/uploads/2017/05/LOGS_WITH_DOCKER_LABELS.png 2419w, https://sematext.com/wp-content/uploads/2017/05/LOGS_WITH_DOCKER_LABELS-300x154.png 300w, https://sematext.com/wp-content/uploads/2017/05/LOGS_WITH_DOCKER_LABELS-768x394.png 768w, https://sematext.com/wp-content/uploads/2017/05/LOGS_WITH_DOCKER_LABELS-1024x526.png 1024w" sizes="(max-width: 2419px) 100vw, 2419px" /></a><em>Enriched logs with Docker labels</em></p>
<p><span style="font-weight: 400;"><strong>Need a tool that collects your containers Metrics + Events + Logs?</strong>  <strong>Try Sematext Docker Agent</strong>, it’s all open-source and can send your data to </span><a href="http://sematext.com"><span style="font-weight: 400;">Sematext Cloud</span></a><span style="font-weight: 400;"> so you don’t have to manage or build out the backend for storing all the monitoring data, alerting, etc.  For feature requests, bugs, or PRs, see </span><a href="https://github.com/sematext/sematext-agent-docker" target="_blank" rel="noopener noreferrer"><span style="font-weight: 400;">sematext/sematext-agent-docker</span></a><span style="font-weight: 400;">.</span></p>
<p>&nbsp;</p>
<img src="http://feeds.feedburner.com/~r/SematextBlog/~4/LBYW1zbNQ1E" height="1" width="1" alt=""/>]]></content:encoded>
			<wfw:commentRss>https://sematext.com/blog/2017/05/15/docker-log-management-enrichment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<post-id xmlns="com-wordpress:feed-additions:1">37991</post-id>	<feedburner:origLink>https://sematext.com/blog/2017/05/15/docker-log-management-enrichment/</feedburner:origLink></item>
		<item>
		<title>Solr V2 API – Quick Look</title>
		<link>http://feedproxy.google.com/~r/SematextBlog/~3/gqn2Dkz3z20/</link>
		<comments>https://sematext.com/blog/2017/05/10/solr-v2-api/#respond</comments>
		<pubDate>Wed, 10 May 2017 09:49:10 +0000</pubDate>
		<dc:creator><![CDATA[Rafal Kuć]]></dc:creator>
				<category><![CDATA[Search]]></category>
		<category><![CDATA[solr]]></category>
		<category><![CDATA[solrcloud]]></category>

		<guid isPermaLink="false">https://sematext.com/?p=37930</guid>
		<description><![CDATA[We are all used to the Solr API that has been present in Solr from its beginnings. We send the data using HTTP protocol, we include all parameters in the URL itself, and we are bound to that. Some people [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><span style="font-weight: 400;">We are all used to the Solr API that has been present in Solr from its beginnings. We send the data using HTTP protocol, we include all parameters in the URL itself, and we are bound to that. Some people loved this, some not so much.  Staring with Solr 6.5 we now have a new, self-documenting API called </span><i><span style="font-weight: 400;">v2</span></i><span style="font-weight: 400;">. Let’s look at this new API, how to use it and how it is different from the old fashioned Solr API.</span></p>
<hr />
<div class="row sign-up-panel vertical-align">
<div class="col-md-8">
<p><b>Need a Solr monitoring solution? Try </b><a href="http://sematext.com/spm/integrations/solr-monitoring/"><b>SPM for Solr</b></a><b>!</b></p>
<p><span style="font-weight: 400;">Monitor all key Solr metrics from Request Rate &amp; Latency to Warmup time</span><span style="font-weight: 400;">, and more.  </span></p>
</div>
<div class="col-md-4 pull-right"><a class="btn btn-primary btn-lg" href="https://apps.sematext.com/users-web/register.do"><span style="font-weight: 400;">GET 30 DAYS FREE TRIAL</span></a></div>
</div>
<hr />
<h2>Introducing the New Solr API</h2>
<p><span style="font-weight: 400;">Let&#8217;s just immediately start working with the new API.  It’s probably the best way to learn about it.  Here’s the most basic request we can execute against the new Solr API:</span></p>
<pre><span style="font-weight: 400;">$ curl http://localhost:8983/v2</span></pre>
<p><span style="font-weight: 400;">First thing you’ll notice is that the new API is not available under the usual Solr context &#8211; there is no </span><span style="font-weight: 400;">/solr in the URL</span><span style="font-weight: 400;">. Instead, we talk to it using the </span><span style="font-weight: 400;">/v2 URI path</span><span style="font-weight: 400;">. This lets Solr have two separate sets of APIs in the same instance of Solr and have a space for new APIs introduced in the future. The response of the above call looks as follows:</span></p>
<pre><span style="font-weight: 400;">{"responseHeader":{"status":0,"QTime":0},"collections":["gettingstarted"]} </span></pre>
<p>As we can see, the new API returns the same old standard response header and the list of collections that are present in the cluster. The call to the old API to get this same info looks like this:</p>
<pre><span style="font-weight: 400;">$ curl 'http://localhost:8983/solr/admin/collections?action=LIST'</span></pre>
<p>This time, the response is returned in the XML, but the information is the same:</p>
<pre><span style="font-weight: 400;">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span>
<span style="font-weight: 400;">&lt;response&gt;</span>
<span style="font-weight: 400;">&lt;lst name="responseHeader"&gt;&lt;int name="status"&gt;0&lt;/int&gt;&lt;int name="QTime"&gt;0&lt;/int&gt;&lt;/lst&gt;&lt;arr name="collections"&gt;&lt;str&gt;gettingstarted&lt;/str&gt;&lt;/arr&gt;</span>
<span style="font-weight: 400;">&lt;/response&gt;</span></pre>
<p>Of course, in both cases we can pretty-print the results by adding indent=true to the request, like this:</p>
<pre><span style="font-weight: 400;">$ curl 'http://localhost:8983/v2?indent=true'</span>
<span style="font-weight: 400;">{</span>
<span style="font-weight: 400;">  "responseHeader":{</span>
<span style="font-weight: 400;">    "status":0,</span>
<span style="font-weight: 400;">    "QTime":0},</span>
<span style="font-weight: 400;">  "collections":["gettingstarted"]}</span></pre>
<p>We can also change the response type when using the old API, so that the returned response is very similar:</p>
<pre><span style="font-weight: 400;">$ curl 'http://localhost:8983/solr/admin/collections?action=LIST&amp;wt=json&amp;indent=true'</span>
 <span style="font-weight: 400;">{</span>
 <span style="font-weight: 400;">  "responseHeader":{</span>
 <span style="font-weight: 400;">    "status":0,</span>
 <span style="font-weight: 400;">    "QTime":0},</span>
 <span style="font-weight: 400;">  "collections":["gettingstarted"]}
 </span></pre>
<p><strong>So, why is that different?</strong></p>
<p><span style="font-weight: 400;">First things first &#8211; the new API is self-documenting. That means that we can get the list of information and options we have when using the new API. By adding the </span><span style="font-weight: 400;">_introspect</span><span style="font-weight: 400;"> endpoint to any API v2 calls we can get the list of possible operations using that endpoint. For example:</span></p>
<pre><span style="font-weight: 400;">$ curl 'http://localhost:8983/v2/collections/_introspect?indent=true'</span></pre>
<p>Or even better, we can use c instead of collections to shorten the call to look as follows:</p>
<pre><span style="font-weight: 400;">$ curl 'http://localhost:8983/v2/c/_introspect?indent=true'</span></pre>
<p>The response returned by Solr is rather large, so we&#8217;ll just show a portion of that, but you can see that the API contains not only the response with the data we are looking for, but also some additional descriptions which make the API self-documenting:</p>
<pre><span style="font-weight: 400;">{</span>
<span style="font-weight: 400;">  "responseHeader":{</span>
<span style="font-weight: 400;">    "status":0,</span>
<span style="font-weight: 400;">    "QTime":2},</span>
<span style="font-weight: 400;">  "spec":[{</span>
<span style="font-weight: 400;">      "documentation":"https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api6",</span>
<span style="font-weight: 400;">      "description":"Deletes a collection.",</span>
<span style="font-weight: 400;">      "methods":["DELETE"],</span>
<span style="font-weight: 400;">      "url":{"paths":["/collections/{collection}",</span>
<span style="font-weight: 400;">          "/c/{collection}"]}},</span>
<span style="font-weight: 400;">    {</span>
<span style="font-weight: 400;">      "documentation":"https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api1",</span>
<span style="font-weight: 400;">      "description":"Create collections and collection aliases, backup or restore collections, and delete collections and aliases.",</span>
<span style="font-weight: 400;">      "methods":["POST"],</span>
<span style="font-weight: 400;">      "url":{"paths":["/collections",</span>
<span style="font-weight: 400;">          "/c"]},</span>
<span style="font-weight: 400;">.</span>
<span style="font-weight: 400;">.</span>
<span style="font-weight: 400;">.</span></pre>
<p><span style="font-weight: 400;">As you can already tell, the new v2 API is more modern and most of the parameters are sent in the request body, instead of the URI. Once the new v2 API covers all the functionality of the old API, SolrJ and Solr admin will start using the new API and after that it is expected that the old API will be deprecated and then removed. Because of that it might be a good to start getting used to the new API right away, so you have easier learning curve and faster adoption when you finally decide to move to the new way of talking to Solr.</span></p>
<h2><span style="font-weight: 400;">V2 Solr API Capabilities</span></h2>
<p><span style="font-weight: 400;">The response returned by the commands that we&#8217;ve seen above is large, so I encourage you to check the response yourself. What I would like to do is provide you with a brief description on what can be done using the v2 API:</span></p>
<ul>
<li style="font-weight: 400;"><span style="font-weight: 400;">Creating, deleting and managing collections</span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">Creating aliases, backing up and restoring collections</span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">Sending data </span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">Updating collection configuration</span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">Managing schema and managed resources</span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">Using request handlers &#8211; for example running search requests</span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">Adding and removing replicas</span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">Managing cores</span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">Performing overseer operations </span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">Managing node roles </span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">Setting cluster properties</span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">Uploading and downloading blobs and metadata</span></li>
</ul>
<p><span style="font-weight: 400;">As you can see we can already do lots of things with the new API and because the API is self-documenting we can quickly, without searching for the documentation, see how to work with it. For example, if we wanted to see what we can do with shards, we could run a command like this (we’ll use one of the out of the box collections that come with Solr called </span><i><span style="font-weight: 400;">gettingstarted</span></i><span style="font-weight: 400;">):</span></p>
<pre><span style="font-weight: 400;">$ curl 'localhost:8983/v2/c/gettingstarted/shards/_introspect?indent=true'</span></pre>
<p>The response shows us what we can do with “/shards” API:</p>
<pre><span style="font-weight: 400;">{</span>
<span style="font-weight: 400;">  "spec":[{</span>
<span style="font-weight: 400;">      "documentation":"https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api7",</span>
<span style="font-weight: 400;">      "description":"Deletes a shard by unloading all replicas of the shard, removing it from clusterstate.json, and by default deleting the instanceDir and dataDir. Only inactive shards or those which have no range for custom sharding will be deleted.",</span>
<span style="font-weight: 400;">      "methods":["DELETE"],</span>
<span style="font-weight: 400;">      "url":{</span>
<span style="font-weight: 400;">        "paths":["/collections/{collection}/shards/{shard}",</span>
<span style="font-weight: 400;">          "/c/{collection}/shards/{shard}"],</span>
<span style="font-weight: 400;">        "params":{</span>
<span style="font-weight: 400;">          "deleteInstanceDir":{</span>
<span style="font-weight: 400;">            "type":"boolean",</span>
<span style="font-weight: 400;">            "description":"By default Solr will delete the entire instanceDir of each replica that is deleted. Set this to false to prevent the instance directory from being deleted."},</span>
<span style="font-weight: 400;">          "deleteDataDir":{</span>
<span style="font-weight: 400;">            "type":"boolean",</span>
<span style="font-weight: 400;">            "description":"y default Solr will delete the dataDir of each replica that is deleted. Set this to false to prevent the data directory from being deleted."},</span>
<span style="font-weight: 400;">          "async":{</span>
<span style="font-weight: 400;">            "type":"string",</span>
<span style="font-weight: 400;">            "description":"Defines a request ID that can be used to track this action after it's submitted. The action will be processed asynchronously when this is defined. This command can be long-running, so running it asynchronously is recommended."}}}},</span>
<span style="font-weight: 400;">    {</span>
<span style="font-weight: 400;">      "documentation":"https://cwiki.apache.org/confluence/display/solr/Collections+API",</span>
<span style="font-weight: 400;">      "description":"Allows you to create a shard, split an existing shard or add a new replica.",</span>
<span style="font-weight: 400;">      "methods":["POST"],</span>
<span style="font-weight: 400;">      "url":{"paths":["/collections/{collection}/shards",</span>
<span style="font-weight: 400;">          "/c/{collection}/shards"]},</span>
<span style="font-weight: 400;">      "commands":{</span>
<span style="font-weight: 400;">        "split":{</span>
<span style="font-weight: 400;">          "type":"object",</span>
<span style="font-weight: 400;">          "documentation":"https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api3",</span>
<span style="font-weight: 400;">          "description":"Splits an existing shard into two or more new shards. During this action, the existing shard will continue to contain the original data, but new data will be routed to the new shards once the split is complete. New shards will have as many replicas as the existing shards. A soft commit will be done automatically. An explicit commit request is not required because the index is automatically saved to disk during the split operation. New shards will use the original shard name as the basis for their names, adding an underscore and a number to differentiate the new shard. For example, 'shard1' would become 'shard1_0' and 'shard1_1'. Note that this operation can take a long time to complete.",</span>
<span style="font-weight: 400;">          "properties":{</span>
<span style="font-weight: 400;">            "shard":{</span>
<span style="font-weight: 400;">              "type":"string",</span>
<span style="font-weight: 400;">              "description":"The name of the shard to be split."},</span>
<span style="font-weight: 400;">            "ranges":{</span>
<span style="font-weight: 400;">              "description":"A comma-separated list of hexadecimal hash ranges that will be used to split the shard into new shards containing each defined range, e.g. ranges=0-1f4,1f5-3e8,3e9-5dc. This is the only option that allows splitting a single shard into more than 2 additional shards. If neither this parameter nor splitKey are defined, the shard will be split into two equal new shards.",</span>
<span style="font-weight: 400;">              "type":"string"},</span>
<span style="font-weight: 400;">            "splitKey":{</span>
<span style="font-weight: 400;">              "description":"A route key to use for splitting the index. If this is defined, the shard parameter is not required because the route key will identify the correct shard. A route key that spans more than a single shard is not supported. If neither this parameter nor ranges are defined, the shard will be split into two equal new shards.",</span>
<span style="font-weight: 400;">              "type":"string"},</span>
<span style="font-weight: 400;">            "coreProperties":{</span>
<span style="font-weight: 400;">              "type":"object",</span>
<span style="font-weight: 400;">              "documentation":"https://cwiki.apache.org/confluence/display/solr/Defining+core.properties",</span>
<span style="font-weight: 400;">              "description":"Allows adding core.properties for the collection. Some examples of core properties you may want to modify include the config set, the node name, the data directory, among others.",</span>
<span style="font-weight: 400;">              "additionalProperties":true},</span>
<span style="font-weight: 400;">            "async":{</span>
<span style="font-weight: 400;">              "type":"string",</span>
<span style="font-weight: 400;">              "description":"Defines a request ID that can be used to track this action after it's submitted. The action will be processed asynchronously when this is defined. This command can be long-running, so running it asynchronously is recommended."}}},</span>
<span style="font-weight: 400;">        "create":{</span>
<span style="font-weight: 400;">          "type":"object",</span>
<span style="font-weight: 400;">          "properties":{</span>
<span style="font-weight: 400;">            "nodeSet":{</span>
<span style="font-weight: 400;">              "description":"Defines nodes to spread the new collection across. If not provided, the collection will be spread across all live Solr nodes. The names to use are the 'node_name', which can be found by a request to the cluster/nodes endpoint.",</span>
<span style="font-weight: 400;">              "type":"array",</span>
<span style="font-weight: 400;">              "items":{"type":"string"}},</span>
<span style="font-weight: 400;">            "shard":{</span>
<span style="font-weight: 400;">              "description":"The name of the shard to be created.",</span>
<span style="font-weight: 400;">              "type":"string"},</span>
<span style="font-weight: 400;">            "coreProperties":{</span>
<span style="font-weight: 400;">              "type":"object",</span>
<span style="font-weight: 400;">              "documentation":"https://cwiki.apache.org/confluence/display/solr/Defining+core.properties",</span>
<span style="font-weight: 400;">              "description":"Allows adding core.properties for the collection. Some examples of core properties you may want to modify include the config set, the node name, the data directory, among others.",</span>
<span style="font-weight: 400;">              "additionalProperties":true},</span>
<span style="font-weight: 400;">            "async":{</span>
<span style="font-weight: 400;">              "type":"string",</span>
<span style="font-weight: 400;">              "description":"Defines a request ID that can be used to track this action after it's submitted. The action will be processed asynchronously when this is defined."}},</span>
<span style="font-weight: 400;">          "required":["shard"]},</span>
<span style="font-weight: 400;">        "add-replica":{</span>
<span style="font-weight: 400;">          "documentation":"https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api_addreplica",</span>
<span style="font-weight: 400;">          "description":"",</span>
<span style="font-weight: 400;">          "type":"object",</span>
<span style="font-weight: 400;">          "properties":{</span>
<span style="font-weight: 400;">            "shard":{</span>
<span style="font-weight: 400;">              "type":"string",</span>
<span style="font-weight: 400;">              "description":"The name of the shard in which this replica should be created. If this parameter is not specified, then '_route_' must be defined."},</span>
<span style="font-weight: 400;">            "_route_":{</span>
<span style="font-weight: 400;">              "type":"string",</span>
<span style="font-weight: 400;">              "description":"If the exact shard name is not known, users may pass the _route_ value and the system would identify the name of the shard. Ignored if the shard param is also specified. If the 'shard' parameter is also defined, this parameter will be ignored."},</span>
<span style="font-weight: 400;">            "node":{</span>
<span style="font-weight: 400;">              "type":"string",</span>
<span style="font-weight: 400;">              "description":"The name of the node where the replica should be created."},</span>
<span style="font-weight: 400;">            "instanceDir":{</span>
<span style="font-weight: 400;">              "type":"string",</span>
<span style="font-weight: 400;">              "description":"An optional custom instanceDir for this replica."},</span>
<span style="font-weight: 400;">            "dataDir":{</span>
<span style="font-weight: 400;">              "type":"string",</span>
<span style="font-weight: 400;">              "description":"An optional custom directory used to store index data for this replica."},</span>
<span style="font-weight: 400;">            "coreProperties":{</span>
<span style="font-weight: 400;">              "type":"object",</span>
<span style="font-weight: 400;">              "documentation":"https://cwiki.apache.org/confluence/display/solr/Defining+core.properties",</span>
<span style="font-weight: 400;">              "description":"Allows adding core.properties for the collection. Some examples of core properties you may want to modify include the config set and the node name, among others.",</span>
<span style="font-weight: 400;">              "additionalProperties":true},</span>
<span style="font-weight: 400;">            "async":{</span>
<span style="font-weight: 400;">              "type":"string",</span>
<span style="font-weight: 400;">              "description":"Defines a request ID that can be used to track this action after it's submitted. The action will be processed asynchronously when this is defined."}},</span>
<span style="font-weight: 400;">          "required":["shard"]}}},</span>
<span style="font-weight: 400;">    {</span>
<span style="font-weight: 400;">      "documentation":"https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api1",</span>
<span style="font-weight: 400;">      "description":"Lists all collections, with details on shards and replicas in each collection.",</span>
<span style="font-weight: 400;">      "methods":["GET"],</span>
<span style="font-weight: 400;">      "url":{"paths":["/collections/{collection}",</span>
<span style="font-weight: 400;">          "/c/{collection}",</span>
<span style="font-weight: 400;">          "/collections/{collection}/shards",</span>
<span style="font-weight: 400;">          "/c/{collection}/shards",</span>
<span style="font-weight: 400;">          "/collections/{collection}/shards/{shard}",</span>
<span style="font-weight: 400;">          "/c/{collection}/shards/{shard}",</span>
<span style="font-weight: 400;">          "/collections/{collection}/shards/{shard}/{replica}",</span>
<span style="font-weight: 400;">          "/c/{collection}/shards/{shard}/{replica}"]}}],</span>
<span style="font-weight: 400;">  "WARNING":"This response format is experimental.  It is likely to change in the future.",</span>
<span style="font-weight: 400;">  "WARNING":"This response format is experimental.  It is likely to change in the future.",</span>
<span style="font-weight: 400;">  "WARNING":"This response format is experimental.  It is likely to change in the future.",</span>
<span style="font-weight: 400;">  "availableSubPaths":{</span>
<span style="font-weight: 400;">    "/c/gettingstarted/shards/{shard}/{replica}":["DELETE",</span>
<span style="font-weight: 400;">      "GET"],</span>
<span style="font-weight: 400;">    "/c/gettingstarted/shards/{shard}":["DELETE",</span>
<span style="font-weight: 400;">      "POST",</span>
<span style="font-weight: 400;">      "GET"]}}</span></pre>
<p>As you can see, the API provides us all information about itself that we need &#8211; the HTTP verbs that we can use, the parameters that can be present, and finally their description, so that we know what each parameter is all about. We can also get information about the given command and/or the HTTP verb, for example:</p>
<pre><span style="font-weight: 400;">$ curl 'http://localhost:8983/v2/c/gettingstarted/shards/shard2/_introspect?method=DELETE&amp;indent=true'</span></pre>
<p><span style="font-weight: 400;">Judging from the response further above we could, for example, delete a replica by running the following command:</span></p>
<pre><span style="font-weight: 400;">$ curl -XDELETE 'localhost:8983/v2/c/gettingstarted/shards/shard2/core_node3'</span></pre>
<p>The response to the last command would look as follows:</p>
<pre><span style="font-weight: 400;">{"responseHeader":{"status":0,"QTime":278},"success":{"192.168.1.15:7574_solr":{"responseHeader":{"status":0,"QTime":69}}}}</span></pre>
<p><span style="font-weight: 400;">Which means that the replica for the </span><span style="font-weight: 400;">shard2</span><span style="font-weight: 400;"> has been removed, which can also be checked via the Solr admin panel:</span></p>
<p><img class="aligncenter size-full wp-image-37933" src="https://sematext.com/wp-content/uploads/2017/05/Solr-V2-1.png" alt="Solr V2 - Solr admin panel" width="975" height="132" srcset="https://sematext.com/wp-content/uploads/2017/05/Solr-V2-1.png 975w, https://sematext.com/wp-content/uploads/2017/05/Solr-V2-1-300x41.png 300w, https://sematext.com/wp-content/uploads/2017/05/Solr-V2-1-768x104.png 768w" sizes="(max-width: 975px) 100vw, 975px" /></p>
<p><span style="font-weight: 400;">We can also add replicas using the new API and this operation will be good to illustrate how to pass parameters with the request. Let&#8217;s add the replica to </span><span style="font-weight: 400;">shard2</span><span style="font-weight: 400;"> by using the following command:</span></p>
<pre><span style="font-weight: 400;">$ curl -XPOST 'localhost:8983/v2/c/gettingstarted/shards/' -H 'Content-type:application/json' -d '{</span>
<span style="font-weight: 400;"> "add-replica" : {</span>
<span style="font-weight: 400;">  "shard" : "shard2",</span>
<span style="font-weight: 400;">  "node" : "192.168.1.15:7574_solr"</span>
<span style="font-weight: 400;"> }</span>
<span style="font-weight: 400;">}'</span></pre>
<p><span style="font-weight: 400;">We added the header identifying the content type of the body and we provided the </span><span style="font-weight: 400;">add-replica </span><span style="font-weight: 400;">command along with two parameters &#8211; </span><span style="font-weight: 400;">shard</span><span style="font-weight: 400;"> and </span><span style="font-weight: 400;">node</span><span style="font-weight: 400;">. The </span><span style="font-weight: 400;">shard</span><span style="font-weight: 400;"> parameter specifies which part of the collection we are interested in and the </span><span style="font-weight: 400;">node</span><span style="font-weight: 400;"> property tells Solr, on which Solr instance the replica should be created. Please note that the node address is not only the IP address also include the port and usual </span><span style="font-weight: 400;">_solr</span><span style="font-weight: 400;"> part.</span></p>
<p>The response would look as follows:</p>
<pre><span style="font-weight: 400;">{"responseHeader":{"status":0,"QTime":1329},"success":{"192.168.1.15:7574_solr":{"responseHeader":{"status":0,"QTime":1318},"core":"gettingstarted_shard2_replica2"}}}</span></pre>
<p>And would result in a new replica being added:</p>
<p><img class="aligncenter size-full wp-image-37934" src="https://sematext.com/wp-content/uploads/2017/05/solr-V2-2.png" alt="Solr V2 " width="975" height="146" srcset="https://sematext.com/wp-content/uploads/2017/05/solr-V2-2.png 975w, https://sematext.com/wp-content/uploads/2017/05/solr-V2-2-300x45.png 300w, https://sematext.com/wp-content/uploads/2017/05/solr-V2-2-768x115.png 768w" sizes="(max-width: 975px) 100vw, 975px" /></p>
<h2><span style="font-weight: 400;">What&#8217;s Next</span></h2>
<p><span style="font-weight: 400;">The API we just introduced is still work in progress. We are still missing a few things, but the V2 API is fairly new, so we can expect lots of changes in the next few Solr versions.</span></p>
<p><span style="font-weight: 400;"><strong>Want to learn more about Solr?</strong> Subscribe to our blog or follow </span><a href="http://twitter.com/sematext"><span style="font-weight: 400;">@sematext</span></a><span style="font-weight: 400;">. If you need any help with Solr / SolrCloud – don’t forget that we provide </span><strong><a href="https://sematext.com/consulting/solr/">Solr Consulting</a>, <a href="https://sematext.com/support/solr-production-support/">Solr Production Support</a></strong><span style="font-weight: 400;"><strong>,</strong> and offer </span><strong><a href="https://sematext.com/training/solr/">Solr Training</a>!</strong></p>
<img src="http://feeds.feedburner.com/~r/SematextBlog/~4/gqn2Dkz3z20" height="1" width="1" alt=""/>]]></content:encoded>
			<wfw:commentRss>https://sematext.com/blog/2017/05/10/solr-v2-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<post-id xmlns="com-wordpress:feed-additions:1">37930</post-id>	<feedburner:origLink>https://sematext.com/blog/2017/05/10/solr-v2-api/</feedburner:origLink></item>
		<item>
		<title>Log Event Context</title>
		<link>http://feedproxy.google.com/~r/SematextBlog/~3/pCrI5-k5RZ0/</link>
		<comments>https://sematext.com/blog/2017/05/08/log-event-context/#respond</comments>
		<pubDate>Mon, 08 May 2017 11:07:30 +0000</pubDate>
		<dc:creator><![CDATA[sematext]]></dc:creator>
				<category><![CDATA[Logging]]></category>
		<category><![CDATA[Sematext Cloud]]></category>
		<category><![CDATA[log management]]></category>
		<category><![CDATA[logging]]></category>
		<category><![CDATA[logs]]></category>
		<category><![CDATA[logsene]]></category>

		<guid isPermaLink="false">https://sematext.com/?p=37830</guid>
		<description><![CDATA[Being able to see the context of a specific log message is one of those highly sought out  features in Kibana that still seems to be missing (though we can see the light at the end of that long tunnel [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><span style="font-weight: 400;">Being able to see <strong>the context of a specific log message</strong> is <strong>one of those highly sought out  features in Kibana that still seems to be missing</strong> (though we can see the light at the end of that long tunnel now!).  </span></p>
<p><span style="font-weight: 400;">We’ve had this functionality in Sematext for quite a while, actually. What does it do?  To explain that, let’s provide some…. well, context.  When you’re troubleshooting and inspecting logs what do you do?  You search and filter logs to narrow things down, to find log messages that will help you understand what, how, why, or when something happened.  The key part here is that you search, and when you search what you typically see are only logs that matched what you searched for (think grep).  However, if you were to manually look at a log file with less, or tail -F for example, you wouldn’t see only matching log lines.  You would see </span><i><span style="font-weight: 400;">all</span></i><span style="font-weight: 400;"> events, so after locating the log event of interest, you would still be able to see all log events before it and after it.  </span></p>
<hr />
<div class="row sign-up-panel vertical-align">
<div class="col-md-8">
<p>Need your <b><strong>logs searchable + see </strong></b><b>log event context?</b></p>
<p>Sematext Cloud is the first<strong> All-in-One Monitoring &amp; Logging solution.</strong></p>
</div>
<div class="col-md-4 pull-right"><a class="btn btn-primary btn-lg" href="https://apps.sematext.com/users-web/register.do"><span style="font-weight: 400;">GET 30 DAYS FREE TRIAL</span></a></div>
</div>
<hr />
<p>Log Context in <a href="http://sematext.com">Sematext Cloud</a><span style="font-weight: 400;"> is much like that.  <strong>Once you’ve found a log event of interest a single click will expose its context.</strong>  It’s like </span><span style="font-weight: 400;">grep -C </span><i><span style="font-weight: 400;">NUM</span></i><span style="font-weight: 400;">, but applicable across all your infrastructure, not just one log file at a time.</span></p>
<p><strong>Step 1</strong>: Click on the Log Context button for the log event of interest.</p>
<p><a href="https://sematext.com/wp-content/uploads/2017/05/Blur_Final-1_Log-Context.png" data-rel="lightbox-0" title=""><img class="aligncenter size-full wp-image-37873" src="https://sematext.com/wp-content/uploads/2017/05/Blur_Final-1_Log-Context.png" alt="Sematext Log Context" width="1455" height="1301" srcset="https://sematext.com/wp-content/uploads/2017/05/Blur_Final-1_Log-Context.png 1455w, https://sematext.com/wp-content/uploads/2017/05/Blur_Final-1_Log-Context-300x268.png 300w, https://sematext.com/wp-content/uploads/2017/05/Blur_Final-1_Log-Context-768x687.png 768w, https://sematext.com/wp-content/uploads/2017/05/Blur_Final-1_Log-Context-1024x916.png 1024w" sizes="(max-width: 1455px) 100vw, 1455px" /></a></p>
<p><strong>Step 2</strong>: Easily scroll down and check the log context.</p>
<p><a href="https://sematext.com/wp-content/uploads/2017/05/Blur_Final-2_Log-Context.png" data-rel="lightbox-1" title=""><img class="aligncenter size-full wp-image-37874" src="https://sematext.com/wp-content/uploads/2017/05/Blur_Final-2_Log-Context.png" alt="Sematext Log Context" width="1447" height="1293" srcset="https://sematext.com/wp-content/uploads/2017/05/Blur_Final-2_Log-Context.png 1447w, https://sematext.com/wp-content/uploads/2017/05/Blur_Final-2_Log-Context-300x268.png 300w, https://sematext.com/wp-content/uploads/2017/05/Blur_Final-2_Log-Context-768x686.png 768w, https://sematext.com/wp-content/uploads/2017/05/Blur_Final-2_Log-Context-1024x915.png 1024w" sizes="(max-width: 1447px) 100vw, 1447px" /></a></p>
<p>And that&#8217;s it! Two steps to Log context. <strong>As simple as that! </strong> Want to be able to easily filter your logs, but also see all context around individual log events?  Try <a href="http://sematext.com">Sematext Cloud</a> free for 30 days!</p>
<img src="http://feeds.feedburner.com/~r/SematextBlog/~4/pCrI5-k5RZ0" height="1" width="1" alt=""/>]]></content:encoded>
			<wfw:commentRss>https://sematext.com/blog/2017/05/08/log-event-context/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<post-id xmlns="com-wordpress:feed-additions:1">37830</post-id>	<feedburner:origLink>https://sematext.com/blog/2017/05/08/log-event-context/</feedburner:origLink></item>
		<item>
		<title>Payment Logic Changes</title>
		<link>http://feedproxy.google.com/~r/SematextBlog/~3/AJUbh4W_fZc/</link>
		<comments>https://sematext.com/blog/2017/05/05/payment-logic-changes/#respond</comments>
		<pubDate>Fri, 05 May 2017 13:03:23 +0000</pubDate>
		<dc:creator><![CDATA[sematext]]></dc:creator>
				<category><![CDATA[Sematext Cloud]]></category>
		<category><![CDATA[payments]]></category>

		<guid isPermaLink="false">https://sematext.com/?p=37851</guid>
		<description><![CDATA[Up until now, Sematext Cloud users had to first provide their credit card details under their account and then manually assign that credit card to each monitoring or logging App they wanted to use with a paid plan.  It turns [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><span style="font-weight: 400;">Up until now, </span><a href="http://sematext.com"><span style="font-weight: 400;">Sematext Cloud</span></a><span style="font-weight: 400;"> users had to first provide their credit card details under their account and then manually assign that credit card to each monitoring or logging App they wanted to use with a paid plan.  It turns out this is a bit of a pain when you have a lot of Apps, so we’ve done away with that.  </span></p>
<p><span style="font-weight: 400;">From now on, <strong>the payment method defined at the account level is automatically applied to all Apps with a paid plan.</strong> This simplifies management, especially in cases when users have many Apps (think about credit card expiring and having to assign a new card to each of the 57 Apps you have!).</span></p>
<p><span style="font-weight: 400;"><strong>By default, the latest credit card defined under your account will automatically be used for any future charges of Apps created under your account</strong>. If you have multiple credit cards defined and you wish want to Sematext to use a card other than the most recently added one simply mark it as &#8220;preferred&#8221;.</span></p>
<img src="http://feeds.feedburner.com/~r/SematextBlog/~4/AJUbh4W_fZc" height="1" width="1" alt=""/>]]></content:encoded>
			<wfw:commentRss>https://sematext.com/blog/2017/05/05/payment-logic-changes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<post-id xmlns="com-wordpress:feed-additions:1">37851</post-id>	<feedburner:origLink>https://sematext.com/blog/2017/05/05/payment-logic-changes/</feedburner:origLink></item>
		<item>
		<title>S3 Archiving &amp; Longer Retention for Logs</title>
		<link>http://feedproxy.google.com/~r/SematextBlog/~3/0-FFrhq0YWY/</link>
		<comments>https://sematext.com/blog/2017/05/05/s3-archiving-longer-retention-for-logs/#respond</comments>
		<pubDate>Fri, 05 May 2017 12:38:28 +0000</pubDate>
		<dc:creator><![CDATA[sematext]]></dc:creator>
				<category><![CDATA[Logging]]></category>
		<category><![CDATA[Sematext Cloud]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[log management]]></category>
		<category><![CDATA[logging]]></category>
		<category><![CDATA[logs]]></category>
		<category><![CDATA[s3]]></category>

		<guid isPermaLink="false">https://sematext.com/?p=37837</guid>
		<description><![CDATA[Need to have your recent logs searchable for your DevOps team(s) to troubleshoot issues, but also need to archive old logs for compliance reasons?   Many organizations need that and Sematext Cloud makes that simple.  You can certainly simply pick [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><span style="font-weight: 400;">Need to<strong> have your recent logs searchable for your DevOps team(s) to troubleshoot issues, </strong>but also need to<strong> archive old logs for compliance reasons?</strong>  </span></p>
<p><span style="font-weight: 400;">Many organizations need that and Sematext Cloud makes that simple.  You can certainly simply pick a longer data retention option along with your plan and daily log volume.  Doing that makes all your logs searchable for a long time.  If, however, you simply need to store your older logs, so that you can retrieve them later on, but do not need to search them, you can use S3 Archiving option provided by </span><a href="http://sematext.com"><span style="font-weight: 400;">Sematext Cloud</span></a><span style="font-weight: 400;">.  </span></p>
<p><span style="font-weight: 400;"><strong>All you need to provide are Access Key ID, your Secret Access Key, and the name of the S3 bucket</strong> where you want your logs to be archived.</span></p>
<p><a href="https://sematext.com/wp-content/uploads/2017/05/Payment-Logic-Changes.png" data-rel="lightbox-0" title=""><img class="aligncenter wp-image-37855 size-full" src="https://sematext.com/wp-content/uploads/2017/05/Payment-Logic-Changes.png" alt="Sematext S3 Archiving" width="2558" height="1094" srcset="https://sematext.com/wp-content/uploads/2017/05/Payment-Logic-Changes.png 2558w, https://sematext.com/wp-content/uploads/2017/05/Payment-Logic-Changes-300x128.png 300w, https://sematext.com/wp-content/uploads/2017/05/Payment-Logic-Changes-768x328.png 768w, https://sematext.com/wp-content/uploads/2017/05/Payment-Logic-Changes-1024x438.png 1024w" sizes="(max-width: 2558px) 100vw, 2558px" /></a></p>
<p><span style="font-weight: 400;"><strong>Logs are archived continuously in your bucket</strong>, organized by time: </span></p>
<pre><span style="font-weight: 400;">sematext_[app-token-start]/[year]/[month]/[day]/[hour].  </span></pre>
<p><span style="font-weight: 400;"><strong>Compression is optional, but if your log volume is high, we recommend you enable it to save on S3 costs</strong>.  Sematext will need s3:PutObject credentials on your bucket.  s3:GetObject and s3:DeleteObject are needed only temporarily, when setting up archiving to S3, and can be revoked right after that. See </span><a href="https://sematext.atlassian.net/wiki/display/PUBLOGSENE/Logsene+FAQ#LogseneFAQ-S3Archiving"><span style="font-weight: 400;">Sematext Logs S3 Archiving</span></a><span style="font-weight: 400;"> for more info.</span></p>
<hr />
<div class="row sign-up-panel vertical-align">
<div class="col-md-8">
<p><b>Want to h<strong>ave your recent logs searchable to troubleshoot issues? </strong></b><b>Check Sematext Cloud!</b></p>
<p><span style="font-weight: 400;">Get </span><span style="font-weight: 400;">actionable insights while using</span> <strong>the first All-in-One Monitoring and Logging solution.</strong></p>
</div>
<div class="col-md-4 pull-right"><a class="btn btn-primary btn-lg" href="https://apps.sematext.com/users-web/register.do"><span style="font-weight: 400;">GET 30 DAYS FREE TRIAL</span></a></div>
</div>
<hr />
<p>&nbsp;</p>
<img src="http://feeds.feedburner.com/~r/SematextBlog/~4/0-FFrhq0YWY" height="1" width="1" alt=""/>]]></content:encoded>
			<wfw:commentRss>https://sematext.com/blog/2017/05/05/s3-archiving-longer-retention-for-logs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<post-id xmlns="com-wordpress:feed-additions:1">37837</post-id>	<feedburner:origLink>https://sematext.com/blog/2017/05/05/s3-archiving-longer-retention-for-logs/</feedburner:origLink></item>
		<item>
		<title>iOS SDK for Log Shipping &amp; Analytics</title>
		<link>http://feedproxy.google.com/~r/SematextBlog/~3/wW4ItxUq100/</link>
		<comments>https://sematext.com/blog/2017/05/04/ios-sdk-for-log-shipping-analytics/#respond</comments>
		<pubDate>Thu, 04 May 2017 12:08:06 +0000</pubDate>
		<dc:creator><![CDATA[sematext]]></dc:creator>
				<category><![CDATA[Logging]]></category>
		<category><![CDATA[Sematext Cloud]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[log analytics]]></category>
		<category><![CDATA[log shipping]]></category>
		<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">https://sematext.com/?p=37817</guid>
		<description><![CDATA[Want to ship logs and other events from your iOS apps?   We’ve open-sourced the iOS SDK for shipping logs from iOS apps to Sematext Cloud.  This library not only lets you send your iOS app logs for troubleshooting purposes, [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><span style="font-weight: 400;"><strong>Want to ship logs and other events from your iOS apps?</strong>  </span></p>
<p><span style="font-weight: 400;">We’ve <strong>open-sourced the iOS SDK for </strong></span><strong><a href="https://github.com/sematext/sematext-logsene-ios">shipping logs from iOS apps</a></strong><span style="font-weight: 400;"> to </span><a href="http://sematext.com"><span style="font-weight: 400;">Sematext Cloud</span></a><span style="font-weight: 400;">.  This library not only lets you send your iOS app logs for troubleshooting purposes, but it also let’s you collect app usage for analytics purposes!  In other words, <strong>shipping logs and usage events from an iOS app will give you the ability to both troubleshoot issues with the app, as well as let you gain insights about  your app’s usage, adoption, etc.</strong></span></p>
<p>If you don&#8217;t see the events in the dashboard immediately, note that this <strong>library sends data in batches to preserve the battery (every 60s)</strong>, or if there are more than 10 messages queued up. Messages are saved while the device is offline, so you don&#8217;t have to worry about losing any data.</p>
<p><strong>To summarize</strong>, what this library gives you is:</p>
<ul>
<li style="font-weight: 400;"><span style="font-weight: 400;">Ability to <strong>centralize your mobile app logs</strong></span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">Ability to <strong>collect app usage statistics and events for usage analytics purposes</strong></span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">Ability to <strong>catch uncaught exceptions (crashes) and ship them for later analysis</strong></span></li>
<li style="font-weight: 400;"><strong>Integrations with CocoaLumberjack and NSLog</strong></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">Support for attaching meta-data to events to <strong>allow report slicing and dicing</strong></span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;"><strong>Optimized data shipping</strong> to reduce network usage and extend battery life</span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;"><strong>Buffering of data to avoid data loss</strong> while device is offline</span></li>
</ul>
<p><span style="font-weight: 400;">For more info, see </span><a href="https://github.com/sematext/sematext-logsene-ios" target="_blank" rel="noopener noreferrer"><span style="font-weight: 400;">Sematext Logsene iOS</span></a><span style="font-weight: 400;"> project on Github.  For shipping logs from Android apps see </span><a href="https://github.com/sematext/sematext-logsene-android" target="_blank" rel="noopener noreferrer"><span style="font-weight: 400;">Sematext Logsene Android</span></a><span style="font-weight: 400;">.</span></p>
<img src="http://feeds.feedburner.com/~r/SematextBlog/~4/wW4ItxUq100" height="1" width="1" alt=""/>]]></content:encoded>
			<wfw:commentRss>https://sematext.com/blog/2017/05/04/ios-sdk-for-log-shipping-analytics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<post-id xmlns="com-wordpress:feed-additions:1">37817</post-id>	<feedburner:origLink>https://sematext.com/blog/2017/05/04/ios-sdk-for-log-shipping-analytics/</feedburner:origLink></item>
		<item>
		<title>Android SDK for Log Shipping &amp; Analytics</title>
		<link>http://feedproxy.google.com/~r/SematextBlog/~3/lBEO5o6WugU/</link>
		<comments>https://sematext.com/blog/2017/05/04/android-sdk-for-log-shipping-analytics/#respond</comments>
		<pubDate>Thu, 04 May 2017 12:01:39 +0000</pubDate>
		<dc:creator><![CDATA[sematext]]></dc:creator>
				<category><![CDATA[Logging]]></category>
		<category><![CDATA[Sematext Cloud]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[log analytics]]></category>
		<category><![CDATA[log shipping]]></category>
		<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">https://sematext.com/?p=37814</guid>
		<description><![CDATA[A few months back we’ve silently built and open-sourced an Android SDK for shipping logs from mobile apps to Sematext Cloud.  This library not only lets you send your Android app logs for troubleshooting purposes, but it also let’s you [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><span style="font-weight: 400;">A few months back we’ve silently <strong>built and open-sourced an </strong></span><strong><a href="https://github.com/sematext/sematext-logsene-android">Android SDK for shipping logs</a></strong><span style="font-weight: 400;"> from mobile apps to </span><a href="http://sematext.com"><span style="font-weight: 400;">Sematext Cloud</span></a><span style="font-weight: 400;">.  <strong>This library not only lets you send your Android app logs for troubleshooting purposes, but it also let’s you collect app usage for analytics purposes!</strong>  In other words, shipping logs and usage events from an Android app will give you the ability to both troubleshoot issues with the app, as well as let you gain insights about  your app’s usage, adoption, etc.</span></p>
<p><strong>The library sends data in batches to preserve battery (every 60s)</strong>, or if there are more than 10 events queued up. Events are saved while the device is offline so you don&#8217;t have to worry about losing any data. <strong>By default the library keeps up to 5,000 events while offline.</strong> All of this is taken care of by our Android Service, which you will want to configure.</p>
<p>To summarize, <strong>what this library gives you</strong> is:</p>
<ul>
<li style="font-weight: 400;"><span style="font-weight: 400;">Ability to <strong>centralize your mobile app logs</strong></span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">Ability to <strong>collect app usage statistics and events for usage analytics purposes</strong></span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">Ability to <strong>catch uncaught exceptions (crashes) and ship them for later analysis</strong></span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;"><strong>JUL</strong> (java.util.logger)<strong> integration</strong></span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">Support for attaching meta-data to events to <strong>allow report slicing and dicing</strong></span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;"><strong>Optimized data shipping</strong> to reduce network usage and extend battery life</span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;"><strong>Buffering of data</strong> to avoid data loss while device is offline</span></li>
</ul>
<p><span style="font-weight: 400;">For more info, see </span><a href="https://github.com/sematext/sematext-logsene-android" target="_blank" rel="noopener noreferrer"><span style="font-weight: 400;">Sematext Logsene Android</span></a><span style="font-weight: 400;"> project on Github. For shipping logs from iOS apps see </span><a href="https://github.com/sematext/sematext-logsene-ios" target="_blank" rel="noopener noreferrer"><span style="font-weight: 400;">Sematext Logsene iOS</span></a><span style="font-weight: 400;">.</span></p>
<img src="http://feeds.feedburner.com/~r/SematextBlog/~4/lBEO5o6WugU" height="1" width="1" alt=""/>]]></content:encoded>
			<wfw:commentRss>https://sematext.com/blog/2017/05/04/android-sdk-for-log-shipping-analytics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<post-id xmlns="com-wordpress:feed-additions:1">37814</post-id>	<feedburner:origLink>https://sematext.com/blog/2017/05/04/android-sdk-for-log-shipping-analytics/</feedburner:origLink></item>
		<item>
		<title>Elasticsearch 5.x and Kibana 5.x</title>
		<link>http://feedproxy.google.com/~r/SematextBlog/~3/aBXoMbdAU_8/</link>
		<comments>https://sematext.com/blog/2017/05/04/elasticsearch-5-x-and-kibana-5-x/#respond</comments>
		<pubDate>Thu, 04 May 2017 11:52:52 +0000</pubDate>
		<dc:creator><![CDATA[sematext]]></dc:creator>
				<category><![CDATA[Sematext Cloud]]></category>
		<category><![CDATA[elasticsearch]]></category>
		<category><![CDATA[kibana]]></category>
		<category><![CDATA[log management]]></category>
		<category><![CDATA[logsene]]></category>

		<guid isPermaLink="false">https://sematext.com/?p=37810</guid>
		<description><![CDATA[We’ve refreshed not only the Sematext Cloud UI, but also our backend, or one of them at least. Last week, we’ve updated Elasticsearch to the latest 5.x version.  Along with it we’ve updated the integrated version of Kibana to which [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><span style="font-weight: 400;"><strong>We’ve refreshed not only the Sematext Cloud UI, but also our backend</strong>, or one of them at least. Last week, we’ve updated Elasticsearch to the latest 5.x version.  Along with it we’ve updated the integrated version of Kibana to which you can easily switch from the “Native UI” if you are a Kibana aficionado.  From there you can create all kinds of charts and dashboards.  </span></p>
<p><span style="font-weight: 400;">We’ve also made sure </span><b>Kibana URLs are shareable</b><span style="font-weight: 400;">, so you can share them with your teammates. <strong> If they have access to the Logsene App whose Kibana URL you are sharing they, too, will be able to access the shared charts, dashboards, etc.  </strong></span></p>
<p><span style="font-weight: 400;">To access Kibana just </span><a href="https://apps.sematext.com/"><span style="font-weight: 400;">log in</span></a><span style="font-weight: 400;">, go to one of your Logsene apps, and click on the Kibana logo at the top of the UI.</span></p>
<p><a href="https://sematext.com/wp-content/uploads/2017/05/Sematext-Elasticsearch-5-Kibana-5.png" data-rel="lightbox-0" title=""><img class="aligncenter size-full wp-image-37812" src="https://sematext.com/wp-content/uploads/2017/05/Sematext-Elasticsearch-5-Kibana-5.png" alt="Sematext Elasticsearch 5 Kibana 5" width="2560" height="820" srcset="https://sematext.com/wp-content/uploads/2017/05/Sematext-Elasticsearch-5-Kibana-5.png 2560w, https://sematext.com/wp-content/uploads/2017/05/Sematext-Elasticsearch-5-Kibana-5-300x96.png 300w, https://sematext.com/wp-content/uploads/2017/05/Sematext-Elasticsearch-5-Kibana-5-768x246.png 768w, https://sematext.com/wp-content/uploads/2017/05/Sematext-Elasticsearch-5-Kibana-5-1024x328.png 1024w" sizes="(max-width: 2560px) 100vw, 2560px" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<img src="http://feeds.feedburner.com/~r/SematextBlog/~4/aBXoMbdAU_8" height="1" width="1" alt=""/>]]></content:encoded>
			<wfw:commentRss>https://sematext.com/blog/2017/05/04/elasticsearch-5-x-and-kibana-5-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<post-id xmlns="com-wordpress:feed-additions:1">37810</post-id>	<feedburner:origLink>https://sematext.com/blog/2017/05/04/elasticsearch-5-x-and-kibana-5-x/</feedburner:origLink></item>
		<item>
		<title>React.js &amp; Redux, Pretty Charts, Better Dashboards</title>
		<link>http://feedproxy.google.com/~r/SematextBlog/~3/3BrjnZp1tgI/</link>
		<comments>https://sematext.com/blog/2017/05/04/react-js-redux-pretty-charts-better-dashboards/#respond</comments>
		<pubDate>Thu, 04 May 2017 11:39:03 +0000</pubDate>
		<dc:creator><![CDATA[sematext]]></dc:creator>
				<category><![CDATA[Sematext Cloud]]></category>
		<category><![CDATA[dashboard]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[performance monitoring]]></category>
		<category><![CDATA[redux]]></category>

		<guid isPermaLink="false">https://sematext.com/?p=37805</guid>
		<description><![CDATA[Need we say more?  If you’ve used Sematext Cloud recently you’ve noticed the UI looks and behaves differently.  Indeed, we rewrote the whoooooole front-end using modern front-end technologies like React.js and Redux (watch this statement become outdated in 12 months!). [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><span style="font-weight: 400;">Need we say more?  If you’ve used </span><a href="http://sematext.com"><span style="font-weight: 400;">Sematext Cloud</span></a><span style="font-weight: 400;"> recently you’ve noticed the <strong>UI looks and behaves differently</strong>.  Indeed, <strong>we rewrote the whoooooole front-end using modern front-end technologies like React.js and Redux</strong> (watch this statement become outdated in 12 months!).  </span></p>
<p><span style="font-weight: 400;"><strong>We’ve switched to Chart.JS for charts</strong>, and contributed a few PRs to it along the way.  We’ve made it possible to show/hide chart legends, change their positioning, to easily add/remove individual timeseries from metrics charts, and so on.  <strong>Dashboards have been completely rewritten and are much, much faster and lighter than before</strong>.  You can easily create a Dashboard that contains charts from multiple different Metrics or Logs apps.  You can also add logs themselves to a Dashboard, or event charts, or components with custom Markdown in them.  </span></p>
<p><a href="https://sematext.com/wp-content/uploads/2017/05/React.js-Redux-Pretty-Charts-Better-Dashboards.png" data-rel="lightbox-0" title=""><img class="aligncenter size-full wp-image-37806" src="https://sematext.com/wp-content/uploads/2017/05/React.js-Redux-Pretty-Charts-Better-Dashboards.png" alt="Sematext React.js &amp; Redux Pretty Charts Better Dashboards" width="2560" height="1472" srcset="https://sematext.com/wp-content/uploads/2017/05/React.js-Redux-Pretty-Charts-Better-Dashboards.png 2560w, https://sematext.com/wp-content/uploads/2017/05/React.js-Redux-Pretty-Charts-Better-Dashboards-300x173.png 300w, https://sematext.com/wp-content/uploads/2017/05/React.js-Redux-Pretty-Charts-Better-Dashboards-768x442.png 768w, https://sematext.com/wp-content/uploads/2017/05/React.js-Redux-Pretty-Charts-Better-Dashboards-1024x589.png 1024w" sizes="(max-width: 2560px) 100vw, 2560px" /></a></p>
<p><span style="font-weight: 400;">There is a lot more to our UI changes, some of which we’ve highlighted in <a href="https://sematext.com/blog/2017/05/03/navigation-discoverability-and-accessibility/" target="_blank" rel="noopener noreferrer">Navigation, Discoverability, and Accessibility</a>, but the best way to experience the goodness is by using </span><a href="http://sematext.com"><span style="font-weight: 400;">Sematext Cloud</span></a><span style="font-weight: 400;"> yourself. </span></p>
<p><span style="font-weight: 400;"><strong>Enjoy!</strong> … and use our live chat (bottom-right) to shout if you see anything not working right.</span></p>
<p>&nbsp;</p>
<img src="http://feeds.feedburner.com/~r/SematextBlog/~4/3BrjnZp1tgI" height="1" width="1" alt=""/>]]></content:encoded>
			<wfw:commentRss>https://sematext.com/blog/2017/05/04/react-js-redux-pretty-charts-better-dashboards/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<post-id xmlns="com-wordpress:feed-additions:1">37805</post-id>	<feedburner:origLink>https://sematext.com/blog/2017/05/04/react-js-redux-pretty-charts-better-dashboards/</feedburner:origLink></item>
	</channel>
</rss>
