<?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"
	>

<channel>
	<title>Bob Fox</title>
	<atom:link href="http://blogs.splunk.com/bob/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.splunk.com/bob</link>
	<description>Splunking Outside of the Box</description>
	<pubDate>Tue, 15 Jul 2008 05:25:02 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>The Commoditization of the IT Professional (or is there a new Black Art?)</title>
		<link>http://blogs.splunk.com/bob/2008/07/14/the-commoditization-of-the-it-professional-or-is-there-a-new-black-art/</link>
		<comments>http://blogs.splunk.com/bob/2008/07/14/the-commoditization-of-the-it-professional-or-is-there-a-new-black-art/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 05:25:02 +0000</pubDate>
		<dc:creator>bob</dc:creator>
		
		<category><![CDATA[Splunk]]></category>

		<category><![CDATA[industry]]></category>

		<category><![CDATA[it]]></category>

		<guid isPermaLink="false">http://blogs.splunk.com/bob/?p=6</guid>
		<description><![CDATA[A recent gathering of friends (a group of IT gray-hairs, artists, and lawyers) had got me thinking about IT as a profession, and the development of the industry since I got involved 20 years ago. The question posed to the group was about whether we would recommend our current professions to our children.  This [...]]]></description>
			<content:encoded><![CDATA[<p>A recent gathering of friends (a group of IT gray-hairs, artists, and lawyers) had got me thinking about IT as a profession, and the development of the industry since I got involved 20 years ago. The question posed to the group was about whether we would recommend our current professions to our children.  This query, a few others, and perhaps one Liberty Ale too many had started me down the track of over-analyzing the state of IT today.  I suppose I am both proud and terrified at the same time.</p>
<p>First, the goodness.  As an industry participant, IT has come a long way.  Collectively, we have successfully lobbied to become more than just a cost center.  The &#8216;nerds in the back room&#8217; have become intertwined with the business.   IT now facilitates both cost savings and revenue generation.  IT is the driving force and enabler of employee empowerment, productive mobility, and instantaneous communication.  IT run systems facilitate negotiations, analyze deals and execute trades.</p>
<p>Well done, everyone.  A big pat on the back to us all.</p>
<p>Before I start sharing the negatives, I should let you know that I still have faith in the future of IT.  Skip to the end if you don&#8217;t care for the doom and gloom.</p>
<p>What scares me most about IT today is what I have always called the &#8216;commoditization of the IT professional&#8217;.    Personally, I blame this all on the &#8216;dot com&#8217; era  hiring frenzy that allowed anyone who could install a mouse under Windows to be branded a &#8217;system administrator&#8217;.    As sysadmin titles transitioned to that of IT Manager, we started to lose some of the industrious, maverick spirit that made the console jockeys of old both revered and magical.</p>
<p>Now, I am not saying that all of the junior folks out there need to learn the way I did &#8212; by fixing superblocks with nothing more than a hex editor and a pot of coffee, or by wrestling a printcap file into submission because some bonehead ordered a printer that didn&#8217;t speak postscript (PCL?  Ugh!).  It would be nice, however if certain concepts were understood without having to resort to web searches of old Usenet posts.   Why are topics like the effect of increased I/O on the various subsystems of a server not comprehended?    Where has the art of system tuning gone?    Sometimes throwing hardware at a performance issue is the correct answer &#8212; but when?</p>
<p>Yet I remain hopeful.  The ancient &#8216;black arts&#8217; are still practiced.    Every day I get to speak with people who are doing some very magical things, but now with the Splunk platform.  They are extending Splunk  to places I have never imagined, and solving problems that are unique to their own businesses.  I see enterprising individuals doing some amazing things with <a href="http://www.splunk.com/doc/latest/user/AllOperators">search commands</a> and Splunk reports.   Some of this is proprietary of course, but a lot of it has been built upon applications available in <a href="http://www.splunkbase.com/">Splunkbase</a> today.</p>
<p>So, to answer the original question posed &#8212; would I recommend a career in IT to my kids?  The simple answer: Hell No.  I don&#8217;t need the competition.<br />
<em><br />
Want to relive your glory days?  Send me your favorite sysadmin spell from the old days and I will do a golden oldies post.  For extra credit, show me how you can accomplish (or avoid) the  same thing today using Splunk.  Immortality awaits!</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.splunk.com/bob/2008/07/14/the-commoditization-of-the-it-professional-or-is-there-a-new-black-art/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Field Definitions and Splunk’s extract Command</title>
		<link>http://blogs.splunk.com/bob/2007/10/07/field-definitions-and-splunk%e2%80%99s-extract-command/</link>
		<comments>http://blogs.splunk.com/bob/2007/10/07/field-definitions-and-splunk%e2%80%99s-extract-command/#comments</comments>
		<pubDate>Mon, 08 Oct 2007 01:57:17 +0000</pubDate>
		<dc:creator>bob</dc:creator>
		
		<category><![CDATA[Splunk]]></category>

		<category><![CDATA[commands]]></category>

		<category><![CDATA[how-to]]></category>

		<guid isPermaLink="false">http://blogs.splunk.com/bob/2007/10/07/field-definitions-and-splunk%e2%80%99s-extract-command/</guid>
		<description><![CDATA[The 3.0 version of Splunk has introduced some wonderful new features such as advanced reporting, granular access control and a slew of additional functions to help you search through your IT data. One of these newly released functions is the extract command.  This works very nicely with Splunk’s revamped facility to add, view, and [...]]]></description>
			<content:encoded><![CDATA[<p>The 3.0 version of Splunk has introduced some wonderful new features such as advanced reporting, granular access control and a slew of additional functions to help you search through your IT data. One of these newly released functions is the extract command.  This works very nicely with Splunk’s revamped facility to add, view, and access field names.  Here is a quick primer on creating field definitions and using the extract command to have those definitions reloaded automatically.</p>
<p>Splunk has always done a great job at allowing you to search on any text from any data source.  Splunk even goes one step beyond this and automatically defines named fields data that shows up in a Keyword = Value (KV) pair.  If my data contains text that looks like<br />
<code><br />
username=sparky</code></p>
<p><code /></p>
<p>then Splunk will key in on those values, allowing me to search and report more precisely on those values.  For instance I could say<br />
<code><br />
* | where username <> &#8220;sparky&#8221;<br />
</code></p>
<p>to get back all of the records where sparky did not show up as a username.</p>
<p>But what if my data is not so friendly?  Consider an event that looks like this:<br />
<code><br />
Invalid login attempt by sparky on host kinja</code></p>
<p>While the data is all there and searchable, there is no easy way to hone in on the fact that <em>sparky</em> is the username.  Of course, I could simply include (or exclude) all events that had the term <span style="font-style: italic">sparky</span> with the search:<br />
<code><br />
* NOT sparky</code></p>
<p>but lets say I wanted to be more specific.  I don’t want to exclude an those events like:<br />
<code><br />
Invalid login attempt by badguy on host sparky</code></p>
<p>Fortunately Splunk allows me to define fields so I can specify exactly what data is exposed.</p>
<p>There is a full write up on extracting additional fields <a target="_blank" href="http://www.splunk.com/doc/3.0.2/admin/DefineSearch">here</a> but in short, I need to configure Splunk with some hints on how to find that username, and what to call it when I do find it.  And I will probably want to do this all within a Splunk bundle to keep things portable and maintainable, but that’s another blog entry.</p>
<p>The first step will be to define a regular expression that will isolate the username in the event.   We could set up this definition in our bundle’s <a target="_blank" href="http://www.splunk.com/doc/3.0.2/admin/transformsconf">transforms.conf</a> file:<br />
<code><br />
[get-username]<br />
REGEX = by\s(\w+)\son<br />
FORMAT = username::$1   </code></p>
<p>Secondly, we will need Splunk to apply this regular expression on the events of a particular sourcetype.  We’ll do this at searchtime to allow the definition of these extracted fields to be dynamic. This is  accomplished by adding a line to the <a target="_blank" href="http://www.splunk.com/doc/3.0.2/admin/propsconf">props.conf</a> file that defines the sourcetype of our events:</p>
<p><code> </code><code> [securitylog]<br />
REPORT-secure = get-username </code></p>
<p>Last, but not least, we need define which of our inputs will be using this sourcetype.  For simplicity, let’s look at an example of a tailed file with a hardcoded sourcetype.  This definition will exist in our <a target="_blank" href="http://www.splunk.com/doc/3.0.2/admin/inputsconfspec">inputs.conf</a> file.</p>
<p><code> </code><code> [tail:///path/to/my/datafile]<br />
sourcetype = securitylog </code></p>
<p>Now that all the heavy lifting is done, we need to apply these properties to the running Splunk instance.  This (finally) is where extract comes in.</p>
<p>Extract allows us to test the regular expression that we have defined within transforms.conf.  More importantly, it lets us reload the props and transform without restarting the server.  We accomplish this by including the extract command inside of a Splunk search.  For example:</p>
<p><code /></p>
<p><code> sourcetype::securitylog | extract reload=T </code></p>
<p>Now I should see <em>username</em> listed under the &#8220;Fields&#8221; tab  of my Splunk screen.  Make sure that the <em>core only</em> option is unchecked to see the custom defined fields.</p>
<p>There you have it &#8212; a quick into to field definitions and the extract command.  Check out the <a target="_blank" href="http://www.splunk.com/doc/3.0.2/releasenotes/3.0WhatsNew">release notes</a> to view all of the new Splunk features.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.splunk.com/bob/2007/10/07/field-definitions-and-splunk%e2%80%99s-extract-command/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
