<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to configure transaction in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-configure-transaction/m-p/29431#M5938</link>
    <description>&lt;P&gt;Assuming you have the data coming into Splunk properly you'll first want to extract out the relevant fields.  This wizard will help generate the required regular expression for you.  That way you can now have a field called 'session'.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Knowledge/ExtractfieldsinteractivelywithIFX"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/Knowledge/ExtractfieldsinteractivelywithIFX&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Then you can simply create a search that creates your transaction using session in this case, it could be a different value or multiple fields as well:&lt;/P&gt;

&lt;P&gt;search | transaction session&lt;/P&gt;

&lt;P&gt;This will automatically create larger transaction events and a duration field for the time.  Given your needs above, once you get to this step we can create several searches to match the transactions by session or server name etc...&lt;/P&gt;

&lt;P&gt;If you don't have the data configured in Splunk yet you'll want to start here.  It's pretty straightforward.  &lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Data/Setupcustominputs"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/Data/Setupcustominputs&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Nov 2012 19:53:54 GMT</pubDate>
    <dc:creator>sdaniels</dc:creator>
    <dc:date>2012-11-09T19:53:54Z</dc:date>
    <item>
      <title>How to configure transaction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-configure-transaction/m-p/29430#M5937</link>
      <description>&lt;P&gt;I have user login/out logs to parse. The goal is to get the information on&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Active sessions (i.e. no logout time) by server&lt;/LI&gt;
&lt;LI&gt;Total logins over certain period of time by server&lt;/LI&gt;
&lt;LI&gt;Login duration by server&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;The log files look like&lt;/P&gt;

&lt;PRE&gt;
2012-11-08 16:20:02 Start login for user 'ABCDEFG', profile: 'default', session: 'SESSION68811278'.  SERVERNAME

2012-11-08 16:29:10 Log out session 'SESSION68811278'. SERVERNAME
&lt;/PRE&gt;

&lt;P&gt;How do I set up transactions for them? Please don't just give me a link to read because I have already read it and I don't get it.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Knowledge/Searchfortransactions"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/Knowledge/Searchfortransactions&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2012 18:36:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-configure-transaction/m-p/29430#M5937</guid>
      <dc:creator>lain179</dc:creator>
      <dc:date>2012-11-09T18:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure transaction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-configure-transaction/m-p/29431#M5938</link>
      <description>&lt;P&gt;Assuming you have the data coming into Splunk properly you'll first want to extract out the relevant fields.  This wizard will help generate the required regular expression for you.  That way you can now have a field called 'session'.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Knowledge/ExtractfieldsinteractivelywithIFX"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/Knowledge/ExtractfieldsinteractivelywithIFX&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Then you can simply create a search that creates your transaction using session in this case, it could be a different value or multiple fields as well:&lt;/P&gt;

&lt;P&gt;search | transaction session&lt;/P&gt;

&lt;P&gt;This will automatically create larger transaction events and a duration field for the time.  Given your needs above, once you get to this step we can create several searches to match the transactions by session or server name etc...&lt;/P&gt;

&lt;P&gt;If you don't have the data configured in Splunk yet you'll want to start here.  It's pretty straightforward.  &lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Data/Setupcustominputs"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/Data/Setupcustominputs&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2012 19:53:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-configure-transaction/m-p/29431#M5938</guid>
      <dc:creator>sdaniels</dc:creator>
      <dc:date>2012-11-09T19:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure transaction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-configure-transaction/m-p/29432#M5939</link>
      <description>&lt;P&gt;Hi, thanks for responding.&lt;/P&gt;

&lt;P&gt;I have already set up field extraction. LoginDate, LogoutDate, UserID, Profile, UserSession, and ServerName. I know how to get what I need using stats and chart, but I want to learn about transaction.&lt;/P&gt;

&lt;P&gt;I still don't get your example of&lt;/P&gt;

&lt;P&gt;&lt;YOUR search=""&gt; | transaction session&lt;/YOUR&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2012 20:18:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-configure-transaction/m-p/29432#M5939</guid>
      <dc:creator>lain179</dc:creator>
      <dc:date>2012-11-09T20:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure transaction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-configure-transaction/m-p/29433#M5940</link>
      <description>&lt;P&gt;Ok.  I think this video (5 mins) will help.  It's a different use case but you'll see exactly what it does, how the data will look and why.  Let me know your thoughts.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/view/SP-CAAAG9X"&gt;http://www.splunk.com/view/SP-CAAAG9X&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2012 20:36:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-configure-transaction/m-p/29433#M5940</guid>
      <dc:creator>sdaniels</dc:creator>
      <dc:date>2012-11-09T20:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure transaction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-configure-transaction/m-p/29434#M5941</link>
      <description>&lt;P&gt;Hmm....I didn't think the video would have helped, but it did &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;I got the idea on how to apply to my usage now. Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2012 21:55:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-configure-transaction/m-p/29434#M5941</guid>
      <dc:creator>lain179</dc:creator>
      <dc:date>2012-11-09T21:55:27Z</dc:date>
    </item>
  </channel>
</rss>

