<?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 search query with table. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/search-query-with-table/m-p/242962#M72282</link>
    <description>&lt;P&gt;Hi all, I have the fields &lt;CODE&gt;unit&lt;/CODE&gt;, &lt;CODE&gt;user&lt;/CODE&gt;, &lt;CODE&gt;work&lt;/CODE&gt; from the result set:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;unit      user     work 
   a     kiran        w
   b    splunk        x
   c       abc        y
   d      cdvv        z
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I need these results into&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;      a          b           c         d
kiran-w    cdvv -z    splunk-x     abc-y
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How to get this final table?&lt;/P&gt;</description>
    <pubDate>Fri, 01 Jul 2016 19:50:45 GMT</pubDate>
    <dc:creator>kiran331</dc:creator>
    <dc:date>2016-07-01T19:50:45Z</dc:date>
    <item>
      <title>search query with table.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/search-query-with-table/m-p/242962#M72282</link>
      <description>&lt;P&gt;Hi all, I have the fields &lt;CODE&gt;unit&lt;/CODE&gt;, &lt;CODE&gt;user&lt;/CODE&gt;, &lt;CODE&gt;work&lt;/CODE&gt; from the result set:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;unit      user     work 
   a     kiran        w
   b    splunk        x
   c       abc        y
   d      cdvv        z
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I need these results into&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;      a          b           c         d
kiran-w    cdvv -z    splunk-x     abc-y
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How to get this final table?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2016 19:50:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/search-query-with-table/m-p/242962#M72282</guid>
      <dc:creator>kiran331</dc:creator>
      <dc:date>2016-07-01T19:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: search query with table.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/search-query-with-table/m-p/242963#M72283</link>
      <description>&lt;P&gt;Just add this to the end:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| eval value=user . "-" . work
| eval ThisFieldIsJunk="junk"
| chart values(value) BY ThisFieldIsJunk unit | fields - ThisFieldIsJunk
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 01 Jul 2016 20:12:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/search-query-with-table/m-p/242963#M72283</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-07-01T20:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: search query with table.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/search-query-with-table/m-p/242964#M72284</link>
      <description>&lt;P&gt;Just need little correction in above query . i tried with following query&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| eval value=user . "-" . work
| eval ThisFieldIsJunk="junk"
| chart values(value) over ThisFieldIsJunk  by unit unit | fields - ThisFieldIsJunk
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope this would work&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2016 21:48:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/search-query-with-table/m-p/242964#M72284</guid>
      <dc:creator>vishal_bandavad</dc:creator>
      <dc:date>2016-07-01T21:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: search query with table.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/search-query-with-table/m-p/242965#M72285</link>
      <description>&lt;P&gt;These are exactly equivalent (two different command syntax forms that do exactly the same thing).&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2016 23:29:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/search-query-with-table/m-p/242965#M72285</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-07-01T23:29:11Z</dc:date>
    </item>
  </channel>
</rss>

