<?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: Real-time Sideview Utils dashboard using postprocessing not updating for module SimpleResultsTable, but updates for Table module in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Real-time-Sideview-Utils-dashboard-using-postprocessing-not/m-p/72016#M4514</link>
    <description>&lt;P&gt;I'm not sure if you ever figured out what was causing this,  but it seemed the easy answer was to just use the Sideview Table module instead of Splunk's SimpleResultsTable module.   So for the sake of the question having &lt;EM&gt;some&lt;/EM&gt; answer I thought I'd write this up. =/&lt;/P&gt;</description>
    <pubDate>Sat, 08 Jun 2013 06:43:55 GMT</pubDate>
    <dc:creator>sideview</dc:creator>
    <dc:date>2013-06-08T06:43:55Z</dc:date>
    <item>
      <title>Real-time Sideview Utils dashboard using postprocessing not updating for module SimpleResultsTable, but updates for Table module</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Real-time-Sideview-Utils-dashboard-using-postprocessing-not/m-p/72012#M4510</link>
      <description>&lt;P&gt;I have a dashboard that uses a real-time HiddenSearch to feed three separate panels via HiddenPostProcess modules. One of the three panels does not update upon new events coming in. When I run the full search (hidden search + post process) in the flashtime search window, the resulting table returns the correct values and updates as new events come in.&lt;/P&gt;

&lt;P&gt;I was using the SimpleResultsTable for all three panels. I tested with multiple changes to the search to get the broken panel to start updating, but nothing was working. If, however, I leave the original search but change the SimpleResultTable module to the Table module instead, the panel updates as new events come in.&lt;/P&gt;

&lt;P&gt;Is anyone aware of a bug in the SimpleResultsTable?&lt;/P&gt;

&lt;P&gt;Here is the xml with the working module (I have only included two of the three panels, the panel_row2_col1 is the one that was causing the problems):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;module name="HiddenSearch" layoutPanel="panel_row1_col1" autoRun="True"&amp;gt;
    &amp;lt;param name="search"&amp;gt;
      `ems_header` POS_TURNOVER=* | `opening_pos_oid` | `macro_day` | `dedup_acct_ric` | `rename_fields` | `net_pos` | `pnl` | `open_net_pos`
    &amp;lt;/param&amp;gt;
    &amp;lt;param name="earliest"&amp;gt;rt-15m&amp;lt;/param&amp;gt;
    &amp;lt;param name="latest"&amp;gt;rt&amp;lt;/param&amp;gt;

    &amp;lt;!-- Start: PNL panel --&amp;gt;
    &amp;lt;module name="HTML" layoutPanel="panel_row1_col1"&amp;gt; &amp;lt;!-- string header for panel --&amp;gt;
      &amp;lt;param name="html"&amp;gt;&amp;lt;![CDATA[
        &amp;lt;h2&amp;gt;Cumulative PnL, Exposure, PnL and Turnover by Account&amp;lt;/h2&amp;gt;
      ]]&amp;gt;&amp;lt;/param&amp;gt;
    &amp;lt;/module&amp;gt;

    &amp;lt;module name="HiddenPostProcess" layoutPanel="panel_row1_col1"&amp;gt;
      &amp;lt;param name="search"&amp;gt;
        `showline(fields="CUM_PNL, EXP, PNL, TURN")` | stats sum(CUM_PNL) as CUM_PNL, sum(EXP) as EXP, sum(PNL) as PNL, sum(TURN) as TURN by ACCOUNT | `format_pnl_fields`
      &amp;lt;/param&amp;gt;

      &amp;lt;module name="Pager"&amp;gt;
        &amp;lt;param name="count"&amp;gt;10&amp;lt;/param&amp;gt;

        &amp;lt;module name="SimpleResultsTable"&amp;gt;&amp;lt;/module&amp;gt;
      &amp;lt;/module&amp;gt;
    &amp;lt;/module&amp;gt;
    &amp;lt;!-- End: PNL panel --&amp;gt;

    &amp;lt;!-- Start: Net Positions panel --&amp;gt;
    &amp;lt;module name="HTML" layoutPanel="panel_row2_col1"&amp;gt; &amp;lt;!-- string header for panel --&amp;gt;
      &amp;lt;param name="html"&amp;gt;&amp;lt;![CDATA[
        &amp;lt;h2&amp;gt;Net Filled Positions and PnL by Account and Instrument&amp;lt;/h2&amp;gt;
      ]]&amp;gt;&amp;lt;/param&amp;gt;
    &amp;lt;/module&amp;gt;

    &amp;lt;module name="HiddenPostProcess" layoutPanel="panel_row2_col1"&amp;gt;
      &amp;lt;param name="search"&amp;gt; 
        `showline(fields="NET_POS, CUM_PNL, EXP, PNL, TURN")` | table _time, ACCOUNT, RIC, NET_POS, CUM_PNL, EXP, PNL, TURN | sort +ACCOUNT, +RIC | `format_pnl_fields`
      &amp;lt;/param&amp;gt;

      &amp;lt;module name="Pager"&amp;gt;
        &amp;lt;param name="count"&amp;gt;20&amp;lt;/param&amp;gt;

        &amp;lt;module name="Table"/&amp;gt;
      &amp;lt;/module&amp;gt;
    &amp;lt;/module&amp;gt;
    &amp;lt;!-- End: Net Positions panel --&amp;gt;
...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here is the xml with the non-updating module:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;!-- Start: Net Positions panel --&amp;gt;
    &amp;lt;module name="HTML" layoutPanel="panel_row2_col1"&amp;gt; &amp;lt;!-- string header for panel --&amp;gt;
      &amp;lt;param name="html"&amp;gt;&amp;lt;![CDATA[
        &amp;lt;h2&amp;gt;Net Filled Positions and PnL by Account and Instrument&amp;lt;/h2&amp;gt;
      ]]&amp;gt;&amp;lt;/param&amp;gt;
    &amp;lt;/module&amp;gt;

    &amp;lt;module name="HiddenPostProcess" layoutPanel="panel_row2_col1"&amp;gt;
      &amp;lt;param name="search"&amp;gt;
        `showline(fields="NET_POS, CUM_PNL, EXP, PNL, TURN")` | table _time, ACCOUNT, RIC, NET_POS, CUM_PNL, EXP, PNL, TURN | sort +ACCOUNT, +RIC | `format_pnl_fields`
      &amp;lt;/param&amp;gt;

      &amp;lt;module name="Pager"&amp;gt;
        &amp;lt;param name="count"&amp;gt;20&amp;lt;/param&amp;gt;

        &amp;lt;module name="SimpleResultsTable"&amp;gt;&amp;lt;/module&amp;gt;
      &amp;lt;/module&amp;gt;
    &amp;lt;/module&amp;gt;
    &amp;lt;!-- End: Net Positions panel --&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;--- EDIT ---&lt;/P&gt;

&lt;P&gt;I forgot to mention that I am using the latest version of sideview utils: v2.4.3&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:35:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Real-time-Sideview-Utils-dashboard-using-postprocessing-not/m-p/72012#M4510</guid>
      <dc:creator>aholzer</dc:creator>
      <dc:date>2020-09-28T13:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Real-time Sideview Utils dashboard using postprocessing not updating for module SimpleResultsTable, but updates for Table module</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Real-time-Sideview-Utils-dashboard-using-postprocessing-not/m-p/72013#M4511</link>
      <description>&lt;P&gt;It's hard to say without looking at the definitions of all your macros.  Can you answer two questions -    &lt;/P&gt;

&lt;P&gt;1) if you were to run the base search only, in the flashtimeline view, would it render in the events list by default, or in the table view by default?   I'm curious as to whether the base search is considered a transforming search. &lt;/P&gt;

&lt;P&gt;2) for completeness it would be good to know what commands were inthe &lt;CODE&gt;format_pnl_fields&lt;/CODE&gt; and &lt;CODE&gt;show_line&lt;/CODE&gt; macros too. &lt;/P&gt;

&lt;P&gt;My suspicion is that the complex logic around SimpleResultsTable's "entityName" param is leading to the bug.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Mar 2013 02:08:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Real-time-Sideview-Utils-dashboard-using-postprocessing-not/m-p/72013#M4511</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2013-03-23T02:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Real-time Sideview Utils dashboard using postprocessing not updating for module SimpleResultsTable, but updates for Table module</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Real-time-Sideview-Utils-dashboard-using-postprocessing-not/m-p/72014#M4512</link>
      <description>&lt;P&gt;By the way, do you &lt;EM&gt;need&lt;/EM&gt; Splunk's SimpleResultsTable module?  the Table module is after all designed to replace it ultimately.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Mar 2013 02:11:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Real-time-Sideview-Utils-dashboard-using-postprocessing-not/m-p/72014#M4512</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2013-03-23T02:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Real-time Sideview Utils dashboard using postprocessing not updating for module SimpleResultsTable, but updates for Table module</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Real-time-Sideview-Utils-dashboard-using-postprocessing-not/m-p/72015#M4513</link>
      <description>&lt;P&gt;Here are your answers:&lt;BR /&gt;
1) The base search displays in the event view&lt;BR /&gt;
2) Here are the macro definitions, although the same macros work in other panels to the correct effect:&lt;BR /&gt;
- format_pnl_fields uses the "fieldformat" command on a couple of the fields, all fields are formatted the same: fieldformat TURN=tostring(TURN,"commas") | ...&lt;BR /&gt;
- showline(1): addtotals fieldname=showline $fields$ | where showline!=0&lt;/P&gt;

&lt;P&gt;Regarding your other comment, I don't &lt;EM&gt;need&lt;/EM&gt; the SimpleResultsTable, but I wanted it for formatting consistency. I will probably just change all panels to Table now for consistency.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:35:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Real-time-Sideview-Utils-dashboard-using-postprocessing-not/m-p/72015#M4513</guid>
      <dc:creator>aholzer</dc:creator>
      <dc:date>2020-09-28T13:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Real-time Sideview Utils dashboard using postprocessing not updating for module SimpleResultsTable, but updates for Table module</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Real-time-Sideview-Utils-dashboard-using-postprocessing-not/m-p/72016#M4514</link>
      <description>&lt;P&gt;I'm not sure if you ever figured out what was causing this,  but it seemed the easy answer was to just use the Sideview Table module instead of Splunk's SimpleResultsTable module.   So for the sake of the question having &lt;EM&gt;some&lt;/EM&gt; answer I thought I'd write this up. =/&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jun 2013 06:43:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Real-time-Sideview-Utils-dashboard-using-postprocessing-not/m-p/72016#M4514</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2013-06-08T06:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Real-time Sideview Utils dashboard using postprocessing not updating for module SimpleResultsTable, but updates for Table module</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Real-time-Sideview-Utils-dashboard-using-postprocessing-not/m-p/72017#M4515</link>
      <description>&lt;P&gt;That did end up being the answer &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jun 2013 13:26:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Real-time-Sideview-Utils-dashboard-using-postprocessing-not/m-p/72017#M4515</guid>
      <dc:creator>aholzer</dc:creator>
      <dc:date>2013-06-09T13:26:53Z</dc:date>
    </item>
  </channel>
</rss>

