<?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 Why does my token in my search query not work? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-does-my-token-in-my-search-query-not-work/m-p/512508#M143753</link>
    <description>&lt;P&gt;I've created a dropdown input field that shows the user accounts that are locked out&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paste_splunk_qns_1a.PNG" style="width: 305px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10047i52024603CAA1753F/image-dimensions/305x306?v=v2" width="305" height="306" role="button" title="paste_splunk_qns_1a.PNG" alt="paste_splunk_qns_1a.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And this is the search string that i'm using for my dashboard panel to display the user accounts that are locked out&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paste_splunk_qns_1c.PNG" style="width: 494px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10049iF74FD2BF0DF46F93/image-dimensions/494x333?v=v2" width="494" height="333" role="button" title="paste_splunk_qns_1c.PNG" alt="paste_splunk_qns_1c.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I select each of the user accounts listed below, the dashboard panel doesn't show them. How do I fix this?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rkris_0-1596608402774.png" style="width: 235px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10050i3ABFEA18497C70CC/image-dimensions/235x231?v=v2" width="235" height="231" role="button" title="rkris_0-1596608402774.png" alt="rkris_0-1596608402774.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Aug 2020 06:25:00 GMT</pubDate>
    <dc:creator>rkris</dc:creator>
    <dc:date>2020-08-05T06:25:00Z</dc:date>
    <item>
      <title>Why does my token in my search query not work?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-my-token-in-my-search-query-not-work/m-p/512508#M143753</link>
      <description>&lt;P&gt;I've created a dropdown input field that shows the user accounts that are locked out&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paste_splunk_qns_1a.PNG" style="width: 305px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10047i52024603CAA1753F/image-dimensions/305x306?v=v2" width="305" height="306" role="button" title="paste_splunk_qns_1a.PNG" alt="paste_splunk_qns_1a.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And this is the search string that i'm using for my dashboard panel to display the user accounts that are locked out&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paste_splunk_qns_1c.PNG" style="width: 494px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10049iF74FD2BF0DF46F93/image-dimensions/494x333?v=v2" width="494" height="333" role="button" title="paste_splunk_qns_1c.PNG" alt="paste_splunk_qns_1c.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I select each of the user accounts listed below, the dashboard panel doesn't show them. How do I fix this?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rkris_0-1596608402774.png" style="width: 235px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10050i3ABFEA18497C70CC/image-dimensions/235x231?v=v2" width="235" height="231" role="button" title="rkris_0-1596608402774.png" alt="rkris_0-1596608402774.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 06:25:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-my-token-in-my-search-query-not-work/m-p/512508#M143753</guid>
      <dc:creator>rkris</dc:creator>
      <dc:date>2020-08-05T06:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my token in my search query not work?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-my-token-in-my-search-query-not-work/m-p/512573#M143770</link>
      <description>Where are you getting the list of names? If it's not from the same source as the search string in the second screen shot then it's possible there simply no events for those users. Another possibility is the user names are slightly different and failing to match the token.</description>
      <pubDate>Wed, 05 Aug 2020 14:25:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-my-token-in-my-search-query-not-work/m-p/512573#M143770</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-08-05T14:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my token in my search query not work?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-my-token-in-my-search-query-not-work/m-p/512695#M143807</link>
      <description>&lt;P&gt;I think "match" is here the problem. Because the QuickRef Guide says:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.splunk.com/pdfs/solution-guides/splunk-quick-reference-guide.pdf" target="_blank" rel="noopener"&gt;splunk-quick-reference-guide.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;match(X,Y) Returns if X matches the regex pattern Y. match(field, "^\d{1,3}\.\d$")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you tried:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;|search Targed_Account_Name IN ($locked_out$)

or

|search Targed_Account_Name=$locked_out$&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 09:06:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-my-token-in-my-search-query-not-work/m-p/512695#M143807</guid>
      <dc:creator>chrkohm</dc:creator>
      <dc:date>2020-08-06T09:06:29Z</dc:date>
    </item>
  </channel>
</rss>

