<?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: Transactions/Stats? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Transactions-Stats/m-p/45137#M10659</link>
    <description>&lt;P&gt;You might want to use the &lt;A href="http://www.splunk.com/base/Documentation/latest/SearchReference/Map"&gt;map command&lt;/A&gt; to take the "Start" and "End" timestamps from your events and run sub-searches using them as parameters...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | ... get the start and end timestamps as fields... | map search="search earliest::$Start$ latest::$End$ sourcetype=.... | transaction hostname" maxsearches=10
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 19 Jul 2011 15:46:26 GMT</pubDate>
    <dc:creator>Paolo_Prigione</dc:creator>
    <dc:date>2011-07-19T15:46:26Z</dc:date>
    <item>
      <title>Transactions/Stats?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transactions-Stats/m-p/45134#M10656</link>
      <description>&lt;P&gt;I have a log file that contains multiple fields that are time oriented fields. The fields in this instance are the start time and end time of a change request.&lt;/P&gt;

&lt;P&gt;I would like to use the fields as start and end markers in a transaction to show me all system events that have occurred during the time window. The unique identifier will be the Hostname.&lt;/P&gt;

&lt;P&gt;Log source with time fields.&lt;/P&gt;

&lt;P&gt;Date:18/06/2011 10:00:00 Hostname:Foo Start:18/06/2011 15:00:00 End: 18/06/2011 15:00:00&lt;/P&gt;

&lt;P&gt;Then I have all the system events.&lt;BR /&gt;
I would like to pull all the system events together that happened in the window above for the hostname.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2011 14:28:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transactions-Stats/m-p/45134#M10656</guid>
      <dc:creator>b4ggio</dc:creator>
      <dc:date>2011-07-19T14:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Transactions/Stats?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transactions-Stats/m-p/45135#M10657</link>
      <description>&lt;P&gt;try this&lt;/P&gt;

&lt;P&gt;mysearch | transaction by Hostname&lt;/P&gt;

&lt;P&gt;then just set a custom time in the time dropdown to whatever the timerange is that you want. &lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2011 14:55:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transactions-Stats/m-p/45135#M10657</guid>
      <dc:creator>RicoSuave</dc:creator>
      <dc:date>2011-07-19T14:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Transactions/Stats?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transactions-Stats/m-p/45136#M10658</link>
      <description>&lt;P&gt;Sorry perhaps my request was quite vauge, I want to automate this to complete for each change request line that I have. Therefore the search time should be as large a space of time as required to complete all changes for a given seach, therefore I need to use the two fields similarly to a transaction that includes startswith endswith.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2011 15:28:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transactions-Stats/m-p/45136#M10658</guid>
      <dc:creator>b4ggio</dc:creator>
      <dc:date>2011-07-19T15:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Transactions/Stats?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transactions-Stats/m-p/45137#M10659</link>
      <description>&lt;P&gt;You might want to use the &lt;A href="http://www.splunk.com/base/Documentation/latest/SearchReference/Map"&gt;map command&lt;/A&gt; to take the "Start" and "End" timestamps from your events and run sub-searches using them as parameters...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | ... get the start and end timestamps as fields... | map search="search earliest::$Start$ latest::$End$ sourcetype=.... | transaction hostname" maxsearches=10
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 19 Jul 2011 15:46:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transactions-Stats/m-p/45137#M10659</guid>
      <dc:creator>Paolo_Prigione</dc:creator>
      <dc:date>2011-07-19T15:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Transactions/Stats?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transactions-Stats/m-p/45138#M10660</link>
      <description>&lt;P&gt;I cannot reference the field that has been extracted using the earliest::$Fieldname$, either that or the map command as others have indicated on other posts is not working properly.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2011 16:16:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transactions-Stats/m-p/45138#M10660</guid>
      <dc:creator>b4ggio</dc:creator>
      <dc:date>2011-07-19T16:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: Transactions/Stats?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transactions-Stats/m-p/45139#M10661</link>
      <description>&lt;P&gt;good point....what about converting the timestamps to epoch through the "convert" command, then using them into the "mapped" search as starttimeu and endtimeu?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2011 08:39:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transactions-Stats/m-p/45139#M10661</guid>
      <dc:creator>Paolo_Prigione</dc:creator>
      <dc:date>2011-07-21T08:39:10Z</dc:date>
    </item>
  </channel>
</rss>

