<?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 Splunk dashboard drop-down menu has spaces in the values, causing the dashboard to not be able to retrieve data. in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-dashboard-drop-down-menu-has-spaces-in-the-values-causing/m-p/667183#M54569</link>
    <description>&lt;P&gt;I'm trying to create own Splunk (dashboard) queries for Okta data analysis. I'm having issues because a specific field has a space in the value and it's causing the dashboard to not be able to retrieve data (when I know there is data). 3 other drop-down menus work fine (there is no spaces in the values there). My main suspicion that the reason of failure is because of that spaces.&amp;nbsp;&lt;BR /&gt;I'm trying to transform the values and remove spaces, in the hope that would help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I Found some recommendations online and examples of functions, but I'm not very experienced with Splunk, can anyone explain step by step how I could solve that issue? If the name of my field with issues is "&lt;SPAN&gt;actor.displayName&lt;/SPAN&gt;"&amp;nbsp; (it has multiple spaces in the values).&lt;BR /&gt;&lt;BR /&gt;Examples found online:&lt;BR /&gt;1) | rex mode=sed field=A "s/ //g"&lt;/P&gt;&lt;P&gt;2) | eval nospace=trim(A)&lt;/P&gt;&lt;P&gt;3)| rex field=field1 "(?&amp;lt;newfield&amp;gt;\S+)"&lt;/P&gt;&lt;P&gt;4)|eval NewField=trim(OldField)&lt;/P&gt;&lt;P&gt;Has anyone encountered this issue before? Thanks for help!&lt;/P&gt;</description>
    <pubDate>Thu, 02 Nov 2023 13:43:58 GMT</pubDate>
    <dc:creator>Maximussss</dc:creator>
    <dc:date>2023-11-02T13:43:58Z</dc:date>
    <item>
      <title>Splunk dashboard drop-down menu has spaces in the values, causing the dashboard to not be able to retrieve data.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-dashboard-drop-down-menu-has-spaces-in-the-values-causing/m-p/667183#M54569</link>
      <description>&lt;P&gt;I'm trying to create own Splunk (dashboard) queries for Okta data analysis. I'm having issues because a specific field has a space in the value and it's causing the dashboard to not be able to retrieve data (when I know there is data). 3 other drop-down menus work fine (there is no spaces in the values there). My main suspicion that the reason of failure is because of that spaces.&amp;nbsp;&lt;BR /&gt;I'm trying to transform the values and remove spaces, in the hope that would help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I Found some recommendations online and examples of functions, but I'm not very experienced with Splunk, can anyone explain step by step how I could solve that issue? If the name of my field with issues is "&lt;SPAN&gt;actor.displayName&lt;/SPAN&gt;"&amp;nbsp; (it has multiple spaces in the values).&lt;BR /&gt;&lt;BR /&gt;Examples found online:&lt;BR /&gt;1) | rex mode=sed field=A "s/ //g"&lt;/P&gt;&lt;P&gt;2) | eval nospace=trim(A)&lt;/P&gt;&lt;P&gt;3)| rex field=field1 "(?&amp;lt;newfield&amp;gt;\S+)"&lt;/P&gt;&lt;P&gt;4)|eval NewField=trim(OldField)&lt;/P&gt;&lt;P&gt;Has anyone encountered this issue before? Thanks for help!&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 13:43:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-dashboard-drop-down-menu-has-spaces-in-the-values-causing/m-p/667183#M54569</guid>
      <dc:creator>Maximussss</dc:creator>
      <dc:date>2023-11-02T13:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk dashboard drop-down menu has spaces in the values, causing the dashboard to not be able to retrieve data.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-dashboard-drop-down-menu-has-spaces-in-the-values-causing/m-p/667189#M54571</link>
      <description>&lt;P&gt;Rather than trying to remove the spaces, why not consider wrapping the value in quotes where it is used&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$token_name|s$&lt;/LI-CODE&gt;&lt;P&gt;&lt;A title="Token Filters" href="https://docs.splunk.com/Documentation/Splunk/9.1.1/Viz/tokens#Token_filters" target="_self"&gt;https://docs.splunk.com/Documentation/Splunk/9.1.1/Viz/tokens#Token_filters&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 14:28:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-dashboard-drop-down-menu-has-spaces-in-the-values-causing/m-p/667189#M54571</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-11-02T14:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk dashboard drop-down menu has spaces in the values, causing the dashboard to not be able to retrieve data.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-dashboard-drop-down-menu-has-spaces-in-the-values-causing/m-p/667197#M54572</link>
      <description>&lt;P&gt;Thank you for your advice, in this case if my token name is for example "actor.displayName"&lt;BR /&gt;&lt;BR /&gt;in this case in the main query in need to wrap it like this? :&amp;nbsp; $"actor.displayName"|s$&lt;/P&gt;&lt;P&gt;Sorry for asking probably very basic question...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 15:10:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-dashboard-drop-down-menu-has-spaces-in-the-values-causing/m-p/667197#M54572</guid>
      <dc:creator>Maximussss</dc:creator>
      <dc:date>2023-11-02T15:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk dashboard drop-down menu has spaces in the values, causing the dashboard to not be able to retrieve data.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-dashboard-drop-down-menu-has-spaces-in-the-values-causing/m-p/667199#M54573</link>
      <description>&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 15:45:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-dashboard-drop-down-menu-has-spaces-in-the-values-causing/m-p/667199#M54573</guid>
      <dc:creator>Maximussss</dc:creator>
      <dc:date>2023-11-02T15:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk dashboard drop-down menu has spaces in the values, causing the dashboard to not be able to retrieve data.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-dashboard-drop-down-menu-has-spaces-in-the-values-causing/m-p/667201#M54574</link>
      <description>&lt;LI-CODE lang="markup"&gt;$actor.displayName|s$&lt;/LI-CODE&gt;&lt;P&gt;Having said that, you should probably avoid using dot in names where possible, so perhaps name your token as actorDisplayName and use $actorDisplayName|s$&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 15:26:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-dashboard-drop-down-menu-has-spaces-in-the-values-causing/m-p/667201#M54574</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-11-02T15:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk dashboard drop-down menu has spaces in the values, causing the dashboard to not be able to retrieve data.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-dashboard-drop-down-menu-has-spaces-in-the-values-causing/m-p/667205#M54575</link>
      <description>&lt;P&gt;This name already comes from OKTA logs with dot, unfortunately I wont be able to change it. Need to work with what I have. Thank you for help! A appreciate it!&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 15:48:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-dashboard-drop-down-menu-has-spaces-in-the-values-causing/m-p/667205#M54575</guid>
      <dc:creator>Maximussss</dc:creator>
      <dc:date>2023-11-02T15:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk dashboard drop-down menu has spaces in the values, causing the dashboard to not be able to retrieve data.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-dashboard-drop-down-menu-has-spaces-in-the-values-causing/m-p/667211#M54576</link>
      <description>&lt;P&gt;The name of the field might come from the log but the name of the token doesn't have to match, if you can edit the dashboard, you can change the name of the token.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 16:14:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-dashboard-drop-down-menu-has-spaces-in-the-values-causing/m-p/667211#M54576</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-11-02T16:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk dashboard drop-down menu has spaces in the values, causing the dashboard to not be able to retrieve data.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-dashboard-drop-down-menu-has-spaces-in-the-values-causing/m-p/667234#M54577</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;Want to say THANK YOU again! Just tried to wrap it and everything worked.&lt;BR /&gt;&lt;BR /&gt;It took me a while to understand that I need to wrap it not in the main query but in my additional part when I'm trying to pass the token to other components.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 19:12:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-dashboard-drop-down-menu-has-spaces-in-the-values-causing/m-p/667234#M54577</guid>
      <dc:creator>Maximussss</dc:creator>
      <dc:date>2023-11-02T19:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk dashboard drop-down menu has spaces in the values, causing the dashboard to not be able to retrieve data.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-dashboard-drop-down-menu-has-spaces-in-the-values-causing/m-p/741584#M58388</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;How do use this token&amp;nbsp; in dashboard studio drilldown URL?&amp;nbsp;any modifiers available to dynamically add UTF encoding for space and special characters?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 13:49:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-dashboard-drop-down-menu-has-spaces-in-the-values-causing/m-p/741584#M58388</guid>
      <dc:creator>sekarjegan93</dc:creator>
      <dc:date>2025-03-12T13:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk dashboard drop-down menu has spaces in the values, causing the dashboard to not be able to retrieve data.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-dashboard-drop-down-menu-has-spaces-in-the-values-causing/m-p/741585#M58389</link>
      <description>&lt;P&gt;Token modifiers can be found here&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/latest/Viz/tokens#Syntax_to_consume_tokens" target="_blank"&gt;https://docs.splunk.com/Documentation/SplunkCloud/latest/Viz/tokens#Syntax_to_consume_tokens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I don't use Studio very much as it doesn't have all the features available to Classic Simple XML dashboards, so I can't guarantee that this will work for Studio.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 13:53:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-dashboard-drop-down-menu-has-spaces-in-the-values-causing/m-p/741585#M58389</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2025-03-12T13:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk dashboard drop-down menu has spaces in the values, causing the dashboard to not be able to retrieve data.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-dashboard-drop-down-menu-has-spaces-in-the-values-causing/m-p/741601#M58394</link>
      <description>&lt;P&gt;Thanks much. I got it worked using below modifier&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;URL format:&amp;nbsp;&lt;/STRONG&gt;$token_name|u$&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 15:25:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-dashboard-drop-down-menu-has-spaces-in-the-values-causing/m-p/741601#M58394</guid>
      <dc:creator>sekarjegan93</dc:creator>
      <dc:date>2025-03-12T15:25:56Z</dc:date>
    </item>
  </channel>
</rss>

