<?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: Transaction command in Oracle XML Logging in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Transaction-command-in-Oracle-XML-Logging/m-p/69129#M17354</link>
    <description>&lt;P&gt;Thanks David, this worked great for me.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Mar 2011 19:24:59 GMT</pubDate>
    <dc:creator>imarks004</dc:creator>
    <dc:date>2011-03-29T19:24:59Z</dc:date>
    <item>
      <title>Transaction command in Oracle XML Logging</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transaction-command-in-Oracle-XML-Logging/m-p/69127#M17352</link>
      <description>&lt;P&gt;I am trying to do a search that matches on the term of commit, then use the transaction statement to tie it back to everything that has the same OS_Process field but since every event does not contain the term commit, it does not show all the events.  Is this possible?
This is search "sourcetype=oracle_xml_* commit | transaction OS_Process | table Sql_Text | reverse"&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2011 00:45:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transaction-command-in-Oracle-XML-Logging/m-p/69127#M17352</guid>
      <dc:creator>imarks004</dc:creator>
      <dc:date>2011-03-29T00:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction command in Oracle XML Logging</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transaction-command-in-Oracle-XML-Logging/m-p/69128#M17353</link>
      <description>&lt;P&gt;I'm not sure how to get you 100% there, without playing with the data, but I'd try to avoid using Transaction, as it slows down the search considerably. I might try one of these options and see how close they get you:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[search sourcetype=oracle_xml_* commit | dedup OS_Process | fields OS_Process] 
       | table _time OS_Process Sql_Text 
       | sort OS_Process, _time

[search sourcetype=oracle_xml_* commit | dedup OS_Process | fields OS_Process] 
       | stats values(Sql_Text) by OS_Process
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;These will do a subsearch of the logs for anything containing "commit" and then pull out just the OS_Process. That way, you can do a search for just logs that actually have a commit in them, speeding up the search. You can then try to do a stats values(), or just a table with the texts. I think the latter is probably closest to what you want, but I'm not sure whether values() will sort the data oddly. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2011 01:14:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transaction-command-in-Oracle-XML-Logging/m-p/69128#M17353</guid>
      <dc:creator>David</dc:creator>
      <dc:date>2011-03-29T01:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction command in Oracle XML Logging</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transaction-command-in-Oracle-XML-Logging/m-p/69129#M17354</link>
      <description>&lt;P&gt;Thanks David, this worked great for me.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2011 19:24:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transaction-command-in-Oracle-XML-Logging/m-p/69129#M17354</guid>
      <dc:creator>imarks004</dc:creator>
      <dc:date>2011-03-29T19:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction command in Oracle XML Logging</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transaction-command-in-Oracle-XML-Logging/m-p/69130#M17355</link>
      <description>&lt;P&gt;Excellent! I'm glad to hear that solved it for you.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2011 23:50:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transaction-command-in-Oracle-XML-Logging/m-p/69130#M17355</guid>
      <dc:creator>David</dc:creator>
      <dc:date>2011-03-29T23:50:58Z</dc:date>
    </item>
  </channel>
</rss>

