Dashboards & Visualizations
Highlighted

Table Drilldown on second column value

Champion

I do not believe this is possible without the use of sideviews however I am unable to use the sideview utils for this project and so I thought I would throw it out to the community.

Is there a method where I can drilldown by row and pass the value of the second column as opposed to the first?

Complexity is not an issue, its just something that would be nice to maintain the aesthetics of a table I have designed without moving around the column ordering. With any luck this is possible and its something basic I have just missed! 🙂

0 Karma
Highlighted

Re: Table Drilldown on second column value

Explorer

I actually took a look at this the other day. I had to customize SimpleResultsTable.js to get click.name2, click.value2 to pass the second column header and td value.

By default, it sets them to click.name and click.value which is the first column header and td.

0 Karma
Highlighted

Re: Table Drilldown on second column value

SplunkTrust
SplunkTrust

No I'm pretty sure that your options are

1) to use Sideview Utils, in which case the keys added by Sideview downstream from SimpleResultsTable would be $click.fields.fieldName$, or $click.cell1.value$, and the keys downstream from the Sideview Table module would be $row.fields.fieldName$ and $row.cell1.value$.

or

2) as lisheridan has done - to patch the javascript of SimpleResultsTable yourself.

0 Karma
Highlighted

Re: Table Drilldown on second column value

Champion

Oh wow, this is a blast from the past! I can't recall how I solved this but I just use sideview utils now 😛