Hi, Splunkers,
I have the following table drilldown earliest and latest time works properly.
but when I copied it to a chart drilldown, it stopped working.
I noticed table drilldown has the following drilldown option value= row.
<option name="drilldown">row</option>
and the link for passing earliest and latest time uses row.StartDTM_epoch, and row.EndDTM_epoch
form.field2.earliest=$row.StartDTM_epoch$&form.field2.latest=$row.EndDTM_epoch$
I noticed my chart drilldown has the following drilldown option value= all.
<option name="drilldown">all</option>
so, I changed it to form.field2.earliest=$all.StartDTM_epoch$&form.field2.latest=$all.EndDTM_epoch$
not sure if the all.StartDTM_epoch and all.EndDTM_epoch casusing the failure.
the following is the related working code for table drilldown to pass earliest and latest time.
| eval StartDTM_epoch = relative_time(_time,"-20m") | eval EndDTM_epoch = relative_time(_time,"+20m")
| eval TIME = strftime(_time, "%Y-%m-%d %H:%M:%S") | table _time,sid,Type,AgentName,DN,FAddress,Segment,Function,Client,Product,SubFunction,SubFDetail,MKTGCT,CCType,VQ,TLCnt,AFRoute,StateCD,TargetSelected,AFStatus,,CBOffered,CBRejected,AQT,EWT,EWTmin,PIQ,WT,LSInRange,LSPriority,LSRateS,PB,PCSS,PENT,PF,RONA,LANG,StartDTM_epoch,EndDTM_epoch</query> <earliest>$field2.earliest$</earliest> <latest>$field2.latest$</latest> <sampleRatio>1</sampleRatio> </search> <option name="count">20</option> <option name="dataOverlayMode">none</option> <option name="drilldown">row</option> <option name="percentagesRow">false</option> <option name="refresh.display">progressbar</option> <option name="rowNumbers">true</option> <option name="totalsRow">false</option> <option name="wrap">true</option> <fields>["_time","sid","Type","AgentName","DN","FAddress","Segment","Function","Client","Product","SubFunction","SubFDetail","MKTGCT","CCType","VQ","TLCnt","AFRoute","StateCD","TargetSelected","AFStatus","CBOffered","CBRejected","AQT","EWT","EWTmin","PIQ","WT","LSInRange","LSPriority","LSRateS","PB","PCSS","PENT","PF","RONA","LANG"]</fields> <drilldown> <condition match="$t_DrillDown$ = "*""> <link target="_blank"> <![CDATA[ /app/optum_gvp/guciduuidsid_search_applied_rules_with_ors_log_kvp?form.Gucid_token_with2handlers=$click.value2$&form.field2.earliest=$row.StartDTM_epoch$&form.field2.latest=$row.EndDTM_epoch$ ]]> </link>
thx in advance.
Kevin
... View more