<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Need help with tokenization on timechart for Dashboard Studio v9.3.2 in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Need-help-with-tokenization-on-timechart-for-Dashboard-Studio-v9/m-p/754928#M59235</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/170906"&gt;@livehybrid&lt;/a&gt;&amp;nbsp;This is the second time you've really helped me out. Thank you so much!&lt;/P&gt;</description>
    <pubDate>Wed, 29 Oct 2025 14:50:21 GMT</pubDate>
    <dc:creator>ripvw32</dc:creator>
    <dc:date>2025-10-29T14:50:21Z</dc:date>
    <item>
      <title>Need help with tokenization on timechart for Dashboard Studio v9.3.2</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Need-help-with-tokenization-on-timechart-for-Dashboard-Studio-v9/m-p/754893#M59233</link>
      <description>&lt;P&gt;Have this query I am using for a visualization:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;My query strings&amp;gt;

| eval ApiName=upper(ApiName)

| stats earliest(_time) AS StartTime latest(_time) AS EndTime BY correlationId ApiName
| eval DurationInSecs = EndTime - StartTime
| where DurationInSecs &amp;gt;= 0
| eval StartTimeR = StartTime + 30
| bin StartTimeR span=1m
| eval Time = StartTimeR - 30

| eval _time = Time
| timechart span=15m limit=0 useother=f $DurationToken$(DurationInSecs) BY ApiName&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;I've added an interaction so that when someone clicks on a line or on the legend, it will open a new tab to the desired dashboard (works) and pass the token in to be used in a new query in a new visual in the newly opened dashboard (not working)&lt;BR /&gt;&lt;BR /&gt;Here is the interaction source code:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{...
    "eventHandlers": [
        {
            "type": "drilldown.linkToDashboard",
            "options": {
                "app": "mygroupname_search",
                "dashboard": "my_api_stats__api_drill_down",
                "newTab": true,
                "tokens": [
                    {
                        "token": "ApiNameToken",
                        "value": "row.ApiName.value"
                    }
                ]
            }
        }
    ],
...}&lt;/LI-CODE&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;However, when I click on the line/legend name for a specific ApiName I get the new dashboard tab opened, but the sent value is the text string 'row.ApiName.value' vs. the ApiName I clicked on/am expecting.&lt;BR /&gt;&lt;BR /&gt;I check to see what the token is carrying via a markdown text box I have on the new dashboard using&amp;nbsp;$ApiNameToken$ in the text box.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have zero issues with doing it this way when using anything other than a time chart.&lt;BR /&gt;&lt;BR /&gt;Please help me understand what am I doing incorrectly?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 22:23:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Need-help-with-tokenization-on-timechart-for-Dashboard-Studio-v9/m-p/754893#M59233</guid>
      <dc:creator>ripvw32</dc:creator>
      <dc:date>2025-10-28T22:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with tokenization on timechart for Dashboard Studio v9.3.2</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Need-help-with-tokenization-on-timechart-for-Dashboard-Studio-v9/m-p/754896#M59234</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/310908"&gt;@ripvw32&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you do your timechart by apiName you no longer have a column/field called 'apiName' - instead you have column for each apiName in your original search (e.g. API1)&lt;/P&gt;&lt;P&gt;Therefore you cannot use row.apiName.value in your drilldown - instead you can use 'name' which is the name of the field clicked - which should be the apiName value.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{...
    "eventHandlers": [
        {
            "type": "drilldown.linkToDashboard",
            "options": {
                "app": "mygroupname_search",
                "dashboard": "my_api_stats__api_drill_down",
                "newTab": true,
                "tokens": [
                    {
                        "token": "ApiNameToken",
                        "value": "name"
                    }
                ]
            }
        }
    ],
...}&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 22:44:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Need-help-with-tokenization-on-timechart-for-Dashboard-Studio-v9/m-p/754896#M59234</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-10-28T22:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with tokenization on timechart for Dashboard Studio v9.3.2</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Need-help-with-tokenization-on-timechart-for-Dashboard-Studio-v9/m-p/754928#M59235</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/170906"&gt;@livehybrid&lt;/a&gt;&amp;nbsp;This is the second time you've really helped me out. Thank you so much!&lt;/P&gt;</description>
      <pubDate>Wed, 29 Oct 2025 14:50:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Need-help-with-tokenization-on-timechart-for-Dashboard-Studio-v9/m-p/754928#M59235</guid>
      <dc:creator>ripvw32</dc:creator>
      <dc:date>2025-10-29T14:50:21Z</dc:date>
    </item>
  </channel>
</rss>

