<?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: How to display the values in search result as fields? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-the-values-in-search-result-as-fields/m-p/50152#M12055</link>
    <description>&lt;P&gt;Add this at the end of your original search string. I will format the data in the desired format.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval dummy=" " | xyseries dummy status total_user | fields - dummy | addtotals
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I hope this helps.&lt;/P&gt;</description>
    <pubDate>Thu, 30 May 2013 04:02:23 GMT</pubDate>
    <dc:creator>Gilberto_Castil</dc:creator>
    <dc:date>2013-05-30T04:02:23Z</dc:date>
    <item>
      <title>How to display the values in search result as fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-the-values-in-search-result-as-fields/m-p/50151#M12054</link>
      <description>&lt;P&gt;I have a search which return below results:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;status      total_user
passed      7
failed      3
unknown     14
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How can I change the table so that it can display like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;passed     failed    unknown    total
  7          3         14         24
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I tried this but it is not working:&lt;BR /&gt;
stats values(eval(status="passed")) AS passed values(eval(status="failed")) AS failed values(eval(status="unknown")) AS unknown sum(total_user) AS Total &lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2013 03:36:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-the-values-in-search-result-as-fields/m-p/50151#M12054</guid>
      <dc:creator>cycheng</dc:creator>
      <dc:date>2013-05-30T03:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to display the values in search result as fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-the-values-in-search-result-as-fields/m-p/50152#M12055</link>
      <description>&lt;P&gt;Add this at the end of your original search string. I will format the data in the desired format.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval dummy=" " | xyseries dummy status total_user | fields - dummy | addtotals
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I hope this helps.&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2013 04:02:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-the-values-in-search-result-as-fields/m-p/50152#M12055</guid>
      <dc:creator>Gilberto_Castil</dc:creator>
      <dc:date>2013-05-30T04:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to display the values in search result as fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-the-values-in-search-result-as-fields/m-p/50153#M12056</link>
      <description>&lt;P&gt;Thanks! It solved my problem. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2013 04:58:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-the-values-in-search-result-as-fields/m-p/50153#M12056</guid>
      <dc:creator>cycheng</dc:creator>
      <dc:date>2013-05-30T04:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to display the values in search result as fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-the-values-in-search-result-as-fields/m-p/50154#M12057</link>
      <description>&lt;P&gt;Then you should come back and click &lt;CODE&gt;Accept&lt;/CODE&gt; to close the question, @cycheng.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2019 00:58:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-the-values-in-search-result-as-fields/m-p/50154#M12057</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-11-16T00:58:20Z</dc:date>
    </item>
  </channel>
</rss>

