<?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: Issue with table command in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Issue-with-table-command/m-p/114831#M30388</link>
    <description>&lt;P&gt;First, without knowing anything about your data, it is nearly impossible to say why this is happening.&lt;BR /&gt;
So, a sample of the data (or even a detailed description) would be quite helpful.&lt;/P&gt;

&lt;P&gt;Second, it would also nice to see a sample of the results from this search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="efg" "$var$" 
| rex "(abc=.*? )(?&amp;lt;payload&amp;gt;.*)(&amp;gt;)" 
| eval payload=replace(payload,"&amp;lt;/.*?:","&amp;lt;/") 
| eval payload=replace(payload,"&amp;lt;[^/]*?:","&amp;lt;") 
| table payload
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;That might give you a clue about the results you are seeing.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Oct 2013 07:23:34 GMT</pubDate>
    <dc:creator>lguinn2</dc:creator>
    <dc:date>2013-10-28T07:23:34Z</dc:date>
    <item>
      <title>Issue with table command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Issue-with-table-command/m-p/114830#M30387</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;My saved search looks like below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="efg" "$var$" rex "(abc=.*? )(?&amp;lt;payload&amp;gt;.*)(&amp;gt;)" | eval payload=replace(payload,"&amp;lt;/.*?:","&amp;lt;/") | eval payload=replace(payload,"&amp;lt;[^/]*?:","&amp;lt;") | xpath outfield=AAA "//details/aaa" field=payload|xpath outfield=BBB "//details/bbb" field=payload|xpath outfield=CCC "//details/ccc" field=payload|table AAA, BBB,CCC
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;When i run this, the table displays the all the values of AAA in a single row, same is the case with values in BBB. Only for CCC field values i am getting all values in different rows. Why is this happening. Please help me resolve this issue.&lt;/P&gt;

&lt;P&gt;Currently i am getting the result as shown below:&lt;/P&gt;

&lt;P&gt;AAA                                                                    BBB                                                                           CCC&lt;BR /&gt;
1 2 3 4 5 6                                                          1 2 3 4 5 6                                                                 1&lt;BR /&gt;
                                                                                                                                                             2&lt;BR /&gt;
                                                                                                                                                             3&lt;BR /&gt;
                                                                                                                                                             4&lt;BR /&gt;
                                                                                                                                                             5&lt;BR /&gt;
                                                                                                                                                             6&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2013 09:05:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Issue-with-table-command/m-p/114830#M30387</guid>
      <dc:creator>MadhuriVanga</dc:creator>
      <dc:date>2013-10-25T09:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with table command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Issue-with-table-command/m-p/114831#M30388</link>
      <description>&lt;P&gt;First, without knowing anything about your data, it is nearly impossible to say why this is happening.&lt;BR /&gt;
So, a sample of the data (or even a detailed description) would be quite helpful.&lt;/P&gt;

&lt;P&gt;Second, it would also nice to see a sample of the results from this search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="efg" "$var$" 
| rex "(abc=.*? )(?&amp;lt;payload&amp;gt;.*)(&amp;gt;)" 
| eval payload=replace(payload,"&amp;lt;/.*?:","&amp;lt;/") 
| eval payload=replace(payload,"&amp;lt;[^/]*?:","&amp;lt;") 
| table payload
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;That might give you a clue about the results you are seeing.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2013 07:23:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Issue-with-table-command/m-p/114831#M30388</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2013-10-28T07:23:34Z</dc:date>
    </item>
  </channel>
</rss>

