<?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>Silas Sewell - Scribe</title>
        <atom:link href="http://www.silassewell.com/blog/tag/scribe/rss2.xml" rel="self" type="application/rss+xml" />
        <link>http://www.silassewell.com/blog/tag/scribe</link>
        <description>Infrastructure Development</description>
        <lastBuildDate>Sat, 08 Jan 2011 00:00:00 GMT</lastBuildDate>
        <generator>http://www.silassewell.com/</generator>
        <language>en</language>
        <sy:updatePeriod>hourly</sy:updatePeriod>
        <sy:updateFrequency>1</sy:updateFrequency>

        <item>
            <title>Pipe Apache (or any) Logs to Scribe</title>
            <link>http://www.silassewell.com/blog/2009/05/12/pipe-apache-or-any-logs-to-scribe/</link>
            <pubDate>Tue, 12 May 2009 00:00:00 GMT</pubDate>
            <dc:creator>silas</dc:creator>
            <category><![CDATA[Fedora]]></category><category><![CDATA[Scribe]]></category><category><![CDATA[scribe_log]]></category><category><![CDATA[Supervisor]]></category><category><![CDATA[Systems Administration]]></category>
            <guid isPermaLink="true">http://www.silassewell.com/blog/2009/05/12/pipe-apache-or-any-logs-to-scribe/</guid>
            <description><![CDATA[<p>I created a simple Python script called <a href="http://github.com/silas/scribe_log" title="scribe_log">scribe_log</a> to tail a log
file and pipe it to Scribe.</p>

<p>I use <a href="http://supervisord.org/" title="Supervisor">supervisor</a> to start and keep the pipe running.</p>

<p>Relevant supervisord.conf configuration:</p>

<pre><code class="prettyprint">[program:scribe.apache.access]
command=/usr/local/sbin/scribe_log --category apache.access --file /var/log/httpd/access_log
</code></pre>

<p>Options</p>

<pre><code class="prettyprint">usage: scribe_log [options]

options:
  -h, --help           show this help message and exit
  --file=FILE          file to tail into Scribe
  --category=CATEGORY  Scribe category
  --host=HOST          destination Scribe host server
  --port=PORT          destination Scribe port
  --prefix=PREFIX      add to the beginning of each log line
  --postfix=POSTFIX    add to the end of each log line
</code></pre>]]></description>
        </item>

        <item>
            <title>Scribe – Scalable Real Time Log Aggregation for CentOS 5 / RHEL 5</title>
            <link>http://www.silassewell.com/blog/2009/05/07/scribe-scalable-real-time-log-aggregation-for-centos-5-rhel-5/</link>
            <pubDate>Thu, 07 May 2009 00:00:00 GMT</pubDate>
            <dc:creator>silas</dc:creator>
            <category><![CDATA[CentOS]]></category><category><![CDATA[CentOS 5]]></category><category><![CDATA[Facebook]]></category><category><![CDATA[fb303]]></category><category><![CDATA[Fedora]]></category><category><![CDATA[Logging]]></category><category><![CDATA[RPM]]></category><category><![CDATA[Scribe]]></category><category><![CDATA[Systems Administration]]></category><category><![CDATA[Thrift]]></category>
            <guid isPermaLink="true">http://www.silassewell.com/blog/2009/05/07/scribe-scalable-real-time-log-aggregation-for-centos-5-rhel-5/</guid>
            <description><![CDATA[<p>"<a href="http://developers.facebook.com/scribe/" title="Scribe">Scribe</a> is a server for aggregating log data streamed in real time
from a large number of servers. It is designed to be scalable, extensible
without client-side modification, and robust to failure of the network or any
specific machine. Scribe was developed at Facebook and
<a href="http://www.facebook.com/note.php?note_id=32008268919&#038;id=9445547199&#038;index=0" title="Scribe Released as Open Source">released as open source</a>."</p>

<p>I've packaged <a href="http://incubator.apache.org/thrift/" title="Thrift">Thrift</a>, <a href="http://svn.apache.org/repos/asf/incubator/thrift/trunk/contrib/fb303/README">fb303</a> and <a href="http://developers.facebook.com/scribe/" title="Scribe">Scribe</a> for CentOS 5 / RHEL 5.</p>

<h3>SRPM</h3>

<ul>
<li><a href="http://silassewell.googlecode.com/files/thrift-0.0-0.el5.20090505svn770888.src.rpm">Thrift</a> (<a href="http://silassewell.googlecode.com/svn/trunk/2009/05/05/scribe-for-el5/thrift/" title="Thrift Source">Source</a>)</li>
<li><a href="http://silassewell.googlecode.com/files/fb303-0.0-0.el5.20090505svn770888.src.rpm" title="fb303 SRPM">fb303</a> (<a href="http://silassewell.googlecode.com/svn/trunk/2009/05/05/scribe-for-el5/fb303/" title="fb303 Source">Source</a>)</li>
<li><a href="http://silassewell.googlecode.com/files/scribe-2.01-2.el5.src.rpm" title="Scribe SRPM">Scribe</a> (<a href="http://silassewell.googlecode.com/svn/trunk/2009/05/05/scribe-for-el5/scribe/" title="Scribe Source">Source</a>)</li>
</ul>

<p>Scribe depends on fb303 which in turns depends on Thrift so you'll need to
setup a local repository and build them in that order. To build the above
packages for Fedora 9+ you'll need to tweak the Python sub-packages to include
the egg files.</p>

<p>Both fb303 and Scribe need some tweaks upstream before they're suitable for a
package review, but I'd like to get them in Fedora shortly (I've already
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=498873" title="Thrift Review">submitted Thrift</a>).</p>

<p>If you'd like to hack around with my latest Fedora specs you can grab them <a href="http://github.com/silas/rpms" title="GitHub RPM">here</a>.</p>]]></description>
        </item>

    </channel>
</rss>
