<?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 adding fields to a simpleResultsTable? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/adding-fields-to-a-simpleResultsTable/m-p/60141#M14793</link>
    <description>&lt;P&gt;This should be a simple search to find the age of unresolved help desk tickets.  I'm new to splunk thus there may be a better way to to this.  I simply want to display the results in a simpleResultsTable on a dashboard using advanced XML except I can't get "myField" to show up in a SimpleResultsTable.  Any thoughts?&lt;/P&gt;

&lt;P&gt;&amp;lt;module name="HiddenSearch" layoutPanel="panel_row2_col2" group="Oldest Unsolved Tickets" autoRun="True"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;
    &amp;lt;param name="search"&amp;gt;sourcetype=Remedy_Tickets | transaction ID CreateDate | where eventcount=1 AND QueryType="CREATED" | eval myField=round((now - CreateDate)/60/60/24, 1) | sort CreateDate&amp;lt;/param&amp;gt;&lt;BR /&gt;&lt;BR /&gt;
        &amp;lt;param name="earliest"&amp;gt;-7d@d&amp;lt;/param&amp;gt;&lt;BR /&gt;&lt;BR /&gt;
        &amp;lt;param name="latest"&amp;gt;@d&amp;lt;/param&amp;gt;&lt;BR /&gt;&lt;BR /&gt;
            &amp;lt;module name="SimpleResultsTable"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;
                &amp;lt;param name="fields"&amp;gt;_time ID Group myField&amp;lt;/param&amp;gt;&lt;BR /&gt;&lt;BR /&gt;
            &amp;lt;/module&amp;gt;&lt;BR /&gt;&lt;BR /&gt;
    &amp;lt;/module&amp;gt;  &lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 12:57:02 GMT</pubDate>
    <dc:creator>dlovett</dc:creator>
    <dc:date>2020-09-28T12:57:02Z</dc:date>
    <item>
      <title>adding fields to a simpleResultsTable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/adding-fields-to-a-simpleResultsTable/m-p/60141#M14793</link>
      <description>&lt;P&gt;This should be a simple search to find the age of unresolved help desk tickets.  I'm new to splunk thus there may be a better way to to this.  I simply want to display the results in a simpleResultsTable on a dashboard using advanced XML except I can't get "myField" to show up in a SimpleResultsTable.  Any thoughts?&lt;/P&gt;

&lt;P&gt;&amp;lt;module name="HiddenSearch" layoutPanel="panel_row2_col2" group="Oldest Unsolved Tickets" autoRun="True"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;
    &amp;lt;param name="search"&amp;gt;sourcetype=Remedy_Tickets | transaction ID CreateDate | where eventcount=1 AND QueryType="CREATED" | eval myField=round((now - CreateDate)/60/60/24, 1) | sort CreateDate&amp;lt;/param&amp;gt;&lt;BR /&gt;&lt;BR /&gt;
        &amp;lt;param name="earliest"&amp;gt;-7d@d&amp;lt;/param&amp;gt;&lt;BR /&gt;&lt;BR /&gt;
        &amp;lt;param name="latest"&amp;gt;@d&amp;lt;/param&amp;gt;&lt;BR /&gt;&lt;BR /&gt;
            &amp;lt;module name="SimpleResultsTable"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;
                &amp;lt;param name="fields"&amp;gt;_time ID Group myField&amp;lt;/param&amp;gt;&lt;BR /&gt;&lt;BR /&gt;
            &amp;lt;/module&amp;gt;&lt;BR /&gt;&lt;BR /&gt;
    &amp;lt;/module&amp;gt;  &lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:57:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/adding-fields-to-a-simpleResultsTable/m-p/60141#M14793</guid>
      <dc:creator>dlovett</dc:creator>
      <dc:date>2020-09-28T12:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: adding fields to a simpleResultsTable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/adding-fields-to-a-simpleResultsTable/m-p/60142#M14794</link>
      <description>&lt;P&gt;Actually, this appears to give the results I'm looking for:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=Remedy_Tickets | transaction ID CreateDate | where eventcount=1 AND QueryType="CREATED" | eval dur=round((now() - CreateDate)/60/60/24, 1) | stats values(ID) as ID, values(Group) as Group, values(dur) as Days | sort CreateDate
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Dec 2012 21:02:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/adding-fields-to-a-simpleResultsTable/m-p/60142#M14794</guid>
      <dc:creator>dlovett</dc:creator>
      <dc:date>2012-12-11T21:02:34Z</dc:date>
    </item>
  </channel>
</rss>

