<?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>Splunk Blogs</title>
	<atom:link href="http://blogs.splunk.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.splunk.com</link>
	<description></description>
	<lastBuildDate>Mon, 14 May 2012 01:54:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
		<item>
		<title>Dallas Splunk Users Group &#8211; June 12th @ 6:00p CST</title>
		<link>http://blogs.splunk.com/2012/05/13/dallas-splunk-users-group-june-12th-600p-cst/</link>
		<comments>http://blogs.splunk.com/2012/05/13/dallas-splunk-users-group-june-12th-600p-cst/#comments</comments>
		<pubDate>Mon, 14 May 2012 01:54:52 +0000</pubDate>
		<dc:creator>Maverick</dc:creator>
				<category><![CDATA[Customers]]></category>
		<category><![CDATA[SplunkNews]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[dallas]]></category>
		<category><![CDATA[fort worth]]></category>
		<category><![CDATA[plano]]></category>
		<category><![CDATA[splunk]]></category>
		<category><![CDATA[Splunk User events]]></category>
		<category><![CDATA[Texas]]></category>
		<category><![CDATA[user groups]]></category>

		<guid isPermaLink="false">http://blogs.splunk.com/?p=7919</guid>
		<description><![CDATA[On the second Tuesday of each month, Splunkers in the Dallas / Fort Worth Metroplex area have been getting together on a regular basis to talk about all things Splunk. Seems the users are able to take advantage of spending just a couple hours with each other, trading notes about Splunk, helping each other solve problems with our Splunk deployments and configurations, and sharing a beer and pizza too.

BTW, we are 40 members and counting now!

Our next meeting will be held at the Splunk Office in Plano, Texas on Tuesday, June 12th @ 6:00p CST.]]></description>
			<content:encoded><![CDATA[<p>On the second Tuesday of each month, Splunkers in the Dallas / Fort Worth Metroplex area have been getting together on a regular basis to talk about all things Splunk. Seems the users are able to take advantage of spending just a couple hours with each other, trading notes about Splunk, helping each other solve problems with our Splunk deployments and configurations, and sharing a beer and pizza too.</p>
<p>BTW, we are 40 members and counting now!</p>
<p>Our next meeting will be held at the Splunk Office in Plano, Texas on Tuesday, June 12th @ 6:00p CST.</p>
<p>If you are interested in attending now, please click this link below for details:</p>
<p align="center">
<a href="http://www.meetup.com/Splunk/Plano-TX/698002/">http://www.meetup.com/Splunk/Plano-TX</a>
</p>
<p>Our last meeting was May 8th and attendees shared some of their more interesting searches and reports as well as some of the not-so-well-known search commands they are using lately.</p>
<p>I look forward to hearing about your various war stories regarding Splunk. How you work through issues, figure things out, extend/expand your use and, more importantly, your thinking about Splunk. It&#8217;s quite an eye-opening experience for a veteran Splunker like myself to learn from you guys and I&#8217;m never short of amazed at the creativity that you demonstrate as you leverage Splunk for all kinds of IT problems, apply advanced analytics and correlations now in ways that are actually helpful for a change. </p>
<p>Also, Paul Sanford from our Seattle Splunk office will be in town and will join the meeting to listen in on the discussions. Perhaps we can ask him to show us some of the latest Splunk Dev projects he&#8217;s got going. </p>
<p>In any case, I&#8217;m happy that you want to get together now on a regular basis and I can&#8217;t wait until 6/12/12. See you there!</p>
<p>BTW, I created a Dallas Splunk Users Group Home and Notes page, which can be found here:</p>
<p><a href="http://wiki.splunk.com/SplunkDallasUsersGroup">Splunk Dallas Users Group Home</a><br />
<a href="http://wiki.splunk.com/Talk:SplunkDallasUsersGroup">Splunk Dallas Users Group Meeting Notes</a></p>
<p>I also created a Google Group as well, which can be found here:</p>
<p><a href="http://groups.google.com/group/splunkdallas">Dallas Splunkers Google Group</a></p>
<p>Sign up and come join us, if you want (dare)!</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.splunk.com/2012/05/13/dallas-splunk-users-group-june-12th-600p-cst/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>#SplunkGovt Twitter Chat: A Sneak Peak at What We&#8217;ll Explore at SplunkLIVE! Washington, D.C.</title>
		<link>http://blogs.splunk.com/2012/05/11/splunkgovt-twitter-chat-a-sneak-peak-at-what-well-explore-at-splunklive-washington-d-c/</link>
		<comments>http://blogs.splunk.com/2012/05/11/splunkgovt-twitter-chat-a-sneak-peak-at-what-well-explore-at-splunklive-washington-d-c/#comments</comments>
		<pubDate>Fri, 11 May 2012 17:53:28 +0000</pubDate>
		<dc:creator>Paul Wilke</dc:creator>
				<category><![CDATA[SplunkNews]]></category>

		<guid isPermaLink="false">http://blogs.splunk.com/?p=7908</guid>
		<description><![CDATA[<p>If the White House’s recent <a href="http://www.whitehouse.gov/blog/2012/03/29/big-data-big-deal">Big Data Research and Development Initiative</a> is any indication, big data is a big deal for government. However, collecting, analyzing and reacting to large amounts of machine-generated data can prove to be challenging for agencies</p>
<p>Yesterday we teamed up with Bob Gourley from <a href="http://ctovision.com/tag/bob-gourley/">CTO Vision</a> to host a Twitter chat on how government can make sense of it all. From data analysis for operational intelligence to log management for cyber defense, we covered a number of ways agencies can make the most of their data. Here are a few key takeaways from the discussion</p>
<ul>
<li><strong>Determine how to deal with the data explosion.</strong> One of the most significant barriers to harnessing big data</li></ul><p>&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>If the White House’s recent <a href="http://www.whitehouse.gov/blog/2012/03/29/big-data-big-deal">Big Data Research and Development Initiative</a> is any indication, big data is a big deal for government. However, collecting, analyzing and reacting to large amounts of machine-generated data can prove to be challenging for agencies</p>
<p>Yesterday we teamed up with Bob Gourley from <a href="http://ctovision.com/tag/bob-gourley/">CTO Vision</a> to host a Twitter chat on how government can make sense of it all. From data analysis for operational intelligence to log management for cyber defense, we covered a number of ways agencies can make the most of their data. Here are a few key takeaways from the discussion</p>
<ul>
<li><strong>Determine how to deal with the data explosion.</strong> One of the most significant barriers to harnessing big data in government is the challenge of keeping up with the growth of data and its increasing complexity. Federal IT managers need to automate big data management with the right analysis tools.</li>
</ul>
<ul>
<li><strong>Focus on the next cyber threat &#8211; don’t chase the last one.</strong> Analyzing big data provides agencies with the operational intelligence to proactively defend against cyber threats and meet stringent cyber-security compliance standards.</li>
</ul>
<ul>
<li><strong>Defend your ROI.</strong> In a sluggish economy, making the case to invest in big data technology can be a federal IT manager’s worst nightmare. The key is to prove the value of your investment with use cases.</li>
</ul>
<p>To hear more about big data for government, join us at <a href="http://live.splunk.com/forms/SL_WashingtonDC_May2012">SplunkLIVE! DC</a> on May 15. Don’t worry—if you’re not in DC, you can still participate during our live webcast <a href="https://event.on24.com/eventRegistration/EventLobbyServlet?target=registration.jsp&amp;eventid=460599&amp;sessionid=1&amp;key=245A2A68C419E9B34156D71FE35DC841&amp;sourcepage=register">here</a>.</p>
<p>Check out the discussion below. Looking forward to continuing the conversation!</p>
<p><a href="https://twitter.com/#!/search/%23SplunkGovt"><img class="alignnone size-full wp-image-7909" src="http://blogs.splunk.com/wp-content/uploads/2012/05/DC.png" alt="" width="508" height="386" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.splunk.com/2012/05/11/splunkgovt-twitter-chat-a-sneak-peak-at-what-well-explore-at-splunklive-washington-d-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Doing More With What You Have</title>
		<link>http://blogs.splunk.com/2012/05/11/doing-more-with-what-you-have/</link>
		<comments>http://blogs.splunk.com/2012/05/11/doing-more-with-what-you-have/#comments</comments>
		<pubDate>Fri, 11 May 2012 17:23:06 +0000</pubDate>
		<dc:creator>Chris Bauer</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://blogs.splunk.com/?p=7830</guid>
		<description><![CDATA[<p>How many times have you been challenged by your management with the following adages?</p>
<p><em>“You have to do more with less.”</em></p>
<p><em> </em></p>
<p><em>“Congratulations on staying under budget. We’re cutting your funding by 15% this year. You’re welcome.”</em></p>
<p><em>“Wow. This dashboard looks great! I want every VP in the company to have something like this. By tomorrow morning.”</em></p>
<p><em> </em></p>
<p>Dilbert jokes aside, this happens every day to our customers. They invest the requisite time to learn Splunk, enthusiastically win over additional lines of business, and continually strive to innovate new and better methods of getting work done.</p>
<p>But most customers tend to hit a plateau of sorts with Splunk.</p>
<p>The fires are extinguished, automated alerts provide <em>some</em> proactive capabilities&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>How many times have you been challenged by your management with the following adages?</p>
<p><em>“You have to do more with less.”</em></p>
<p><em> </em></p>
<p><em>“Congratulations on staying under budget. We’re cutting your funding by 15% this year. You’re welcome.”</em></p>
<p><em>“Wow. This dashboard looks great! I want every VP in the company to have something like this. By tomorrow morning.”</em></p>
<p><em> </em></p>
<p>Dilbert jokes aside, this happens every day to our customers. They invest the requisite time to learn Splunk, enthusiastically win over additional lines of business, and continually strive to innovate new and better methods of getting work done.</p>
<p>But most customers tend to hit a plateau of sorts with Splunk.</p>
<p>The fires are extinguished, automated alerts provide <em>some</em> proactive capabilities and management is delighted with the superior visualizations and reports they receive. Your users are very satisfied with their ability to search effortlessly through terabytes of data for the needle in the haystack.</p>
<p>So what’s next? Are you ready for the next leap forward? What are the areas of greatest benefit to focus on?  What could you be doing differently/better to prepare for the next phase of evolution?</p>
<p>You need a <strong>Splunk Value Check</strong>.</p>
<p>The Value Check is a 1-2 day workshop designed to maximize the value you’re currently getting from your Splunk investment. It is a joint exercise between your organization and technical specialists from Splunk with several goals in mind. Benefits include;</p>
<ul>
<li>Ensuring your architecture is supportable, scalable, and upgradable</li>
<li>Identification of performance concerns and risks</li>
<li>Knowledge transfer of Best Practices</li>
<li>Optimization of your daily volume consumption</li>
<li>Benchmarking your relative Splunk maturity</li>
</ul>
<p>The process to get the ball rolling is straightforward.</p>
<p><strong>1.</strong> Contact your Splunk Sales Representative and express your interest in the program.</p>
<p><strong>2</strong>. You will receive a Value Check Assessment Form to capture and notate your environmental data. Complete this template and identify relevant participants from your organization.</p>
<p><strong>3.</strong> Splunk will conduct the 1-2 day workshop. Through a series of interviews Splunk will gather the required information needed for any recommendations.</p>
<p><strong>4.</strong> When completed, Splunk will review the results with you and your team. Deliverables include;</p>
<ul>
<li>Splunk Maturity Model Scorecard</li>
<li>Environmental Summary</li>
<li>Data Source Summary</li>
<li>Use Cases Summary</li>
<li>Recommendations</li>
</ul>
<p>Armed with this information you will be much better prepared to take full advantage of your Splunk environment and provide even greater value to your organization as a whole.</p>
<p><strong><em> </em></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.splunk.com/2012/05/11/doing-more-with-what-you-have/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>That happened: episode 9</title>
		<link>http://blogs.splunk.com/2012/05/10/that-happened-episode-9/</link>
		<comments>http://blogs.splunk.com/2012/05/10/that-happened-episode-9/#comments</comments>
		<pubDate>Fri, 11 May 2012 00:36:49 +0000</pubDate>
		<dc:creator>rachel perkins</dc:creator>
				<category><![CDATA[Life at Splunk]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://blogs.splunk.com/?p=7889</guid>
		<description><![CDATA[<p>This week in &#8220;That happened: notes from #splunk&#8221;, a blog about the goings-on in the Splunk IRC channel: slow learners, how not to get dizzy when configuring props and transforms, bureacracy in action, and <a href="http://i.imgur.com/esZ3e.jpg">Good Guy Splunk</a>:</p>
<h2>If you build it, they will (eventually) come</h2>
<p>(But you might have to disable their ssh access to the production hosts first):</p>
<p>&#60;<strong>mlanghor</strong>&#62; ahh, the joy in your co-worker coming by with advanced Splunk questions, &#8220;how can I use that <a href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Rex">rex</a> command you talked about a few weeks ago to extract something?&#8221;<br />
&#60;<strong>troj</strong>&#62; mlanghor: I don&#8217;t get those kind of questions <img src='http://blogs.splunk.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /><br />
&#60;<strong>troj</strong>&#62; I get more of the &#8220;I want to see just regular old log&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>This week in &#8220;That happened: notes from #splunk&#8221;, a blog about the goings-on in the Splunk IRC channel: slow learners, how not to get dizzy when configuring props and transforms, bureacracy in action, and <a href="http://i.imgur.com/esZ3e.jpg">Good Guy Splunk</a>:</p>
<h2>If you build it, they will (eventually) come</h2>
<p>(But you might have to disable their ssh access to the production hosts first):</p>
<p>&lt;<strong>mlanghor</strong>&gt; ahh, the joy in your co-worker coming by with advanced Splunk questions, &#8220;how can I use that <a href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Rex">rex</a> command you talked about a few weeks ago to extract something?&#8221;<br />
&lt;<strong>troj</strong>&gt; mlanghor: I don&#8217;t get those kind of questions <img src='http://blogs.splunk.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /><br />
&lt;<strong>troj</strong>&gt; I get more of the &#8220;I want to see just regular old log files, so how do I do that?&#8221;<br />
&lt;<strong>mlanghor</strong>&gt; oh I still get those.  of &#8216;course I still struggle with the &#8220;I&#8217;ve got ssh access to the host, why would I use that?&#8221;<br />
&lt;<strong>mlanghor</strong>&gt; since management still hasn&#8217;t cracked down on user accounts<br />
&lt;<strong>troj</strong>&gt; In test and prod we have cracked down, so Splunk is all they get to see of their logs<br />
* <strong>troj </strong>cheers!<br />
&lt;<strong>troj</strong>&gt; They get over the PlainOldLogFiles attachment when they discover, as I have repeatedly stated to them, that they can search for stuff using Splunk<br />
&lt;<strong>troj</strong>&gt; And at that point I say nice things to them when I want to say mean things <img src='http://blogs.splunk.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /><br />
&lt;<strong>mlanghor</strong>&gt; ahha</p>
<h2>It might not be pretty but it works</h2>
<p>New Support Splunker ^Brian^ explains how <a href="http://docs.splunk.com/Documentation/Splunk/latest/admin/Propsconf">props.conf</a> and <a href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Transformsconf">transforms.conf</a> work together in the face of some mild heckling:</p>
<p>&lt;<strong>wrench_</strong>&gt; Can someone help me understand the relationship between props.conf and transforms.conf? I&#8217;m not sure what the difference is.<br />
&lt;^<strong>Brian</strong>^&gt; transforms defines things that modify results / events / extractions.  Props applies those transforms stanzas to <a href="http://docs.splunk.com/Splexicon:Source">sources </a>/ <a href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Whysourcetypesmatter">sourcetypes</a><br />
&lt;<strong>wrench_</strong>&gt; So you define the source/sourcetype in props.conf and then reference it in a stanza inside transforms.conf to make modifications?<br />
&lt;^<strong>Brian</strong>^&gt; so, say you set up a transforms stanza.  Call it [my_awesome_stanza].<br />
&lt;<strong>wrench_</strong>&gt; k<br />
&lt;^<strong>Brian</strong>^&gt; and in that stanza, lets say you define some extractions for IIS log<br />
* <strong>puercomal </strong>finds multiple layers of redirection delightfully intuitive<br />
&lt;^<strong>Brian</strong>^&gt; in props.conf, you would set up a stanza like this:  [my_awesome_iis_sourcetype]<br />
&lt;^<strong>Brian</strong>^&gt; and under that you would apply the [my_awesome_stanza] by a line like this:  REPORT-myreport = my_awesome_stanza<br />
&lt;<strong>wrench_</strong>&gt; ^Brian^: ah gotcha &#8212; thanks for the example<br />
&lt;<strong>puercomal</strong>&gt; props &#8212; DO_THING-mything = thing_that_is_mine. transforms &#8212; thing_that_is_mine &#8220;code&#8221;&#8230; regular expressions, mainly, but could also be a lookup referral as in things_lookup.csv</p>
<h2>Don&#8217;t forget</h2>
<p>Hassling your boss makes the world go &#8217;round (check that .conf link for ways to justify a trip to <a href="http://www.splunk.com/view/reasons-to-attend/SP-CAAAFHP">Splunk&#8217;s Worldwide User Conference</a>):</p>
<p>* <strong>troj </strong>makes progress on <a href="http://www.splunk.com/view/reasons-to-attend/SP-CAAAFHP">.conf</a> request<br />
&lt;<strong>troj</strong>&gt; Supervisor says OK, 665 layers of bureaucracy to go! <img src='http://blogs.splunk.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<h2>Splunk sees if you&#8217;ve been bad or good</h2>
<p>But your coworkers don&#8217;t have to:</p>
<p>&lt;<strong>Nerf</strong>&gt; Sooo, if I see &#8220;Sending email&#8221; in python.log does that mean that it was successfully sent?  I just want to make sure there weren&#8217;t any local errors before I start bugging the email admins<br />
&lt;<strong>Nerf</strong>&gt; NEVERMIND! NOTHING TO SEE HERE!  IT CERTAINLY WASN&#8217;T A FAT-FINGERD EMAIL ADDRESS!<br />
&lt;<strong>ftk</strong>&gt; haha<br />
&lt;^<strong>Brian</strong>^&gt; Nerf: <img src='http://blogs.splunk.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
&lt;^<strong>Brian</strong>^&gt; Nerf: i had that issue earlier<br />
&lt;<strong>Nerf</strong>&gt; On the plus side I was able to snoop the logs via Splunk without bothering the email admins <img src='http://blogs.splunk.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /><br />
&lt;^<strong>Brian</strong>^&gt; Nerf: i set up my new indexer, was trying to get it to register as a slave of the license master.<br />
&lt;^<strong>Brian</strong>^&gt; It kept failing and I&#8221;m like wtf..i fire off an email to our network admins saying I need these ports opened between our Springfield and Wilmington data centers<br />
&lt;^<strong>Brian</strong>^&gt; they said it&#8217;s already done..so i&#8217;m looking at what I&#8217;m typing, can&#8217;t see anthing wrong..then it dawned on me..i wasn&#8217;t pointing to the license master<br />
&lt;<strong>Nerf</strong>&gt; Yeah, I was bringing up a new indexer and at one point was trying to figure out why I couldn&#8217;t reach it.  I had switched ports 8089 and 9997 and who need to get there</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.splunk.com/2012/05/10/that-happened-episode-9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quantifying the Benefits of Splunk with SSDs</title>
		<link>http://blogs.splunk.com/2012/05/10/quantifying-the-benefits-of-splunk-with-ssds/</link>
		<comments>http://blogs.splunk.com/2012/05/10/quantifying-the-benefits-of-splunk-with-ssds/#comments</comments>
		<pubDate>Thu, 10 May 2012 14:19:29 +0000</pubDate>
		<dc:creator>Patrick Ogdin</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://blogs.splunk.com/?p=7820</guid>
		<description><![CDATA[<p>We’ve had the question posed to us several times over the years:  “What impact would the addition of an SSD have to my Splunk environment?”  Referencing Splunk Answers:</p>
<p><a href="http://splunk-base.splunk.com/answers/10417/splunk-on-solid-state-disk">http://splunk-base.splunk.com/answers/10417/splunk-on-solid-state-disk</a></p>
<p>Raitz is dead-on in his reply.  As data flows into a Splunk indexer, we are write-I/O heavy.  Sequential write performance on SSD vs SAS is pretty similar so no real benefit for Splunk on an SSD here.  These benchmarks illustrate this.</p>
<p><a href="http://www.tomshardware.com/reviews/sas-6gb-raid-controller,3028-16.html">RAID0 w/SSD</a></p>
<p><a href="http://www.tomshardware.com/reviews/sas-6gb-raid-controller,3028-14.html">RAID0 w/SAS</a></p>
<p>(These are RAID controller benchmarks but they still demonstrate the point)</p>
<p>Since a Splunk indexing server pulls dual duty and responds to search requests as well as performs indexing, what is the impact of an SSD on search performance?  Splunk searches can be categorized in two&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>We’ve had the question posed to us several times over the years:  “What impact would the addition of an SSD have to my Splunk environment?”  Referencing Splunk Answers:</p>
<p><a href="http://splunk-base.splunk.com/answers/10417/splunk-on-solid-state-disk">http://splunk-base.splunk.com/answers/10417/splunk-on-solid-state-disk</a></p>
<p>Raitz is dead-on in his reply.  As data flows into a Splunk indexer, we are write-I/O heavy.  Sequential write performance on SSD vs SAS is pretty similar so no real benefit for Splunk on an SSD here.  These benchmarks illustrate this.</p>
<p><a href="http://www.tomshardware.com/reviews/sas-6gb-raid-controller,3028-16.html">RAID0 w/SSD</a></p>
<p><a href="http://www.tomshardware.com/reviews/sas-6gb-raid-controller,3028-14.html">RAID0 w/SAS</a></p>
<p>(These are RAID controller benchmarks but they still demonstrate the point)</p>
<p>Since a Splunk indexing server pulls dual duty and responds to search requests as well as performs indexing, what is the impact of an SSD on search performance?  Splunk searches can be categorized in two ways, sparse and dense.  Dense reporting searches may request the average response time of a particular application over the last 24 hours for example.  Sparse searches are the “needle in a haystack” searches. A sparse search may look something like &#8220;find me this user ID in all of my data over the last year&#8221;.  For dense searching, Splunk’s I/O footprint can be characterized as a lot of sequential reads.  Referring to our benchmarks above, sequential reads on SSD are also about the same as on the SAS drives.  For sparse searching, the Splunk I/O behavior is full of random seeks.  This is where Splunk shines on SSD.</p>
<p>&nbsp;<br />
<strong>Hardware</strong></p>
<p>Three machines were used for this benchmark.  We’ve classified them by their disk speed.  CPU and memory were not identical.</p>
<p>7200 – 2&#215;4 2.40GHz, 16GB, 12x2TB 7200 RPM SATA RAID 10<br />
10k – 2&#215;6 2.677GHz, 48GB, 4x900GB 10K RPM SAS RAID 10<br />
15k – 2&#215;6 2.667GHz, 12GB, 6x146GB 15K RPM SAS RAID 10<br />
SSD – 2&#215;4 2.40GHz, 16GB, 1x240GB (same as 7200 w PCIe SSD)</p>
<p>&nbsp;<br />
<strong>Load Generation</strong></p>
<p>We’re using a script that runs searches against the Splunk instances above for a 5-minute period.  The searches look for a random user id that we have generated between 1 and 1 million.  We can control the number of searches executing concurrently and have tested at increasing concurrency from 1 to 32.  In a real world Splunk setup this single concurrent search workload would look similar to an individual submitting 1 search at a time, then waiting for results and submitting another search.  A test with 32 concurrent searches would look like 32 Splunk users each submitting 1 search at the same time, each waiting for a result, then each submitting another search.</p>
<p>&nbsp;<br />
<strong>Results</strong></p>
<p>The chart below represents how many distinct searches were able to complete in a 1-minute time frame for each of these I/O setups.</p>
<p><a href="http://blogs.splunk.com/wp-content/uploads/2012/05/ssd_results1.png"><img class="alignleft size-full wp-image-7827" src="http://blogs.splunk.com/wp-content/uploads/2012/05/ssd_results1.png" alt="" width="770" height="593" /></a></p>
<p>&nbsp;<br />
So, for example, with 1 concurrent user, the 7200 I/O setup was able to execute 9 searches in a 1-minute span for an average search execution time of around 6.5 seconds.  This is not bad at all and helped along by a feature we released in Splunk 4.3 called bloom filters that reduces the amount of time searches take looking for rare terms: </p>
<p><a href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Bloomfilters">http://docs.splunk.com/Documentation/Splunk/latest/Admin/Bloomfilters</a></p>
<p>But holy crap, look at the SSD results!  At 32 concurrent searches we are able to complete almost 2000 searches per minute.  This is a manifestation of SSD’s having superior random read performance over a traditional hard disk drive.</p>
<p>&nbsp;<br />
<strong>Conclusion</strong></p>
<p>As the $/GB of SSD’s continues to improve versus traditional hard disk drives, it makes sense to evaluate them for Splunk environments where you might reap order of magnitude or greater return on search thruput.  In fact you could even make the argument that since other workloads are nearly at parity and sparse searches in Splunk have such huge upside on SSD, you should consider putting your hot and warm Splunk indices on SSD with cold perhaps on spinning media.  I’m not saying that there aren’t other factors you should weigh when deploying enterprise SSDs but with performance like this, it should definitely be on your radar.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.splunk.com/2012/05/10/quantifying-the-benefits-of-splunk-with-ssds/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Identifying Phishing Sites in Your Events</title>
		<link>http://blogs.splunk.com/2012/05/07/identifying-phishing-sites-in-your-events/</link>
		<comments>http://blogs.splunk.com/2012/05/07/identifying-phishing-sites-in-your-events/#comments</comments>
		<pubDate>Mon, 07 May 2012 22:08:16 +0000</pubDate>
		<dc:creator>Nimish Doshi</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[phishing]]></category>
		<category><![CDATA[phishtank]]></category>
		<category><![CDATA[scripted input]]></category>

		<guid isPermaLink="false">http://blogs.splunk.com/?p=7806</guid>
		<description><![CDATA[<p>Recently, I thought I was caught in a phishing scheme where I created an account on an e-commerce site to checkout and as soon as I clicked on the checkout button, it asked me to log onto a well known site. It turned out that the original site was badly implemented and it should have told users that they are affiliates with the other site. Nevertheless, I went to <a href="http://http://www.phishtank.com/">Phishtank</a> to make sure that no one had complained about the original e-commerce site.</p>
<p>This got me thinking that since phishing occurs all too often, there must be a way for a corporations to verify that their users are not going to phishing sites and if they are to know&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Recently, I thought I was caught in a phishing scheme where I created an account on an e-commerce site to checkout and as soon as I clicked on the checkout button, it asked me to log onto a well known site. It turned out that the original site was badly implemented and it should have told users that they are affiliates with the other site. Nevertheless, I went to <a href="http://http://www.phishtank.com/">Phishtank</a> to make sure that no one had complained about the original e-commerce site.</p>
<p>This got me thinking that since phishing occurs all too often, there must be a way for a corporations to verify that their users are not going to phishing sites and if they are to know about it when it does happen through alerts. What I ended up doing was building a simple app, called <a href="http://http://splunk-base.splunk.com/apps/47440/phishing-lookup">Phishing Lookup</a>, available on <a href="http://splunk-base.splunk.com/apps/">Splunkbase</a>, that can used to automate this exercise using the data from the phishtank.</p>
<p>What the app does is once a day (or it could be configured to once a hour) it downloads the latest list of verified phishing sites as a CSV file through Splunk&#8217;s scripted input. I provide two ways to do the correlation to see if your events contain any web addresses that are known phishing sites. First, I provide a simple form search dashboard where you input one of your event sourcetype names, the field in your sourcetype that represents a URL, and a time range. After the search returns, if you get no results, that&#8217;s a good thing. If you do get results, you may want to investigate why your applications or browsers have been surfing known phishing sites.</p>
<p><a href="http://blogs.splunk.com/wp-content/uploads/2012/05/phishing_lookup.jpg"><img src="http://blogs.splunk.com/wp-content/uploads/2012/05/phishing_lookup.jpg" alt="" width="942" height="720" class="aligncenter size-full wp-image-7807" /></a></p>
<p>The other way to use this is to set up a Splunk alert by calling the included macro phishing(sourcetype name, name of URL field) on a schedule. If the number of events returned is greater than zero, the alert action should be executed. This automates the process rather than having to do this manually by using the dashboard.</p>
<h3>Real World Usage</h3>
<p>This by itself sound theoretical, so how would you use it in the real world? One data source that comes to mind are your proxy logs as they have definite evidence that your user or application attempted to contact a site. Even if you have network software in place to block the eventual connection, it would be worth knowing that the attempt was made. If you are using Bluecoat proxy logs, there is <a href="http://splunk-base.splunk.com/apps/22335/splunk-for-bluecoat">already an app to report on Bluecoat events</a> upon which you could then correlate with phishing data, but the correlation with any set of proxy events should be possible with my simple phishing lookup app.</p>
<p>We should not stop there as many phishing attacks originate with email and often have patterns in subjects that make identifying them a little easier. If you use Exchange, you could install the <a href="http://splunk-base.splunk.com/apps/28976/splunk-app-for-microsoft-exchange">Exchange App</a> on Splunkbase to monitor these devious subjects. Also, mail that contains only one line links and no subject may be suspicious.</p>
<p>Often the goal of a phishing attack is to make you log into some site that you think is legitimate to steal credentials and other forms of identity. Some attacks may have a different purpose where simply clicking on the link in an email or a web site may initiate the installation of malware, which may go unnoticed for a long time. In this situation, not only would installed anti-viruses, anti-virus logs, and endpoint protection be valuable, but also an inventory of installed desktop apps may help in an investigation of unapproved software. For instance, on Splunkbase, the <a href="http://splunk-base.splunk.com/apps/47372/splunk-app-for-citrix-xendesktop">Splunk App for Citrix Xen Desktop</a>, could be used to take an inventory of all virtual and physical desktops to see where else suspicious malware may be installed.</p>
<p>Finally, if you have been using Splunk for some time with these various sources, you may want to use all your apps along with their event data to see if the same phishing attack occurred months ago using the same investigative approaches of looking at proxy events, web access logs, email subjects, and desktop inventories. This would help identify the Advance Persistent Threat, something which may not be possible with traditional SIEM vendors that do not store events for as long as you need them for forensic search and alerts. In summary, I hope my simple app to correlate phishing sites with your data and the points in this article are useful in maintaining your network&#8217;s security.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.splunk.com/2012/05/07/identifying-phishing-sites-in-your-events/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I invested in a shiny new tool/technology&#8230;</title>
		<link>http://blogs.splunk.com/2012/05/03/i-invested-in-a-shinny-new-tooltechnology/</link>
		<comments>http://blogs.splunk.com/2012/05/03/i-invested-in-a-shinny-new-tooltechnology/#comments</comments>
		<pubDate>Thu, 03 May 2012 21:52:44 +0000</pubDate>
		<dc:creator>Rahul Deshmukh</dc:creator>
				<category><![CDATA[Customers]]></category>
		<category><![CDATA[Where will your Data Take You?]]></category>
		<category><![CDATA[analytics]]></category>
		<category><![CDATA[enterprise software]]></category>
		<category><![CDATA[value from technology investment]]></category>

		<guid isPermaLink="false">http://blogs.splunk.com/?p=7767</guid>
		<description><![CDATA[<p>You hear this quite often.  We all love to share the excitement of a new purchase &#8211; be a new car or a new gadget.  Feelings from purchasing a new software are no different.   Organizations tout on their investment in a new tool or technology, soon to realize that they have not achieved the full value or benefit from their investment.  There is a perception that investment in tools/technology is the answer to all the problems.  Well that is just the beginning for solving the problems.  There are two important questions that I tend to ask:</p>
<p>1) Was your selection the best for solving the problem you were aiming to solve?</p>
<p>2) Have you invested the right resources or&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>You hear this quite often.  We all love to share the excitement of a new purchase &#8211; be a new car or a new gadget.  Feelings from purchasing a new software are no different.   Organizations tout on their investment in a new tool or technology, soon to realize that they have not achieved the full value or benefit from their investment.  There is a perception that investment in tools/technology is the answer to all the problems.  Well that is just the beginning for solving the problems.  There are two important questions that I tend to ask:</p>
<p>1) Was your selection the best for solving the problem you were aiming to solve?</p>
<p>2) Have you invested the right resources or people to derive the full value of your investment?</p>
<p><a href="http://blogs.splunk.com/wp-content/uploads/2012/05/swiss-knife.jpeg"><img class="alignnone size-full wp-image-7768" src="http://blogs.splunk.com/wp-content/uploads/2012/05/swiss-knife.jpeg" alt="" width="225" height="225" /></a></p>
<p>Let&#8217;s focus on resource and people investment in this blog post.  Quick note on the first point – IMHO,  there is no one single tool that can solve all the analytics problems for any organization.  I know some would disagree on this statement – but it is true.  If you think you are solving 100% of all the problems within the entire organization (not just a department), then you are probably missing out on some unknowns.  There will always be a tool that solves most of the problems, and incremental tools that are used to solve the niche&#8217; problems.</p>
<p>Let’s come back to the people side of analytics.  Number of thought leaders have emphasized on the need to invest in people, but none have spelled or tied it to success for the investment of the tool/technology.  Analytics Evangelist at Google, and my good friend – <a href="http://www.kaushik.net/avinash" target="_blank">Avinash Kaushik</a> came up with the <a href="http://www.kaushik.net/avinash/the-10-90-rule-for-magnificient-web-analytics-success/" target="_blank">10/90 rule</a>.  If you are investing $10 in tools/technology, invest $90 in people.  This is a great start and an ideal goal for any organization in achieving the full value of their investments.  Having talked to organizations of all sizes, I think there is more need for an 80/20 rule for enterprise level implementations.  For organizations that rely on free tools, a 10/90 rule would be perfect – the investment is only on getting the technology/tool implemented correctly.  For larger organizations, it is about implementation, scaling and availability in addition to deriving value from the investment.  I tend to bundle adoption of the technology or embedding analysis from the analytics package within the decision making process as part of the investment.  Who wants a tools sitting under the desk with nobody using the tool or technology?  There is no thumb rule on how much should be allocated to technology vs. people.  Every organization is different and should decide what is best for them.  The key point is, people investments are as necessary as technology investments.</p>
<p><a href="http://blogs.splunk.com/wp-content/uploads/2012/05/people-image.jpeg"><img class="alignnone size-full wp-image-7769" src="http://blogs.splunk.com/wp-content/uploads/2012/05/people-image.jpeg" alt="" width="284" height="177" /></a></p>
<p>Additionally, for new technologies or tools – it is also about mindset and thought leadership.  Without these two elements, most organizations will deprive themselves from deriving the full value  of the tool or technology.  A good thought leader or evangelist will think about current and future needs, craft the best way to use the technology and the available resources.  New technologies, specially seen with “big data”, needs a mindset change – you need to adapt and adopt.</p>
<p>You definitely need the right tools to make your organization successful.  Additionally, you need good people (or can we say smart people?) who can do both the items – block and tackle, as well as move the mountains.  Good talent will do wonderful things for your organization, and will show innovative things that you have never dreamt of.</p>
<p><a href="http://blogs.splunk.com/wp-content/uploads/2012/05/success.jpeg"><img class="alignnone size-full wp-image-7770" src="http://blogs.splunk.com/wp-content/uploads/2012/05/success.jpeg" alt="" width="259" height="194" /></a></p>
<p>Move beyond investing in tools/technology.  Take a holistic approach to solving your analytics needs by investing the right amount in <strong>people</strong> and technology!!</p>
<p>Are you investing wisely and setting your organization for success?</p>
<p>Please share your thoughts.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.splunk.com/2012/05/03/i-invested-in-a-shinny-new-tooltechnology/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>That happened: episode 8</title>
		<link>http://blogs.splunk.com/2012/05/03/that-happened-episode-8/</link>
		<comments>http://blogs.splunk.com/2012/05/03/that-happened-episode-8/#comments</comments>
		<pubDate>Thu, 03 May 2012 20:17:53 +0000</pubDate>
		<dc:creator>rachel perkins</dc:creator>
				<category><![CDATA[Life at Splunk]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://blogs.splunk.com/?p=7773</guid>
		<description><![CDATA[<p>This week in &#8220;That happened: notes from #splunk&#8221; a blog about the goings-on in the Splunk IRC channel: Pythonesque greetings, DrawSomething complications, time travel, and deep thoughts.</p>
<h2>The #splunk natives are a little punchy sometimes</h2>
<p>But <a href="http://www.youtube.com/watch?v=pWS8Mg-JWSg">they will not ever dump you off a bridge</a> (plus bonus <a href="https://github.com/splunk/splunk-sdk-javascript">Splunk Javascript SDK link</a>!)</p>
<p>&#60;<strong>plaintext</strong>&#62; Hello!<br />
&#60;<strong>plaintext</strong>&#62; May I have a question?<br />
&#60;^<strong>Brian</strong>^&#62; What is your favorite color?<br />
&#60;<strong>hexx_home</strong>&#62; no!<br />
&#60;<strong>madscient</strong>&#62; greetings.  many even.<br />
&#60;<strong>hexx_home</strong>&#62; you only get one<br />
&#60;<strong>tgow</strong>&#62; goferit<br />
&#60;<strong>hexx_home</strong>&#62; and you already asked it<br />
&#60;<strong>plaintext</strong>&#62; Can any of splunk&#8217;s generated graphs be accessed through the <a href="http://docs.splunk.com/Documentation/Splunk/latest/RESTAPI/RESTcontents">REST API</a>?<br />
&#60;<strong>Coccyx</strong>&#62; not through REST<br />
&#60;<strong>Coccyx</strong>&#62; but can through the Javascript SDK<br&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>This week in &#8220;That happened: notes from #splunk&#8221; a blog about the goings-on in the Splunk IRC channel: Pythonesque greetings, DrawSomething complications, time travel, and deep thoughts.</p>
<h2>The #splunk natives are a little punchy sometimes</h2>
<p>But <a href="http://www.youtube.com/watch?v=pWS8Mg-JWSg">they will not ever dump you off a bridge</a> (plus bonus <a href="https://github.com/splunk/splunk-sdk-javascript">Splunk Javascript SDK link</a>!)</p>
<p>&lt;<strong>plaintext</strong>&gt; Hello!<br />
&lt;<strong>plaintext</strong>&gt; May I have a question?<br />
&lt;^<strong>Brian</strong>^&gt; What is your favorite color?<br />
&lt;<strong>hexx_home</strong>&gt; no!<br />
&lt;<strong>madscient</strong>&gt; greetings.  many even.<br />
&lt;<strong>hexx_home</strong>&gt; you only get one<br />
&lt;<strong>tgow</strong>&gt; goferit<br />
&lt;<strong>hexx_home</strong>&gt; and you already asked it<br />
&lt;<strong>plaintext</strong>&gt; Can any of splunk&#8217;s generated graphs be accessed through the <a href="http://docs.splunk.com/Documentation/Splunk/latest/RESTAPI/RESTcontents">REST API</a>?<br />
&lt;<strong>Coccyx</strong>&gt; not through REST<br />
&lt;<strong>Coccyx</strong>&gt; but can through the Javascript SDK<br />
&lt;<strong>Coccyx</strong>&gt; !stats<br />
&lt;<strong>splunkbot</strong>&gt; Coccyx: Stats can be found at <a href="http://splunkbot.splunk.com:8080/stats/%23splunk">http://splunkbot.splunk.com:8080/stats/%23splunk</a><br />
&lt;@<strong>Splunky</strong>&gt; splunkbot&#8217;s URL: &#8220;Splunkbot Web Interface&#8221;<br />
&lt;<strong>Coccyx</strong>&gt; see that for an example<br />
&lt;<strong>Coccyx</strong>&gt; although its a bit buggy right now<br />
&lt;<strong>plaintext</strong>&gt; Many thanks!<br />
&lt;<strong>Coccyx</strong>&gt; plaintext: javascript sdk is at <a href="https://github.com/splunk/splunk-sdk-javascript">https://github.com/splunk/splunk-sdk-javascript</a> I believe<br />
&lt;<strong>plaintext</strong>&gt; Thanks<br />
&lt;<strong>plaintext</strong>&gt; I&#8217;ll check it out</p>
<h2>DrawSomething: bridging cultural gaps</h2>
<p>In other news, spelling almost always matters:</p>
<p>&lt;<strong>Drainy</strong>&gt; duckfez: Not a single word I can think of in reference to that picture fits<br />
&lt;<strong>Drainy</strong>&gt; so either I&#8217;m being stupid or you&#8217;re throwing a curveball<br />
&lt;<strong>duckfez</strong>&gt; Drainy: and I&#8217;ll be damned if I can remember what I drew<br />
&lt;<strong>Drainy</strong>&gt; live long and prosper<br />
&lt;<strong>Drainy</strong>&gt; with the <a href="http://images.wikia.com/memoryalpha/en/images/5/52/Spock_performing_Vulcan_salute.jpg">vulcan hand signal</a><br />
&lt;<strong>duckfez</strong>&gt; ah yes<br />
&lt;<strong>Drainy</strong>&gt; hint?<br />
&lt;<strong>duckfez</strong>&gt; who is famous for saying that?<br />
&lt;<strong>Drainy</strong>&gt; his name isn&#8217;t in the letters available!<br />
&lt;<strong>Drainy</strong>&gt; if we&#8217;re talking about nimoy<br />
&lt;<strong>duckfez</strong>&gt; the character<br />
&lt;<strong>Drainy</strong>&gt; ahhhhahaha<br />
&lt;<strong>Drainy</strong>&gt; massive blonde moment, spelling spock with just spok<br />
&lt;<strong>Drainy</strong>&gt; go me</p>
<h2>Now if he could just remember where he parked it&#8230;</h2>
<p>How you know he&#8217;s a real Mad Scientist:</p>
<p>&lt;<strong>madscient</strong>&gt; Got my coffee and sat down to implement something into one of my new modules, and the functionality was already there.  No recollection of this code.   Time machine i guess.</p>
<h2>The power of experience</h2>
<p>Pondering the big questions of the universe:</p>
<p>&lt;<strong>jspears</strong>&gt; Q: is root so powerful he can break a system so badly that even he can&#8217;t fix it?  A: yes!<br />
* <strong>snowmizer </strong>thinks jspears learned that from experience<br />
&lt;<strong>cerby</strong>&gt; haha. absolutely<br />
&lt;<strong>snowmizer</strong>&gt; I hear format works pretty well to fix that<br />
&lt;<strong>jspears</strong>&gt; it&#8217;s possible to redefine &#8220;fix&#8221; in some situations <img src='http://blogs.splunk.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
&lt;<strong>cerby</strong>&gt; sudo chmod -R -x / tmp/test/script.sh<br />
&lt;<strong>cerby</strong>&gt; is more than enough to destroy a system.<br />
&lt;^<strong>Brian</strong>^&gt; DOH<br />
&lt;<strong>cerby</strong>&gt; (or 6 systems if run in parallel via automation tooling <img src='http://blogs.splunk.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  )<br />
&lt;<strong>snowmizer</strong>&gt; haha<br />
&lt;<strong>cerby</strong>&gt; &lt;&#8211; experience. It&#8217;s what you get when you don&#8217;t get what you want.<br />
&lt;<strong>snowmizer</strong>&gt; I like that<br />
&lt;<strong>snowmizer</strong>&gt; I&#8217;ll have to remember that<br />
&lt;<strong>snowmizer</strong>&gt; then I&#8217;ve got lots of experience<br />
&lt;<strong>cerby</strong>&gt; Optimism is the triumph of hope over experience.<br />
&lt;<strong>snowmizer</strong>&gt; I hope this works&#8230;.<br />
&lt;<strong>snowmizer</strong>&gt; then when it doesn&#8217;t it&#8217;s a new experience<br />
&lt;<strong>jspears</strong>&gt; experience is what enables us to recognize a mistake when we make it again<br />
&lt;<strong>cerby</strong>&gt; Splunk &gt; Crushing idiotic theories about why things are slow since 2006<br />
&lt;^<strong>Brian</strong>^&gt; heh<br />
&lt;<strong>snowmizer</strong>&gt; oh sometimes you don&#8217;t need experience to know a mistake<br />
&lt;<strong>cerby</strong>&gt; Experience is the best when it helps you point out others mistakes.<br />
&lt;<strong>snowmizer</strong>&gt; sometimes you just need a computer system to tell you<br />
&lt;<strong>snowmizer</strong>&gt; there ya go</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.splunk.com/2012/05/03/that-happened-episode-8/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Updates to Splunk JavaScript SDK Now Available</title>
		<link>http://blogs.splunk.com/2012/05/01/updates-to-splunk-javascript-sdk-now-available/</link>
		<comments>http://blogs.splunk.com/2012/05/01/updates-to-splunk-javascript-sdk-now-available/#comments</comments>
		<pubDate>Tue, 01 May 2012 23:54:21 +0000</pubDate>
		<dc:creator>Paul Sanford</dc:creator>
				<category><![CDATA[Dev]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://blogs.splunk.com/?p=7740</guid>
		<description><![CDATA[<p>We recently pushed new updates to to our JavaScript SDK on GitHub.  We are keeping the name of this release as &#8220;Preview&#8221; for now.  There are some significant updates in this release that will make it even easier to build your Splunk applications in JavaScript.</p>
<h3>Updates</h3>
<p><strong>Improvement to state management</strong></p>
<p>In previous versions, the SDK kept a notion of whether an entity or collection was in a &#8220;valid&#8221; state. This notion has been taken out, and these resources now only contain a local cache which can be refreshed at will by calling <em>fetch()</em> on that resource. For example:</p>
<pre><code>job.fetch(function(err, job) {
    // the local cache is now refreshed
});
</code></pre>
<p><em>fetch()</em> is now the only method of refreshing a resource. When <em>fetch()</em>&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>We recently pushed new updates to to our JavaScript SDK on GitHub.  We are keeping the name of this release as &#8220;Preview&#8221; for now.  There are some significant updates in this release that will make it even easier to build your Splunk applications in JavaScript.</p>
<h3>Updates</h3>
<p><strong>Improvement to state management</strong></p>
<p>In previous versions, the SDK kept a notion of whether an entity or collection was in a &#8220;valid&#8221; state. This notion has been taken out, and these resources now only contain a local cache which can be refreshed at will by calling <em>fetch()</em> on that resource. For example:</p>
<pre><code>job.fetch(function(err, job) {
    // the local cache is now refreshed
});
</code></pre>
<p><em>fetch()</em> is now the only method of refreshing a resource. When <em>fetch()</em> is called, the returned state from the server will be cached locally, and is accessible to you. For instances of <em>Entity</em> (e.g. <em>Job</em>, <em>SavedSearch</em>, etc), the following methods are available:</p>
<ul>
<li><em>state()</em>: the entire state for this entity (everything contained below)</li>
<li><em>properties()</em>: the properties of this entity</li>
<li><em>fields()</em>: the fields (e.g. required, optional, etc) of this entity</li>
<li><em>acl()</em>: the Access Control List for this entity</li>
<li><em>links()</em>: the links for this entity</li>
<li><em>author</em>: the author field for this entity</li>
<li><em>updated</em>: the updated time for this entity</li>
<li><em>published</em>: the published time for this entity</li>
</ul>
<p>And for instances of <em>Collection</em> (e.g. <em>Jobs</em>, <em>SavedSearches</em>):</p>
<ul>
<li><em>state()</em>: the entire state for this collection (everything contained below)</li>
<li><em>list()</em>: the list of entities for this collection</li>
<li><em>paging()</em>: the paging values for this collection (e.g. total count, offset)</li>
<li><em>links()</em>: the links for this collection</li>
<li><em>updated</em>: the updated time for this collection</li>
</ul>
<p><strong>Improvement to asynchronous state management functions</strong><br />
In previous versions of the SDK, nearly all functions that interacted with a given resource (e.g. a <em>Job</em> entity) where asynchronous. Now, only three core functions are asynchronous: <em>fetch()</em>, <em>update()</em> and <em>create()</em>. Both <em>list()</em> and <em>item()</em> are now completely synchronous.</p>
<p><strong>Proper support for Splunk namespaces (i.e. <em>owner/app</em>).</strong><br />
In previous versons of the SDK, the only way to specify which namespace you wanted a particular resource fetched from was to create a new<em>Service</em> instance. In this version, you can now specify it when the resource is fetched. For example:</p>
<pre><code>// Fetch from "user"/"awesome_app" namespace
var jobs = service.jobs({owner: "user", app: "awesome_app"});
</code></pre>
<p><strong>Ability to paginate and filter collections.</strong><br />
You can now paginate and filter collections. For example, to get only two saved searches starting from the 2nd offset:</p>
<pre><code>var searches = service.savedSearches();
searches.fetch({count: 2, offset: 2}, function(err, searches) {
    console.log(searches.list().length); // is 2
});
</code></pre>
<p>The full list of options is: <em>count</em>, <em>offset</em>, <em>search</em>, <em>sort_dir</em>, <em>sort_key</em>, <em>sort_mode</em>.</p>
<p><strong>You can now abort asynchronous HTTP requests.</strong><br />
When you issue an asynchronous HTTP request (which is all requests), you can now abort this request at any time:</p>
<pre><code>var job = ...;
var req = job.fetch(function(err) { ... });
req.abort();
</code></pre>
<p>The callback will be invoked with the error value set to <em>&#8220;abort&#8221;</em>.</p>
<p><strong>Explicit login is not required if a username and password is provided.</strong><br />
In previous versions of the SDK, you always had to either perform an explicit login or provide a session key. You can now simply pass in a username and password, and on the first request, you will be auto-logged in. Furthermore, if any request returns a <em>401</em> error, the SDK will attempt to log you back in once.</p>
<p>What was once:</p>
<pre><code>var service = new splunkjs.Service(...);
service.login(function(err) {
    service.search(...);
});
</code></pre>
<p>is now simply:</p>
<pre><code>var service = new splunkjs.Service(...);
service.search(...);
</code></pre>
<p><strong>Splunk Storm support</strong><br />
<a href="https://www.splunkstorm.com/" target="_blank">Splunk Storm</a> is an exciting new offering providing you with the Splunk you know, on the cloud, and much improved! The SDK now supports Storm, specifically the ability to send data to Storm over HTTP. To work with Storm, you simply create a <em>StormService</em> rather than a <em>Service</em>:</p>
<pre><code>var storm = new splunkjs.StormService({token: "ABC"});
storm.log(
    "MY AWESOME LOG MESSAGE",
    {project: "XYZ123", sourcetype: "GO"},
    function(err, response) {
        console.log("DATA IS IN STORM!");
    }
);
</code></pre>
<p><strong>Several new entities and collections have been implemented:</strong><br />
We now have support for more of the Splunk REST API, specifically:</p>
<ul>
<li><em>Users</em> and <em>User</em>, and the ability to get the current user.</li>
<li><em>Views</em> and <em>View</em>.</li>
<li><em>Service.parse()</em>.</li>
<li><em>Service.typeahead()</em>.</li>
<li><em>Service.serverInfo()</em>.</li>
</ul>
<p><strong>Streamlining of submitting events to Splunk</strong><br />
Submitting events to Splunk over HTTP is now easier, with a simple method on the <em>Service</em>:</p>
<pre><code>var service = new splunkjs.Service();
service.log(
    "MY AWESOME LOG MESSAGE",
    {index: "MY_INDEX", sourcetype: "GO"},
    function(err, response) {
        console.log("DATA IS IN SPLUNK!");
    }
);
</code></pre>
<p><strong><em>SavedSearch.history</em> returns actual <em>Job</em> instances</strong><br />
Previously, when calling <em>SavedSearch.history()</em>, the SDK returned a simple object containing the information corresponding to that dispatch of the saved search. The SDK will now create real <em>Job</em> instances when you call <em>SavedSearch.history</em>:</p>
<pre><code>var savedSearch = ...;
savedSearch.history(function(err, jobs) {
    // jobs is an array of splunkjs.Service.Job instances
});
</code></pre>
<p><strong>Improved JSON format</strong><br />
The JSON format that is returned by Splunk (through the <em>xml2json</em>, previously known as <em>new_english</em>, translation app) has been improved. It is now much closer to the JSON format that will be available in core Splunk in a future version.</p>
<h2>Breaking Changes</h2>
<p><strong>Namespace naming changes</strong><br />
The <em>Splunk</em> namespace is now <em>splunkjs</em>. <em>Client</em> has been renamed to <em>Service</em> and all classes are now rooted there (e.g.<em>splunkjs.Service.Job</em>). This will make it easier to include the SDK in a Splunk app.</p>
<p><strong>Method changes</strong></p>
<ul>
<li>The <em>read()</em> and <em>refresh()</em> methods have been removed, and replaced with <em>fetch()</em>, which will always fetch a copy from the server.</li>
<li><em>contains()</em> has been removed.</li>
<li><em>item()</em> is now a synchronous method, operating on the local cache of a collection.</li>
<li><em>list()</em> is now a synchronous method, returning the local cache of a collection.</li>
<li><em>properties()</em> now returns only the properties of an object (the values in the <em>&lt;content&gt;</em>/<em>content</em> object).</li>
</ul>
<p><strong><em>xml2json Translation</em></strong><br />
The XML to JSON translation app previously known as <em>new_english</em> has been renamed to <em>xml2json</em>, as well as vastly improved. You will need to delete your old copy of <em>new_english</em> and instead copy <em>xml2json</em> to <em>$SPLUNK_HOME/etc/apps</em>.</p>
<p><strong><em>Properties</em>, <em>PropertyFile</em> and <em>PropertyStanza</em> have been removed</strong><br />
The above classes were redundant with <em>Configurations</em>, <em>ConfigurationFile</em> and <em>ConfigurationStanza</em>.</p>
<p><strong><em>conf.js</em> sample has been removed</strong><br />
This sample was an incorrect implementation of the Splunk conf system.</p>
<h3>Getting Started &amp; Staying Connected</h3>
<p>Watch and fork Splunk’s JavaScript SDK on <a href="https://github.com/splunk/splunk-sdk-javascript" target="_blank">GitHub</a>.  Learn more about how to get started with the <a href="http://dev.splunk.com/view/javascript-sdk/SP-CAAAECM" target="_blank">JavaScript SDK on our developer site</a>.  Stay up to date on the latest developments by following us on Twitter at <a href="http://twitter.com/splunkdev" target="_blank">@splunkdev</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.splunk.com/2012/05/01/updates-to-splunk-javascript-sdk-now-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Splunkbase feature: direct installs from an app&#8217;s Splunkbase page into Splunk</title>
		<link>http://blogs.splunk.com/2012/04/30/new-splunkbase-feature-direct-installs-from-an-apps-splunkbase-page-into-splunk/</link>
		<comments>http://blogs.splunk.com/2012/04/30/new-splunkbase-feature-direct-installs-from-an-apps-splunkbase-page-into-splunk/#comments</comments>
		<pubDate>Mon, 30 Apr 2012 20:53:57 +0000</pubDate>
		<dc:creator>Olexandr Prokhorenko</dc:creator>
				<category><![CDATA[Dev]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Splunkbase]]></category>

		<guid isPermaLink="false">http://blogs.splunk.com/?p=7718</guid>
		<description><![CDATA[<p>I am happy to announce a new feature on Splunkbase &#8211; direct installs from an app&#8217;s Splunkbase page into Splunk.  No more downloads and messing with files.  Just click &#8220;<strong>Install into Splunk</strong>&#8221; button and your Splunk instance will automatically pick up the App from Splunkbase and install it.</p>
<p>It&#8217;s pretty easy.  To enable this feature, go to <a href="http://splunk-base.splunk.com/">Splunkbase</a>, open your user&#8217;s profile, click on &#8220;<strong>Edit users settings</strong>&#8221; &#8211; &#8220;<strong>Edit profile</strong>&#8220;.  You will be able to see new input field there, &#8220;<strong><label for="id_splunk_instance">Splunk Instance</label></strong>&#8220;. Note that the Splunk instance  that you specify in this field  can reside in a closed network, and it does not need to have Internet access, but your local computer must be able to access it.  Also,&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>I am happy to announce a new feature on Splunkbase &#8211; direct installs from an app&#8217;s Splunkbase page into Splunk.  No more downloads and messing with files.  Just click &#8220;<strong>Install into Splunk</strong>&#8221; button and your Splunk instance will automatically pick up the App from Splunkbase and install it.</p>
<p>It&#8217;s pretty easy.  To enable this feature, go to <a href="http://splunk-base.splunk.com/">Splunkbase</a>, open your user&#8217;s profile, click on &#8220;<strong>Edit users settings</strong>&#8221; &#8211; &#8220;<strong>Edit profile</strong>&#8220;.  You will be able to see new input field there, &#8220;<strong><label for="id_splunk_instance">Splunk Instance</label></strong>&#8220;. Note that the Splunk instance  that you specify in this field  can reside in a closed network, and it does not need to have Internet access, but your local computer must be able to access it.  Also, you can use either IP or FQDN here, as long as it forms a valid URL.</p>
<p style="text-align: center"><a href="http://blogs.splunk.com/wp-content/uploads/2012/04/edit_profile.png"><img class="aligncenter size-full wp-image-7720" style="border: 1px solid #aaaaaa" src="http://blogs.splunk.com/wp-content/uploads/2012/04/edit_profile.png" alt="" width="692" height="455" /></a></p>
<p>Update your profile and navigate to the <a href="http://splunk-base.splunk.com/tags/splunk-supported/?view=apps">Apps</a> listing page.  Pick any app and click on it. You should see a new &#8220;<strong>Install into Splunk</strong>&#8221; button above &#8220;<strong>Download App</strong>&#8221; one.  Clicking on it will redirect you to your Splunk instance and app installation process will continue.  It&#8217;s that easy.</p>
<p style="text-align: center"><a href="http://blogs.splunk.com/wp-content/uploads/2012/04/install_button.png"><img class="aligncenter size-full wp-image-7721" style="border: 1px solid #aaaaaa" src="http://blogs.splunk.com/wp-content/uploads/2012/04/install_button.png" alt="" width="697" height="386" /></a></p>
<p>I hope you will find this feature useful and that you will start exploring our vastly growing collection of apps on <a href="http://splunk-base.splunk.com/apps/all/?sort=downloads">Splunkbase</a> (total <a href="http://splunk-base.splunk.com/apps/all/?sort=downloads">250</a> apps as of today).</p>
<p>As always, I greatly appreciate your feedback. Please don’t hesitate to send me your suggestions by <a href="mailto:op@splunk.com">email</a>.</p>
<p style="text-align: center">
]]></content:encoded>
			<wfw:commentRss>http://blogs.splunk.com/2012/04/30/new-splunkbase-feature-direct-installs-from-an-apps-splunkbase-page-into-splunk/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

