<?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 how to group by transaction type in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-to-group-by-transaction-type/m-p/689443#M234941</link>
    <description>&lt;P&gt;My Log data looks like:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikc100_0-1717438117378.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/31126i51E1F9773C9179DE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="avikc100_0-1717438117378.png" alt="avikc100_0-1717438117378.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;i am using this query:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index="webmethods_prd" source="/apps/WebMethods/IntegrationServer/instances/default/logs/CXMLOrders.log" |eval timestamp=strftime(_time, "%F") | chart limit=30 count as count over TransactionType by timestamp&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have to built report on transaction type, total count date wise&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikc100_2-1717438485508.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/31128iE755D965AA814EFE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="avikc100_2-1717438485508.png" alt="avikc100_2-1717438485508.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please help to form the query,&lt;/P&gt;
&lt;P&gt;due to space it is not showing properly&lt;/P&gt;
&lt;P&gt;TransactionType = cXML OrderRequest&lt;/P&gt;
&lt;P&gt;TransactionType = cXML ConfirmationRequest&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Avik&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Jun 2024 23:17:19 GMT</pubDate>
    <dc:creator>avikc100</dc:creator>
    <dc:date>2024-06-03T23:17:19Z</dc:date>
    <item>
      <title>how to group by transaction type</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-group-by-transaction-type/m-p/689443#M234941</link>
      <description>&lt;P&gt;My Log data looks like:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikc100_0-1717438117378.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/31126i51E1F9773C9179DE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="avikc100_0-1717438117378.png" alt="avikc100_0-1717438117378.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;i am using this query:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index="webmethods_prd" source="/apps/WebMethods/IntegrationServer/instances/default/logs/CXMLOrders.log" |eval timestamp=strftime(_time, "%F") | chart limit=30 count as count over TransactionType by timestamp&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have to built report on transaction type, total count date wise&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikc100_2-1717438485508.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/31128iE755D965AA814EFE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="avikc100_2-1717438485508.png" alt="avikc100_2-1717438485508.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please help to form the query,&lt;/P&gt;
&lt;P&gt;due to space it is not showing properly&lt;/P&gt;
&lt;P&gt;TransactionType = cXML OrderRequest&lt;/P&gt;
&lt;P&gt;TransactionType = cXML ConfirmationRequest&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Avik&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 23:17:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-group-by-transaction-type/m-p/689443#M234941</guid>
      <dc:creator>avikc100</dc:creator>
      <dc:date>2024-06-03T23:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to group by transaction type</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-group-by-transaction-type/m-p/689450#M234944</link>
      <description>&lt;P&gt;I presume the problem is the table is very wide.&amp;nbsp; If so, try swapping the terms in the &lt;FONT face="courier new,courier"&gt;chart&lt;/FONT&gt; command&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="webmethods_prd" source="/apps/WebMethods/IntegrationServer/instances/default/logs/CXMLOrders.log" 
| eval timestamp=strftime(_time, "%F") 
| chart limit=30 count as count over timestamp by TransactionType&lt;/LI-CODE&gt;&lt;P&gt;Alternatively, try the &lt;FONT face="courier new,courier"&gt;timechart&lt;/FONT&gt; command.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="webmethods_prd" source="/apps/WebMethods/IntegrationServer/instances/default/logs/CXMLOrders.log" 
| eval timestamp=strftime(_time, "%F") 
| timechart useother=0 limit=30 count by TransactionType&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 19:51:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-group-by-transaction-type/m-p/689450#M234944</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-06-03T19:51:59Z</dc:date>
    </item>
  </channel>
</rss>

