<?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 Help with creating table in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Help-with-creating-table/m-p/634649#M220481</link>
    <description>&lt;P&gt;Hello All -&lt;/P&gt;&lt;P&gt;I'm fairly new to Splunk and I've been racking my head for the past 8 hours trying to create a table for comparing two sets of runs.&lt;/P&gt;&lt;P&gt;My search string is as follows:&lt;/P&gt;&lt;P&gt;index="fe" source="regress_rpt" pipeline="soc" version IN ("(version="23ww09a" OR version="23ww10b")") dut="*" cthModel="*" (testlist="*") (testName="*") status=* | rex field=testPath "/regression/(?&amp;lt;regressionPath&amp;gt;.*)" | search regressionPath="*" | search regressionPath="***"| stats values(cyclesPerCpuSec) values(version) by testPath | reverse&lt;/P&gt;&lt;P&gt;This will generate a table similar to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;testPath&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;values(cyclesPerCpuSec)&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;vales(version)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;test.6&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;719.91&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;23ww10b&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;test.5&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;742.44&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;23ww10b&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;test.4&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;563.46&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;23ww10b&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;test.6&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;694.36&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;23ww10a&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;test.5&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;423.23&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;23ww10a&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;test.4&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;146.34&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;23ww10a&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I want to display a table that looks like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1" width="56.25%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;testPath&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;23ww10a&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;23ww10b&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;test.6&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;694.36&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;719.91&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;test.5&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;423.23&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;742.44&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;test.4&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;146.34&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;563.46&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Essentially, I'm trying to create table so I can compare the results of a specific test across different model versions.&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated!&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Phil&lt;/P&gt;</description>
    <pubDate>Wed, 15 Mar 2023 21:20:41 GMT</pubDate>
    <dc:creator>Pip9ball</dc:creator>
    <dc:date>2023-03-15T21:20:41Z</dc:date>
    <item>
      <title>Help with creating table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-creating-table/m-p/634649#M220481</link>
      <description>&lt;P&gt;Hello All -&lt;/P&gt;&lt;P&gt;I'm fairly new to Splunk and I've been racking my head for the past 8 hours trying to create a table for comparing two sets of runs.&lt;/P&gt;&lt;P&gt;My search string is as follows:&lt;/P&gt;&lt;P&gt;index="fe" source="regress_rpt" pipeline="soc" version IN ("(version="23ww09a" OR version="23ww10b")") dut="*" cthModel="*" (testlist="*") (testName="*") status=* | rex field=testPath "/regression/(?&amp;lt;regressionPath&amp;gt;.*)" | search regressionPath="*" | search regressionPath="***"| stats values(cyclesPerCpuSec) values(version) by testPath | reverse&lt;/P&gt;&lt;P&gt;This will generate a table similar to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;testPath&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;values(cyclesPerCpuSec)&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;vales(version)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;test.6&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;719.91&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;23ww10b&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;test.5&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;742.44&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;23ww10b&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;test.4&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;563.46&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;23ww10b&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;test.6&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;694.36&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;23ww10a&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;test.5&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;423.23&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;23ww10a&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;test.4&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;146.34&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;23ww10a&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I want to display a table that looks like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1" width="56.25%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;testPath&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;23ww10a&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;23ww10b&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;test.6&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;694.36&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;719.91&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;test.5&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;423.23&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;742.44&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;test.4&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;146.34&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;563.46&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Essentially, I'm trying to create table so I can compare the results of a specific test across different model versions.&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated!&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Phil&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 21:20:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-creating-table/m-p/634649#M220481</guid>
      <dc:creator>Pip9ball</dc:creator>
      <dc:date>2023-03-15T21:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Help with creating table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-creating-table/m-p/634660#M220489</link>
      <description>&lt;P&gt;Use chart rather than stats&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| chart values(cyclesPerCpuSec) over testPath by version&lt;/LI-CODE&gt;&lt;P&gt;That puts version across the columns and testPath down the side.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: When posting SPL snippets, use a code block &amp;lt;/&amp;gt; to create a box like above&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 22:57:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-creating-table/m-p/634660#M220489</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-03-15T22:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help with creating table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-creating-table/m-p/634792#M220537</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;&amp;nbsp;- Thank you so much!&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 15:45:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-creating-table/m-p/634792#M220537</guid>
      <dc:creator>Pip9ball</dc:creator>
      <dc:date>2023-03-16T15:45:47Z</dc:date>
    </item>
  </channel>
</rss>

