<?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: help to display fields in a table in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/help-to-display-fields-in-a-table/m-p/467730#M131663</link>
    <description>&lt;P&gt;How's this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(Source="Hang" OR Source="Error")
| search Product=*
| stats count(eval(Source="Hang")) as Hang,count(eval(Source="Error")) as Error,count  by Product
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 17 Feb 2020 14:13:09 GMT</pubDate>
    <dc:creator>HiroshiSatoh</dc:creator>
    <dc:date>2020-02-17T14:13:09Z</dc:date>
    <item>
      <title>help to display fields in a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-to-display-fields-in-a-table/m-p/467729#M131662</link>
      <description>&lt;P&gt;HI&lt;BR /&gt;
I use the search below in order to count errors by Product and source&lt;BR /&gt;
     &lt;CODE&gt;TOTO&lt;/CODE&gt; &lt;BR /&gt;
     (Source="Hang" OR Source="Error") &lt;BR /&gt;
    | search Product=* &lt;BR /&gt;
    | stats count as count by Product Source&lt;/P&gt;

&lt;P&gt;But what I need is to display the colum like this :&lt;BR /&gt;
Product Hang Errors count&lt;BR /&gt;
I have tested with transpose but it doenst works&lt;BR /&gt;
thanks for your help&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2020 13:01:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-to-display-fields-in-a-table/m-p/467729#M131662</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2020-02-17T13:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: help to display fields in a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-to-display-fields-in-a-table/m-p/467730#M131663</link>
      <description>&lt;P&gt;How's this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(Source="Hang" OR Source="Error")
| search Product=*
| stats count(eval(Source="Hang")) as Hang,count(eval(Source="Error")) as Error,count  by Product
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 17 Feb 2020 14:13:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-to-display-fields-in-a-table/m-p/467730#M131663</guid>
      <dc:creator>HiroshiSatoh</dc:creator>
      <dc:date>2020-02-17T14:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: help to display fields in a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-to-display-fields-in-a-table/m-p/467731#M131664</link>
      <description>&lt;P&gt;It seems to be ok thanks&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2020 15:50:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-to-display-fields-in-a-table/m-p/467731#M131664</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2020-02-17T15:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: help to display fields in a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-to-display-fields-in-a-table/m-p/467732#M131665</link>
      <description>&lt;P&gt;[updated]: Are you looking for something like this? If you also need total count.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Product      Hang       Errors     count
x              5          10         15
y              2           0          2
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If yes, then you can use xyseries:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(Source="Hang" OR Source="Error") Product=*
| stats count by Product Source
| xyseries Product Source count
| fillnull value="0"
| eval count = Hang + Error
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 17 Feb 2020 15:59:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-to-display-fields-in-a-table/m-p/467732#M131665</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2020-02-17T15:59:11Z</dc:date>
    </item>
  </channel>
</rss>

