<?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: Passing a token value with different spaces in Splunk Cloud Platform</title>
    <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Passing-a-token-value-with-different-spaces/m-p/682746#M2927</link>
    <description>&lt;P&gt;Try something like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval check=replace($token$," +","\s+")
| where match(ID, check)&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 02 Apr 2024 13:36:21 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2024-04-02T13:36:21Z</dc:date>
    <item>
      <title>Passing a token value with different spaces</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Passing-a-token-value-with-different-spaces/m-p/682704#M2923</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I've sample data with exactly 10 characters with the combination of alphabet (2-4 characters) followed by spaces (2-4 characters) and number (2-4 characters). Refer table for sample field values. underscore represents a space.&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="50%"&gt;SI.No&lt;/TD&gt;&lt;TD width="50%"&gt;ID&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;1&lt;/TD&gt;&lt;TD width="50%"&gt;ABCD__1234&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;2&lt;/TD&gt;&lt;TD width="50%"&gt;AB____1234&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;3&lt;/TD&gt;&lt;TD width="50%"&gt;ABCD___123&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;4&lt;/TD&gt;&lt;TD width="50%"&gt;ABCDE__123&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In dashboard, I've got filter for ID. The requirement is user can enter single or two spaces between the ABCD and 1234 in the filter box. By passing this token value with irrespective space values we need to fetch the results. Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 07:55:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Passing-a-token-value-with-different-spaces/m-p/682704#M2923</guid>
      <dc:creator>DineshElumalai</dc:creator>
      <dc:date>2024-04-02T07:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Passing a token value with different spaces</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Passing-a-token-value-with-different-spaces/m-p/682746#M2927</link>
      <description>&lt;P&gt;Try something like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval check=replace($token$," +","\s+")
| where match(ID, check)&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 02 Apr 2024 13:36:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Passing-a-token-value-with-different-spaces/m-p/682746#M2927</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-04-02T13:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: Passing a token value with different spaces</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Passing-a-token-value-with-different-spaces/m-p/683568#M2949</link>
      <description>&lt;P&gt;Initially I was facing error. I passed token inside the quotes "$token$". That worked for me. Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 08:59:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Passing-a-token-value-with-different-spaces/m-p/683568#M2949</guid>
      <dc:creator>DineshElumalai</dc:creator>
      <dc:date>2024-04-08T08:59:29Z</dc:date>
    </item>
  </channel>
</rss>

