All Apps and Add-ons

I have a question about the title "drilldown from a hidden column".- Help me~~

lanying
Explorer

Hi.
I made a drilldown dashboard and first field's value was sending to another view.
But first fields' value is too long , I just made a hidden colum for sending.

<view autoCancelInterval="90" isVisible="true" onunloadCancelJobs="true" template="dashboard.html" isSticky="False">
  <module name="SideviewUtils" layoutPanel="appHeader" />
  <module name="HiddenSearch" layoutPanel="panel_row3_col1" autoRun="True">
    <module name="Search">
      <param name="search">sourcetype=tms_syslog | stats sum(Count) as Count by EventName | join type=left EventName [SEARCH sourcetype=attack_type] | fields EventName Count ATTACK_NAME| eval Event_Name=if(len(EventName) >30 , substr(EventName,1,30)+"...", EventName) | fields EventName Event_Name Count ATTACK_NAME | rename Event_Name  as "이벤트명" ATTACK_NAME as "공격유형" | sort - Count</param>
      <param name="earliest">-1h</param>
      <module name="JobProgressIndicator"></module>
        <module name="SimpleResultsTable">
          <param name="entityName">results</param>
          <param name="drilldown">row</param>
          <param name="displayRowNumbers">False</param>
      <param name="count">100</param>
          <module name="Redirector">
            <param name="popup">true</param>
            <param name="url">myView</param>
            <param name="arg.event">$click.value$</param>
          </module>
        </module>
    </module>
  </module>
</view>

In this site, I found a answer that asked to apply an application.js

if(Splunk.util.getCurrentView() == "myview") {
    Splunk.Module.SimpleResultsTable = $.klass(Splunk.Module.SimpleResultsTable, {
        renderResults: function($super,data) {
            $super(data);
            $('td:nth-child(2),th:nth-child(2)', this.container).hide();
        }
    });
}

So, I'm now apply the application.js and solve the problem. But field's name is not hide. If the table have 4 fields (first field is hidden) , 4 fields name , 3 data fields ard displayed. Do you understand my question?

0 Karma
1 Solution

sideview
SplunkTrust
SplunkTrust

Did you change the "myview" in the example code to be the name of your view?

View solution in original post

0 Karma

kevynchase
New Member

if u no who is kevyn chase or imaginary.please contact. i look into the drilldown search criteria because actually a password of mine is drillhead. cathydhs(at)verizon.net engebretcathy(at)gmail.com 7606766832 7603298446 cathy

0 Karma

sideview
SplunkTrust
SplunkTrust

I'm sorry but I don't understand this comment at all.

0 Karma

sideview
SplunkTrust
SplunkTrust

Minor Note: the HiddenSearch module at the top isn't doing anything and can be removed. Sideview's Search module can do it all just fine. Of course when you do remove it, move the autoRun attribute down to the Search module.

0 Karma

sideview
SplunkTrust
SplunkTrust

Did you change the "myview" in the example code to be the name of your view?

0 Karma

sideview
SplunkTrust
SplunkTrust

Note that view names are case sensitive. so "myview" != "myView"

0 Karma

lanying
Explorer

I made a view. The name is "myView"..

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...