<?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>inder</title>
	<atom:link href="http://blogs.splunk.com/inder/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.splunk.com/inder</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Thu, 21 Aug 2008 15:48:44 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>We are hiring ActionScript/Flex engineers&#8230;.</title>
		<link>http://blogs.splunk.com/inder/2008/08/21/we-are-hiring-actionscriptflex-engineers/</link>
		<comments>http://blogs.splunk.com/inder/2008/08/21/we-are-hiring-actionscriptflex-engineers/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 15:48:44 +0000</pubDate>
		<dc:creator>Inder Sabharwal</dc:creator>
		
		<category><![CDATA[jobs]]></category>

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

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

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

		<guid isPermaLink="false">http://blogs.splunk.com/inder/?p=412</guid>
		<description><![CDATA[Splunk is hiring ActionScript/Flex engineers to build new products for the Enterprise team. If you have been building Enterprise and/or Web applications using AS/Flex, we would love to talk to you.
Also, if you are a UI engineer using Java or .NET or AJAX (jQuery, ExtJS, etc..) technologies, and are motivated to move to ActionScript/Flex, we [...]]]></description>
			<content:encoded><![CDATA[<p>Splunk is hiring ActionScript/Flex engineers to build new products for the Enterprise team. If you have been building Enterprise and/or Web applications using AS/Flex, we would love to talk to you.</p>
<p>Also, if you are a UI engineer using Java or .NET or AJAX (jQuery, ExtJS, etc..) technologies, and are motivated to move to ActionScript/Flex, we will provide you with the tools and mentoring to be successful in this position.</p>
<p>Experience in building network topology visualizations is a big plus!</p>
<p>All resumes can be emailed to <a href="mailto:inder@splunk.com">me</a> directly.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.splunk.com/inder/2008/08/21/we-are-hiring-actionscriptflex-engineers/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Deployed bundles not taking effect?</title>
		<link>http://blogs.splunk.com/inder/2008/07/28/local-and-deployed-bundles/</link>
		<comments>http://blogs.splunk.com/inder/2008/07/28/local-and-deployed-bundles/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 21:25:09 +0000</pubDate>
		<dc:creator>Inder Sabharwal</dc:creator>
		
		<category><![CDATA[dev]]></category>

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

		<guid isPermaLink="false">http://blogs.splunk.com/inder/?p=410</guid>
		<description><![CDATA[Changes made in /etc/system/local override any configuration bundles that you may be trying to publish to your Splunk instances using a DeploymentServer. 

Serveral customers have reported that DeploymentServer configuration bundles were not taking effect, only to realize after several troubleshooting cycles that there was some configuration in /etc/system/local that was preventing that from happening. Note [...]]]></description>
			<content:encoded><![CDATA[<p>Changes made in <code>/etc/system/local</code> override any configuration bundles that you may be trying to publish to your Splunk instances using a DeploymentServer. </p>
<p>
Serveral customers have reported that DeploymentServer configuration bundles were not taking effect, only to realize after several troubleshooting cycles that there was some configuration in <code>/etc/system/local</code> that was preventing that from happening. Note that any configuration in <code>/etc/system/local</code> will always take precedence over any other configuration in the system - even deployed bundles.</p>
<p>
So, if you are stuck in this position, please make sure to check your <code>/etc/system/local</code> before hitting the panic button!</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.splunk.com/inder/2008/07/28/local-and-deployed-bundles/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Aggregating Metrics from all your Splunks&#8230;</title>
		<link>http://blogs.splunk.com/inder/2008/05/15/aggregating-metrics/</link>
		<comments>http://blogs.splunk.com/inder/2008/05/15/aggregating-metrics/#comments</comments>
		<pubDate>Fri, 16 May 2008 00:05:31 +0000</pubDate>
		<dc:creator>Inder Sabharwal</dc:creator>
		
		<category><![CDATA[dev]]></category>

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

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

		<category><![CDATA[enterprise management oem]]></category>

		<guid isPermaLink="false">http://blogs.splunk.com/inder/2008/05/15/aggregating-metrics/</guid>
		<description><![CDATA[If you found that the new metrics being generated by Splunk on the input (indexing in many cases) and forwarding side to be useful, I am sure you would want to aggregate them all in a central location. Well, you can do that by using Splunk&#8217;s forwarding mechanism itself! Although, it does not matter where [...]]]></description>
			<content:encoded><![CDATA[<p>If you found that the <a href="http://blogs.splunk.com/inder/2008/05/15/forwarder-and-indexer-metrics/">new metrics being generated</a> by Splunk on the input (indexing in many cases) and forwarding side to be useful, I am sure you would want to aggregate them all in a central location. Well, you can do that by using Splunk&#8217;s <a href="http://www.splunk.com/doc/3.2.3/admin/ForwardingandReceiving" target="_blank">forwarding</a> mechanism itself! Although, it does not matter where you aggregate these metrics, I believe the <a title="How the deployment server works" href="http://www.splunk.com/doc/3.2.3/admin/HowDeploymentServerWorks" target="_blank">Deployment Server</a> instance could be a good location, if you have one setup for your installation.</p>
<h3>Forwarding metrics.log</h3>
<p>Forwarding <em>metrics.log</em> will require that you make the following changes to the configuration on each Splunk instance that you would like to collect the metrics from:</p>
<li>Edit or create <code>inputs.conf</code> in <code>$SPLUNK_HOME/etc/system/local</code> folder<br />
<blockquote><p>[monitor://$SPLUNK_HOME/var/log/splunk/metrics.log]</p>
<p>_TCP_ROUTING = RouteMetricsToDeploymentServer</p></blockquote>
</li>
<li>Similarly for <code>outputs.conf</code><br />
<blockquote><p>[tcpout]<br />
disabled=false<br />
[tcpout:RouteMetricsToDeploymentServer]<br />
server=&lt;deployment_sever_ip&gt;:&lt;deployment_server_port&gt;</p></blockquote>
</li>
<p>If you have many Splunks in your environment, then making these changes on each one of them manually is certainly not an option you would cherish. This is where Deployment Server can help you centralize all your configurations in one place and distribute them to all or selected instances.</p>
<p>Here&#8217;s something I like to do</p>
<h3>1. Have all Splunks point to a common Deployment Server</h3>
<p>This can be achieved very easily by creating/editing <code>deployment.conf</code> in <code>$SPLUNK_HOME/etc/system/local</code> on each Splunk instance.</p>
<blockquote><p>[deployment-client]<br />
deploymentServerUri=&lt;your_deployment_server_uri&gt;:&lt;mgmt_port&gt;</p></blockquote>
<p>For some of my distributed testing on EC2, I have images that include this configuration in the default image (AMI). Using this approach guarantees that configurations never ever have to be changed by hand!</p>
<h3>2. Create a bundle</h3>
<p>Create a bundle by any name (I called it <em>deployable</em>) and make sure it is available in your Deployment Server&#8217;s <code><a href="http://www.splunk.com/doc/3.2.3/admin/ConfigDeploymentServer">serverClassPath</a></code>. This bundle should have two files - inputs.conf and outputs.conf - as described above - <a href="http://blogs.splunk.com/devuploads/2008/05/deployabletar.gz">here&#8217;s a sample bundle</a> you could re-use.</p>
<h3>3. Make the bundle available to all Splunks</h3>
<p>Make all deployment clients that connect to the deployment server to be part of the <em>deployable</em> service class. This is achieved by changing deployment.conf on Deployment Server again as:</p>
<blockquote><p>[distributedDeployment-classMaps]<br />
*=deployable</p></blockquote>
<h3>4. Refresh Deployment Server Configuration</h3>
<p>This CLI on your Deployment Server instance will make it aware of the new configuration without a restart:</p>
<blockquote><p>splunk reload deploy-server -auth admin:changeme</p></blockquote>
<p>You are now all set and all Splunks in your environment will automagically download and apply the bundles within a minute! And in another 30 seconds, your Deployment Server will start aggregating metrics information about your <strong>entire data-center</strong>!</p>
<p>We want to hear about your experiences in managing Splunk - use the Comments below or send me an email directly at <a href="mailto:inder@splunk.com">inder@splunk.com</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.splunk.com/inder/2008/05/15/aggregating-metrics/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Forwarder and Indexer Metrics</title>
		<link>http://blogs.splunk.com/inder/2008/05/15/forwarder-and-indexer-metrics/</link>
		<comments>http://blogs.splunk.com/inder/2008/05/15/forwarder-and-indexer-metrics/#comments</comments>
		<pubDate>Thu, 15 May 2008 16:36:09 +0000</pubDate>
		<dc:creator>Inder Sabharwal</dc:creator>
		
		<category><![CDATA[dev]]></category>

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

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

		<category><![CDATA[enterprise management]]></category>

		<guid isPermaLink="false">http://blogs.splunk.com/inder/2008/05/15/forwarder-and-indexer-metrics/</guid>
		<description><![CDATA[If you were always wondering how much data was being transferred between your forwarders and indexers, we may have some help for you. Splunk now publishes these metrics to metrics.log, which are by default tailed and indexed in  &#8220;_internal&#8221;.
Forwarding-side
Splunk uses a component called TcpOutputProcessor, which is configured using outputs.conf, to forward data to another [...]]]></description>
			<content:encoded><![CDATA[<p>If you were always wondering how much data was being transferred between your forwarders and indexers, we may have some help for you. Splunk now publishes these metrics to metrics.log, which are by default tailed and indexed in  &#8220;_internal&#8221;.</p>
<h3>Forwarding-side</h3>
<p>Splunk uses a component called <span style="font-style: italic" class="Apple-style-span">TcpOutputProcessor</span>, which is configured using outputs.conf, to forward data to another Splunk or non-Splunk entity. This is something that a lot of people also refers to as a <span style="font-style: italic" class="Apple-style-span">forwarder</span>. Each TcpOutputProcessor instance publishes metrics events every 30 seconds - all the fields of these events are described below:</p>
<ul>
<li> <span style="font-weight: bold" class="Apple-style-span">group=tcpout_connections</span> - this field discriminates this event as being a TcpOutput metric.</li>
<li><span style="font-weight: bold" class="Apple-style-span">tcpout_group_name:destIp:destPort</span> - the load-balanced group that this metric belongs to. If you have multiple groups defined, a separate event is published for each of those groups.</li>
<li><span style="font-weight: bold" class="Apple-style-span">host metadata</span> - is always available in an event, and refers to the host on which the forwarder is running.</li>
<li><span style="font-weight: bold" class="Apple-style-span">sourcePort</span> - the local port that is used to connect to the remote entity.</li>
<li><span style="font-weight: bold" class="Apple-style-span">destIp</span> - the ip address of the remote server to which events are being forwarded.</li>
<li><span style="font-weight: bold" class="Apple-style-span">destPort</span> - the destination port on which events are being forwarded.</li>
<li><span style="font-weight: bold" class="Apple-style-span">tcp_bps</span> - bytes per second averaged over last 30 seconds.</li>
<li><span style="font-weight: bold" class="Apple-style-span">tcp_kbprocessed</span> - total KBytes processed since this connection went live.</li>
<li><span style="font-weight: bold" class="Apple-style-span">tcp_eps</span> - events per second averaged over last 30 seconds.</li>
<li><span style="font-weight: bold" class="Apple-style-span">tcp_dropped_events</span> - number of events dropped on this connection.</li>
</ul>
<h3>Indexing side</h3>
<p>Similarly on the indexing side, if you have configured inputs.conf to receive data from one or more forwarders, a metrics event is published every 30 seconds for <span class="Apple-style-span" style="font-style: italic">each</span> connection into your indexer. All the fields of a metrics event on the input side are described below:</p>
<ul>
<li> <span class="Apple-style-span" style="font-weight: bold">group=tcpin_connections</span> - this field discriminates this event as being an input metric.</li>
<li><span class="Apple-style-span" style="font-weight: bold">sourceHost</span> - The hostname of the entity that is forwarding data to this indexer. If hostname is not available, then it&#8217;s IP address is used.</li>
<li><span class="Apple-style-span" style="font-weight: bold">sourcePort</span> - The remote port of the forwarding entity.</li>
<li><span class="Apple-style-span" style="font-weight: bold">destPort</span> - The local port on the input side for which this metric is being collected. Typically this port is defined in inputs.conf.</li>
<li><span class="Apple-style-span" style="font-weight: bold">tcp_bps</span> - bytes per second averages over last 30 seconds.</li>
<li><span class="Apple-style-span" style="font-weight: bold">tcp_kprocessed</span> - KBytes processed since the connection was established.</li>
<li><span class="Apple-style-span" style="font-weight: bold">tcp_eps</span> - Events per second averaged over 30 seconds.</li>
</ul>
<p>These metrics will now enable you to get unusual insight into the operation of your forwarders and indexers. Here&#8217;s a sample query that you can run on each indexer instance to get a report on thruput by each forwarding entity:</p>
<blockquote><p><code>index=_internal metrics "group=tcpin_connections" | timechart span=30s avg(tcp_bps) by sourceHost</code></p></blockquote>
<p>Also, I created a <a href="http://www.splunk.com/doc/3.2.3/user/Alerting">saved search</a>, and used Splunk&#8217;s <a href="http://www.splunk.com/doc/3.2.3/user/ReportGallery">reporting features</a> to always show me the current status on a dashboard. <code> </code><code></code><code> </code><code> </code></p>
<p style="margin: 0px; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal"> <img src="http://blogs.splunk.com/devuploads/2008/05/indexer_thruput_by_forwarder.jpg" alt="Index Thruput by Forwarder" height="367" width="919" /></p>
<p>Now that you have all of this nice data, I am sure you would like it all <a href="http://dev.splunk.com/2008/05/15/aggregating-metrics/">aggregated in one location</a>.</p>
<p>Good luck playing with these metrics, and if you have any suggestions on what more you would like to see, drop me a line at <a href="mailto:inder@splunk.com" title="email inder" target="_blank">inder@splunk.com</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.splunk.com/inder/2008/05/15/forwarder-and-indexer-metrics/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
