Dashboards & Visualizations

Do transforming commands have same event limit for post processing?

chrisdopuch
Path Finder

Hello,

In the PostProcess Search documentation it says that non-transforming searches which return raw events have a 10,000 return limit. It is unclear if a transforming search still has this limit. If I run a stats command that returns 15,000 rows for example, will post processing still truncate the data?

Documentation:
http://docs.splunk.com/Documentation/Splunk/6.1.2/AdvancedDev/PostProcess

Tags (2)
1 Solution

somesoni2
Revered Legend

The PostProcess does not limit the no of records returned for transforming command. The limit is only applicable for non-transforming command returning events in raw format.

Below is a runanywhere poc that I did and the PostProcess was able to receive 76K+ records.

 <view autoCancelInterval="90" decomposeIntentions="false" isPersistable="true" isSticky="false" isVisible="true" objectMode="viewconf" onunloadCancelJobs="true" template="dashboard.html">
  <label>TestPostProcessLimit</label>
  <module name="AccountBar" layoutPanel="appHeader"/>
  <module name="AppBar" layoutPanel="appHeader"/>
  <module name="SideviewUtils" layoutPanel="appHeader"/>

  <module name="URLLoader" layoutPanel="viewHeader" autoRun="True">
    <module name="Search" layoutPanel="panel_row1_col1"  group="Non-Transforming postprocess" >
      <param name="search">index=_internal earliest=-2d@d | eventstats count as BaseSearchTotal </param>
      <module name="PostProcess" layoutPanel="panel_row1_col1">
        <param name="search">| stats count, max(BaseSearchTotal) </param>
        <module name="Pager" >         
          <module name="Table">
          </module>
        </module>
      </module>
    </module>
    <module name="Search" layoutPanel="panel_row1_col2" group="Transforming postprocess" >
      <param name="search">index=_internal earliest=-2d@d | eventstats count as BaseSearchTotal | stats count, max(BaseSearchTotal) as BaseSearchTotal by _time | eventstats count as TransformCmdTotal
      </param>
      <module name="PostProcess" layoutPanel="panel_row1_col2">
        <param name="search">| stats count, max(BaseSearchTotal)  max(TransformCmdTotal) </param>
        <module name="Pager" >      
          <module name="Table">
          </module>
        </module>
      </module>
    </module>
  </module>
</view>

View solution in original post

somesoni2
Revered Legend

The PostProcess does not limit the no of records returned for transforming command. The limit is only applicable for non-transforming command returning events in raw format.

Below is a runanywhere poc that I did and the PostProcess was able to receive 76K+ records.

 <view autoCancelInterval="90" decomposeIntentions="false" isPersistable="true" isSticky="false" isVisible="true" objectMode="viewconf" onunloadCancelJobs="true" template="dashboard.html">
  <label>TestPostProcessLimit</label>
  <module name="AccountBar" layoutPanel="appHeader"/>
  <module name="AppBar" layoutPanel="appHeader"/>
  <module name="SideviewUtils" layoutPanel="appHeader"/>

  <module name="URLLoader" layoutPanel="viewHeader" autoRun="True">
    <module name="Search" layoutPanel="panel_row1_col1"  group="Non-Transforming postprocess" >
      <param name="search">index=_internal earliest=-2d@d | eventstats count as BaseSearchTotal </param>
      <module name="PostProcess" layoutPanel="panel_row1_col1">
        <param name="search">| stats count, max(BaseSearchTotal) </param>
        <module name="Pager" >         
          <module name="Table">
          </module>
        </module>
      </module>
    </module>
    <module name="Search" layoutPanel="panel_row1_col2" group="Transforming postprocess" >
      <param name="search">index=_internal earliest=-2d@d | eventstats count as BaseSearchTotal | stats count, max(BaseSearchTotal) as BaseSearchTotal by _time | eventstats count as TransformCmdTotal
      </param>
      <module name="PostProcess" layoutPanel="panel_row1_col2">
        <param name="search">| stats count, max(BaseSearchTotal)  max(TransformCmdTotal) </param>
        <module name="Pager" >      
          <module name="Table">
          </module>
        </module>
      </module>
    </module>
  </module>
</view>
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...