Quantcast
Channel: Latest Questions on Splunk Answers
Viewing all articles
Browse latest Browse all 13053

property COUNT ignored on table and pager by result with transpose

$
0
0

I have this on two views now, not sure if it is a problem on Sideview :

I have a postprocess, that is making a search, ending with a | transpose Doesn't matter what I am setting under "count" by table and/or pager object, the table display always 10 rows... I can't set it to 3 or 15. (If there is more than 10 results, pager is working fine, and making more pages)

Hi, here are the code for one of the views. - I can't test the without transpose, because in that case, it return only 1 row... - I'm encountering this problems only on views with a search with transpose. - I use the latest version of sideview

<view isSticky="False" isVisible="true" onunloadCancelJobs="true" template="dashboard.html">
  <label>Vergleich EinfahrtEreignis </label>

  <module name="AccountBar" layoutPanel="appHeader" />

  <module name="AppBar" layoutPanel="appHeader" />

  <module name="SideviewUtils" layoutPanel="appHeader" />

  <module name="Message" layoutPanel="messaging">
    <param name="filter">*</param>
    <param name="maxSize">2</param>
    <param name="clearOnJobDispatch">False</param>
  </module>

  <module name="HTML" layoutPanel="viewHeader">
    <param name="html"><![CDATA[
        <h1>Alle CUS Meldungen</h1>

]]></param>
  </module>

  <module name="URLLoader" layoutPanel="viewHeader">

    <module name="TimeRangePicker" layoutPanel="panel_row1_col1" autoRun="True">
      <param name="default">Last 60 minutes</param>
      <param name="searchWhenChanged">False</param>

      <module name="Pulldown">
        <param name="float">left</param>
        <param name="label">Plattform</param>
        <param name="name">plattform</param>
        <param name="staticOptions">
          <list>
            <param name="selected">true</param>
            <param name="value">t_kihub</param>
            <param name="label">test</param>
          </list>
          <list>
            <param name="value">i_kihub</param>
            <param name="label">inte</param>
          </list>
          <list>
            <param name="value">p_kihub</param>
            <param name="label">prod</param>
          </list>
        </param>

        <module name="Search">
          <param name="search">
| dbquery $plattform$-kihub "SELECT ABK,BEZEICHNUNG_OFFIZIELL FROM KIHUB_STAMMDATEN.BP WHERE LANDUIC=85 ORDER BY BEZEICHNUNG_OFFIZIELL " limit 1000
</param>

          <module name="Pulldown">
            <param name="labelField">BEZEICHNUNG_OFFIZIELL</param>
            <param name="valueField">ABK</param>
            <param name="postProcess">$postProcess | sort BEZEICHNUNG_OFFIZIELL</param>
            <param name="float">left</param>
            <param name="label">BP</param>
            <param name="name">bp</param>
            <param name="staticOptions">
              <list>
                <param name="selected">true</param>
                <param name="value">*</param>
                <param name="label">*</param>
              </list>
            </param>

            <module name="Button">
              <param name="allowAutoSubmit">False</param>

              <module name="Search" layoutPanel="panel_row2_col1" group="CUSM Left Join VDV">
                <param name="group">CUSM Left Join VDV</param>
                <param name="search"><![CDATA[
index=$plattform$ sourcetype=cus-messages H_messageType="CUSM_EinfahrtEreignis" H_BP_ABK=$bp$ | fields + H_*,xml | head 100 |  spath input=xml output=BPUIC path=ns3:CUSM_EinfahrtEreignis.MeldungsKopf.Meldung.Bp.ns2:BPUIC | eval FahrtBezeichner=(H_TU + "-" + H_trassenID) |  convert ctime(_time) as CUSM_time | rename xml as cus_xml |  join overwrite=true type=left FahrtBezeichner [search index=$plattform$ eventtype=cus5-vdv-messages dienst=ans resource=datenabrufen.xml | fields + xml | spath input=xml output=zbn  path=DatenAbrufenAntwort.Zubringernachricht | mvexpand zbn | spath input=zbn | search ASBFahrplanlage.AufASB=false |rename ASBFahrplanlage.FahrtID.FahrtBezeichner as FahrtBezeichner  |  convert ctime(_time)  as VDV_time | rename ASBFahrplanlage.ASBID as ASBID | eval BPUIC=substr(ASBID,2)]  | table *

]]></param>

                <module name="JobProgressIndicator">

                  <module name="Pager">

                    <module name="Table">
                      <param name="fields">CUSM_time,FahrtBezeichner,H_BP_ABK,VDV_time,ASBFahrplanlage.AufASB</param>

                      <module name="PostProcess" layoutPanel="panel_row3_col1" group="CUSM_EinfahrtEreignis">
                        <param name="group">CUSM_EinfahrtEreignis</param>
                        <param name="search"><![CDATA[
| search FahrtBezeichner=$row.fields.FahrtBezeichner$ | table cus_xml | spath input=cus_xml output=cm path=ns3:CUSM_EinfahrtEreignis.VmEreignisInfoKurz | spath input=cm | fields - cm, cus_xml | transpose

]]></param>

                        <module name="Pager">
                          <param name="count">25</param>

                          <module name="Table">
                            <param name="count">40</param>
                            <param name="hiddenFields">cus_xml,cm</param>
                          </module>
                        </module>
                      </module>

                      <module name="PostProcess" layoutPanel="panel_row3_col2" group="VDV ZubringerNachricht">
                        <param name="group">VDV ZubringerNachricht</param>
                        <param name="search"><![CDATA[
search FahrtBezeichner=$row.fields.FahrtBezeichner$ | table VDV_time,ASB* | transpose

]]></param>

                        <module name="Pager">
                          <param name="count">3</param>

                          <module name="Table">
                            <param name="count">3</param>
                            <param name="hiddenFields">cm,cus_xml</param>
                          </module>
                        </module>
                      </module>
                    </module>
                  </module>
                </module>
              </module>
            </module>
          </module>
        </module>
      </module>
    </module>
  </module>
</view>

Viewing all articles
Browse latest Browse all 13053

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>