<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>smarticus-blog - Latest Comments in #yerdoinitwrong episode 1: logging with syslog</title><link>http://smarticus-blog.disqus.com/</link><description></description><atom:link href="https://smarticus-blog.disqus.com/yerdoinitwrong_episode_1_logging_with_syslog/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 13 Oct 2009 08:46:35 -0000</lastBuildDate><item><title>Re: #yerdoinitwrong episode 1: logging with syslog</title><link>http://smartic.us/2009/09/16/yerdoinitwrong-episode-1-logging-with-syslog/#comment-19964076</link><description>&lt;p&gt;I'm sure with little toy apps, "tail -f" works.  When you outgrow that, you need something better.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bryanl</dc:creator><pubDate>Tue, 13 Oct 2009 08:46:35 -0000</pubDate></item><item><title>Re: #yerdoinitwrong episode 1: logging with syslog</title><link>http://smartic.us/2009/09/16/yerdoinitwrong-episode-1-logging-with-syslog/#comment-17409800</link><description>&lt;p&gt;Yes.  I'm just working out some content, and then we will have a proper&lt;br&gt;podcast&lt;/p&gt;&lt;p&gt;======&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bryanl</dc:creator><pubDate>Fri, 25 Sep 2009 22:54:54 -0000</pubDate></item><item><title>Re: #yerdoinitwrong episode 1: logging with syslog</title><link>http://smartic.us/2009/09/16/yerdoinitwrong-episode-1-logging-with-syslog/#comment-17398255</link><description>&lt;p&gt;Any chance of this becoming a proper podcast so that I can subscribe?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">chris</dc:creator><pubDate>Fri, 25 Sep 2009 17:17:54 -0000</pubDate></item><item><title>Re: #yerdoinitwrong episode 1: logging with syslog</title><link>http://smartic.us/2009/09/16/yerdoinitwrong-episode-1-logging-with-syslog/#comment-17153091</link><description>&lt;p&gt;host = &amp;lt;%= hostname %&amp;gt;&lt;br&gt;index = &amp;lt;%= environment %&amp;gt;&lt;br&gt;_blacklist = \.(tgz|gz)$&lt;/p&gt;&lt;p&gt;[monitor:///var/log]&lt;br&gt;disabled = false&lt;/p&gt;&lt;p&gt;[monitor:///data/onehub/shared/log]&lt;br&gt;disabled = false&lt;/p&gt;&lt;p&gt;[monitor:///data/onehub/shared/pids]&lt;br&gt;disabled = false&lt;/p&gt;&lt;p&gt;[monitor:///vol/log/mysql-slow.log]&lt;br&gt;disabled = false&lt;/p&gt;&lt;p&gt;[monitor:///vol/log/mysqld.log]&lt;br&gt;disabled = false&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">waloeiii</dc:creator><pubDate>Tue, 22 Sep 2009 20:13:28 -0000</pubDate></item><item><title>Re: #yerdoinitwrong episode 1: logging with syslog</title><link>http://smartic.us/2009/09/16/yerdoinitwrong-episode-1-logging-with-syslog/#comment-17145580</link><description>&lt;p&gt;Hmm, lightweight forwarders seem like a nice way of going about this. Can you provide an example inputs.conf from one of your forwarding instances?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jerod Santo</dc:creator><pubDate>Tue, 22 Sep 2009 17:09:52 -0000</pubDate></item><item><title>Re: #yerdoinitwrong episode 1: logging with syslog</title><link>http://smartic.us/2009/09/16/yerdoinitwrong-episode-1-logging-with-syslog/#comment-16762166</link><description>&lt;p&gt;You don't. But the majority of Rails sites have a different level of traffic and using Splunk -- unlike reading your log files -- precludes the option of side-by-side debugging via "load the page while simultaneously seeing what appears in your terminal".&lt;/p&gt;&lt;p&gt;One size does not fit all, and a 10 req/s site is atypical.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">joegrossberg</dc:creator><pubDate>Wed, 16 Sep 2009 14:18:52 -0000</pubDate></item><item><title>Re: #yerdoinitwrong episode 1: logging with syslog</title><link>http://smartic.us/2009/09/16/yerdoinitwrong-episode-1-logging-with-syslog/#comment-16753369</link><description>&lt;p&gt;How do you have real time when you are doing over 10 requests per second?&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bryanl</dc:creator><pubDate>Wed, 16 Sep 2009 13:35:12 -0000</pubDate></item><item><title>Re: #yerdoinitwrong episode 1: logging with syslog</title><link>http://smartic.us/2009/09/16/yerdoinitwrong-episode-1-logging-with-syslog/#comment-16740152</link><description>&lt;p&gt;I should also point out that you can configure the forwarders to send data to different indexes. Set the index variable in inputs.conf to coincide with the RAILS_ENV on the machine you are deploying to. Searching through splunk defaults to production (I renamed it from main), but if I want to find something on staging just add index=staging to the query. If you aren't sure of the environment you can just search across all indices.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">waloeiii</dc:creator><pubDate>Wed, 16 Sep 2009 13:07:25 -0000</pubDate></item><item><title>Re: #yerdoinitwrong episode 1: logging with syslog</title><link>http://smartic.us/2009/09/16/yerdoinitwrong-episode-1-logging-with-syslog/#comment-16739490</link><description>&lt;p&gt;When using Splunk you don't have to send your logs to syslog, in fact I find it simpler to not do it. Every single one of my machines runs Splunk in Lightweight Forwarder Mode (&lt;a href="http://www.splunk.com/base/Documentation/3.3.4/Installation/InstallSplunkForLightweightForwarding)" rel="nofollow noopener" target="_blank" title="http://www.splunk.com/base/Documentation/3.3.4/Installation/InstallSplunkForLightweightForwarding)"&gt;http://www.splunk.com/base/...&lt;/a&gt; and they all forward to a central Splunk server. The Forwarding instances don't require licenses or anything, they will watch whatever files (or folders!) you configure in inputs.conf and then relay that to your central instance. If the central instance goes down, the Forwarders queue messages (up to a determined size) while waiting for the central server to respond. Forwarding with some aggressive logrotate configs keeps my log volume down on the working instances, and I now have 18 months of logs from 17 machines in one nice organized index.&lt;/p&gt;&lt;p&gt;@joegrossberg Splunk 3.x has a live-tail feature that I find is only ~2 seconds off real-time. Splunk 4.x is considerably faster and the regular search is only ~5 seconds off real-time (but no Live Tail in 4.x yet).&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">waloeiii</dc:creator><pubDate>Wed, 16 Sep 2009 13:04:39 -0000</pubDate></item><item><title>Re: #yerdoinitwrong episode 1: logging with syslog</title><link>http://smartic.us/2009/09/16/yerdoinitwrong-episode-1-logging-with-syslog/#comment-16731488</link><description>&lt;p&gt;This might be outdated, but I think these points are worth mentioning:&lt;/p&gt;&lt;p&gt;* Splunk can also take in logs from non-Rails apps (e.g. have your Rails, Java and Apache logs all in one place) and multiple projects&lt;br&gt;* Splunk can be overly strict about the logging format it expects :/&lt;br&gt;* Splunk is not real-time, unlike tail -f&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">joegrossberg</dc:creator><pubDate>Wed, 16 Sep 2009 12:28:29 -0000</pubDate></item><item><title>Re: #yerdoinitwrong episode 1: logging with syslog</title><link>http://smartic.us/2009/09/16/yerdoinitwrong-episode-1-logging-with-syslog/#comment-16729355</link><description>&lt;p&gt;Bryan: thanks for doing this! This is the answer to a problem I was planning on solving in the next couple of weeks. I'm looking forward to seeing what else I'm doing wrong.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Toby Crawley</dc:creator><pubDate>Wed, 16 Sep 2009 12:21:45 -0000</pubDate></item></channel></rss>