Dashboards & Visualizations

Search drilldown - paging

mhaurosh
Explorer

we use 'HiddenSearch' with 'ConvertToIntention' to display results from the 2nd search in the same view.

How can we support paging for the results of the 2nd search?

Below is the view:


    
      
        sourcetype=ib:dhcp:lease_history index=ib_dhcp_lease_history | rename host as "Member", ACTION as "Action", LEASE_IP as "Lease IP" | table _time, Member, Action, "Lease IP"
    
        
          true
          false
          
            results
            
            all
            
            
                      sourcetype=ib:dhcp:lease_history index=ib_dhcp_lease_history | rename host as "Member", ACTION as "Action", LEASE_IP as "Lease IP" | table _time, Member, Action, "Lease IP"
    
    
                      
                        
                          addterm
                          
                            $click.value2$
                          
                         
    
                
                
                  results
                  
                DHCP Lease History for LEASE IP=$click.value2$
                  
                 
    
                        
                       
             
         
    
           
          
          
            addinfo | eval TUPDATE=strftime(info_search_time, "%Y-%m-%d %H:%M:%S %Z")
            
              TUPDATE
              Last Updated:
            
          
        
      
    

Thanks!

Michael

Tags (1)

sideview
SplunkTrust
SplunkTrust

Well you really just have to wrap your SimpleResultsTable module in a Paginator module.

So turn this:

<module name="SimpleResultsTable"/></module> 

into this:

<module name="Paginator">
  <param name="entityName">results</param>
  <param name="maxPages">10</param>
  <module name="SimpleResultsTable"/></module> 
</module>

and your table will get working page links above it.

mhaurosh
Explorer

It works. Thank you!

0 Karma
Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...