<?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 Transform a table and error code when using a perl script in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Transform-a-table-and-error-code-when-using-a-perl-script/m-p/42416#M9910</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;

&lt;P&gt;1) I would like to have a matrix of correlation (with |correlate) for the attribute (more than 20) of my table. I have a table like this:&lt;/P&gt;

&lt;P&gt;Date...........Occurences...........Attribute&lt;/P&gt;

&lt;P&gt;10/05/2013...........1100...............Attri1&lt;/P&gt;

&lt;P&gt;10/05/2013............537...............Attri2&lt;/P&gt;

&lt;P&gt;10/05/2013............837...............Attri3&lt;/P&gt;

&lt;P&gt;11/05/2013...........1218...............Attri1&lt;/P&gt;

&lt;P&gt;11/05/2013............496...............Attri2&lt;/P&gt;

&lt;P&gt;11/05/2013............868...............Attri3&lt;/P&gt;

&lt;P&gt;Is it possible to obtain this table with splunk commands?&lt;/P&gt;

&lt;P&gt;......Date.........Attri1.........Attri2.........Attri3&lt;/P&gt;

&lt;P&gt;10/05/2013...........1100............537............837&lt;/P&gt;

&lt;P&gt;11/05/2013...........1218............496............868&lt;/P&gt;

&lt;P&gt;specification: Date, ATTR1 and ATTR2 are the name of columns&lt;/P&gt;

&lt;P&gt;2) I tryed to use a perl script and I obtain this error code:&lt;/P&gt;

&lt;P&gt;"External search command 'test' returned error code 2"&lt;/P&gt;

&lt;P&gt;What do I make ?&lt;/P&gt;</description>
    <pubDate>Wed, 22 May 2013 08:59:27 GMT</pubDate>
    <dc:creator>Fabien05</dc:creator>
    <dc:date>2013-05-22T08:59:27Z</dc:date>
    <item>
      <title>Transform a table and error code when using a perl script</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transform-a-table-and-error-code-when-using-a-perl-script/m-p/42416#M9910</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;

&lt;P&gt;1) I would like to have a matrix of correlation (with |correlate) for the attribute (more than 20) of my table. I have a table like this:&lt;/P&gt;

&lt;P&gt;Date...........Occurences...........Attribute&lt;/P&gt;

&lt;P&gt;10/05/2013...........1100...............Attri1&lt;/P&gt;

&lt;P&gt;10/05/2013............537...............Attri2&lt;/P&gt;

&lt;P&gt;10/05/2013............837...............Attri3&lt;/P&gt;

&lt;P&gt;11/05/2013...........1218...............Attri1&lt;/P&gt;

&lt;P&gt;11/05/2013............496...............Attri2&lt;/P&gt;

&lt;P&gt;11/05/2013............868...............Attri3&lt;/P&gt;

&lt;P&gt;Is it possible to obtain this table with splunk commands?&lt;/P&gt;

&lt;P&gt;......Date.........Attri1.........Attri2.........Attri3&lt;/P&gt;

&lt;P&gt;10/05/2013...........1100............537............837&lt;/P&gt;

&lt;P&gt;11/05/2013...........1218............496............868&lt;/P&gt;

&lt;P&gt;specification: Date, ATTR1 and ATTR2 are the name of columns&lt;/P&gt;

&lt;P&gt;2) I tryed to use a perl script and I obtain this error code:&lt;/P&gt;

&lt;P&gt;"External search command 'test' returned error code 2"&lt;/P&gt;

&lt;P&gt;What do I make ?&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2013 08:59:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transform-a-table-and-error-code-when-using-a-perl-script/m-p/42416#M9910</guid>
      <dc:creator>Fabien05</dc:creator>
      <dc:date>2013-05-22T08:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Transform a table and error code when using a perl script</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transform-a-table-and-error-code-when-using-a-perl-script/m-p/42417#M9911</link>
      <description>&lt;P&gt;Based on the table you have you can just add the following to your search:&lt;/P&gt;

&lt;P&gt;| timechart span=1d last(Occurences) by Attribute &lt;/P&gt;

&lt;P&gt;I'm assuming that the table is created by a splunk search and that the Date column is the _time field.&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2013 18:31:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transform-a-table-and-error-code-when-using-a-perl-script/m-p/42417#M9911</guid>
      <dc:creator>chris</dc:creator>
      <dc:date>2013-05-22T18:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Transform a table and error code when using a perl script</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transform-a-table-and-error-code-when-using-a-perl-script/m-p/42418#M9912</link>
      <description>&lt;P&gt;Thank you !&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2013 08:27:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transform-a-table-and-error-code-when-using-a-perl-script/m-p/42418#M9912</guid>
      <dc:creator>Fabien05</dc:creator>
      <dc:date>2013-05-23T08:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Transform a table and error code when using a perl script</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transform-a-table-and-error-code-when-using-a-perl-script/m-p/42419#M9913</link>
      <description>&lt;P&gt;If, you have further questions let me know.&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2013 09:04:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transform-a-table-and-error-code-when-using-a-perl-script/m-p/42419#M9913</guid>
      <dc:creator>chris</dc:creator>
      <dc:date>2013-05-23T09:04:35Z</dc:date>
    </item>
  </channel>
</rss>

