<?xml version="1.0" ?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
	<channel>
		<title>Splunk Base : SplunkGeneral : #4408</title>
		<link>http://www.splunk.com/support/forum:SplunkGeneral/4408</link>
		<description></description>
		<pubDate>Mon, 13 Feb 2012 09:09:01 PST</pubDate>
		<lastBuildDate>Mon, 13 Feb 2012 09:09:01 PST</lastBuildDate>
		<language>en-us</language>
		<copyright>http://creativecommons.org/licenses/by-nc-nd/2.5/</copyright>
		<item>
			<title>Create new Field and Assign existing field in transforms.conf</title>
			<link>http://www.splunk.com/support/forum:SplunkGeneral/4408/14431</link>
			<description>&lt;p&gt;Thanks very much!  I think this is what I am after!&lt;/p&gt;

</description>
			<pubDate>Tue, 27 Jul 2010 07:39:44 PDT</pubDate>
			<author>kholleran</author>
			<guid>http://www.splunk.com/support/forum:SplunkGeneral/4408/14431</guid>
		</item>
		<item>
			<title>Create new Field and Assign existing field in transforms.conf</title>
			<link>http://www.splunk.com/support/forum:SplunkGeneral/4408/14413</link>
			<description>&lt;p&gt;how about ... | eval User_Name=coalesce(User_Name,Account_Name) | stats count by User_Name&lt;/p&gt;

</description>
			<pubDate>Thu, 15 Jul 2010 13:29:39 PDT</pubDate>
			<author>gkanapathy</author>
			<guid>http://www.splunk.com/support/forum:SplunkGeneral/4408/14413</guid>
		</item>
		<item>
			<title>Create new Field and Assign existing field in transforms.conf</title>
			<link>http://www.splunk.com/support/forum:SplunkGeneral/4408/14411</link>
			<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;I am running into an issue where I want to report on the number of logins by server and user.  The issue I have is that it appears in the windows 2003 server security event log the user is defined by the username field.  However, in Windows 2008 server it is Account Name.&lt;/p&gt;

&lt;p&gt;So if I did something like:&lt;br /&gt;
source=&amp;quot;&lt;a class=&quot;wiki_url_new&quot; href=&quot;/base/WinEventLog&quot;&gt;WinEventLog&lt;/a&gt;:Security&amp;quot; &lt;a class=&quot;wiki_url_new&quot; href=&quot;/base/EventCode&quot;&gt;EventCode&lt;/a&gt;=&amp;quot;4624&amp;quot; OR &lt;a class=&quot;wiki_url_new&quot; href=&quot;/base/EventCode&quot;&gt;EventCode&lt;/a&gt;=&amp;quot;528&amp;quot;  daysago=&amp;quot;7&amp;quot; | stats count by host, User_Name | sort host&lt;/p&gt;

&lt;p&gt;only Windows 2003 is showing up due to User_Name.  I have to have:&lt;br /&gt;
source=&amp;quot;&lt;a class=&quot;wiki_url_new&quot; href=&quot;/base/WinEventLog&quot;&gt;WinEventLog&lt;/a&gt;:Security&amp;quot; &lt;a class=&quot;wiki_url_new&quot; href=&quot;/base/EventCode&quot;&gt;EventCode&lt;/a&gt;=&amp;quot;4624&amp;quot; OR &lt;a class=&quot;wiki_url_new&quot; href=&quot;/base/EventCode&quot;&gt;EventCode&lt;/a&gt;=&amp;quot;528&amp;quot;  daysago=&amp;quot;7&amp;quot; | stats count by host, Account_Name | sort host&lt;/p&gt;

&lt;p&gt;for Win 2008. I would like all this on one report.  I tried something like:&lt;br /&gt;
source=&amp;quot;&lt;a class=&quot;wiki_url_new&quot; href=&quot;/base/WinEventLog&quot;&gt;WinEventLog&lt;/a&gt;:Security&amp;quot; &lt;a class=&quot;wiki_url_new&quot; href=&quot;/base/EventCode&quot;&gt;EventCode&lt;/a&gt;=&amp;quot;4624&amp;quot; OR &lt;a class=&quot;wiki_url_new&quot; href=&quot;/base/EventCode&quot;&gt;EventCode&lt;/a&gt;=&amp;quot;528&amp;quot;  daysago=&amp;quot;7&amp;quot; | stats count by host, (User_Name OR Account_Name) | sort host&lt;br /&gt;
which did not work.  So I am figuring I need to write a transforms.  All I want to do is extract the Account_Name and assign it to a field called User_Name.&lt;/p&gt;

&lt;p&gt;I have written more complex transforms but for some reason can't get my mind around this simple one in transforms.conf.&lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;

&lt;p&gt;Kevin&lt;/p&gt;

</description>
			<pubDate>Thu, 15 Jul 2010 11:43:36 PDT</pubDate>
			<author>kholleran</author>
			<guid>http://www.splunk.com/support/forum:SplunkGeneral/4408/14411</guid>
		</item>
	</channel>
</rss>

