<?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: Combine similar fields in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-Combine-similar-fields/m-p/604447#M210244</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/247443"&gt;@din98&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Please try the following (assuming that your results are already on a table):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| stats sum(Error) as Error, sum(Success) as Success by Process
| addtotals&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 05 Jul 2022 13:52:17 GMT</pubDate>
    <dc:creator>danielcj</dc:creator>
    <dc:date>2022-07-05T13:52:17Z</dc:date>
    <item>
      <title>How to Combine similar fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Combine-similar-fields/m-p/604424#M210239</link>
      <description>&lt;P&gt;Hey all,&lt;BR /&gt;&lt;BR /&gt;I have a summary table that shows these values and there are also some common values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE border="1" width="95.57707999919724%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="25%" height="25px"&gt;Process&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;Error&amp;nbsp;&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;Success&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;Total&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="25px"&gt;A&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;5&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;5&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;10&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="25px"&gt;B&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;6&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;9&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;15&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="25px"&gt;A&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;7&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;2&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;9&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="25px"&gt;C&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;3&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;8&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;11&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="25px"&gt;C&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;1&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;3&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;4&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="25px"&gt;B&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;5&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;5&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;10&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I want to combine these common values (under Process) and also add the numerical values together. I am hoping for a result like this in my summary table.&lt;/P&gt;
&lt;TABLE border="1" width="95.57707999919724%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="25%" height="25px"&gt;Process&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;Error&amp;nbsp;&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;Success&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;Total&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="25px"&gt;A&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;12&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;7&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;19&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="25px"&gt;B&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;11&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;14&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;25&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="25px"&gt;C&lt;/TD&gt;
&lt;TD height="25px"&gt;4&lt;/TD&gt;
&lt;TD height="25px"&gt;11&lt;/TD&gt;
&lt;TD height="25px"&gt;15&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help would be much appreciated. Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 19:56:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Combine-similar-fields/m-p/604424#M210239</guid>
      <dc:creator>din98</dc:creator>
      <dc:date>2022-07-06T19:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Combine similar fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Combine-similar-fields/m-p/604447#M210244</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/247443"&gt;@din98&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Please try the following (assuming that your results are already on a table):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| stats sum(Error) as Error, sum(Success) as Success by Process
| addtotals&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 05 Jul 2022 13:52:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Combine-similar-fields/m-p/604447#M210244</guid>
      <dc:creator>danielcj</dc:creator>
      <dc:date>2022-07-05T13:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Combine similar fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Combine-similar-fields/m-p/604457#M210248</link>
      <description>&lt;LI-CODE lang="markup"&gt;| stats sum(*) as * by Process&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 05 Jul 2022 14:35:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Combine-similar-fields/m-p/604457#M210248</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-07-05T14:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Combine similar fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Combine-similar-fields/m-p/604458#M210249</link>
      <description>&lt;P&gt;Thanks guys! I generated the results successfully &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 14:46:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Combine-similar-fields/m-p/604458#M210249</guid>
      <dc:creator>din98</dc:creator>
      <dc:date>2022-07-05T14:46:31Z</dc:date>
    </item>
  </channel>
</rss>

