<div dir="ltr">Hello once again friends!<div><br></div><div>Over the last month we've had a rough go with <a href="https://loggins.mofoprod.net">https://loggins.mofoprod.net</a>.  For a majority of the time, Elasticsearch on this application was breaking due to load.</div>
<div><br></div><div>One of my goals during All Hands this week was to buckle down, learn a bit more about Elasticsearch from MoCo folks, and get this back up and functional.</div><div><br></div><div>I am happy to report that this goal has been completed!  I have setup an autoscaling, autohealing three-server Elasticsearch cluster which should be much more capable of handling Messina's verbosity.  I have recreated the views inside of <a href="https://loggins.mofoprod.net">https://loggins.mofoprod.net</a>.</div>
<div><br></div><div>Below, I am including a couple best practices and hints for using Loggins.</div><div><br></div><div>=======================================================</div><div><br></div><div><br></div><div><b>Important Note:</b>  You *must* use https (SSL).  <a href="http://loggins.mofoprod.net">http://loggins.mofoprod.net</a> will not respond to you.</div>
<div><br></div><div><b><font size="4">How Do I View Logs of Requests For an Application?</font></b></div><div><br></div><div>You can either use filters by clicking on the magnifying glass as shown in the first clip below, or choose one of the pre-made application views as shown in the second clip.</div>
<div><br></div><div><i>Using the ALL LOGS view, I filter to only show me webmakerorg-production, then filter to only show me responses that gave a 500 return code</i></div><div><i><img src="cid:ii_huoyxu834_145bb24edec594c8" width="561" height="350.9883419689119"><br>
​<br></i></div><div></div><div><i>Alternatively, I can go to the WEBMAKERORG ( ALL ENVS ) view and filter for 500's there.</i></div><div><i><img src="cid:ii_huoz2snq6_145bb287262d7776" width="561" height="350.9883419689119"><br>
<br></i></div><div><br></div><div><br></div><div><b>How Do I Find/View Stack Traces?</b></div><img src="cid:ii_huoy7vz33_145bb1273c2301e1" width="561" height="388.14718019257225"><br><div>​<br>​<br></div><div><br><br></div>
</div>