<?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 Wanted to convert a search to a drop down listing, but not certain where to place the token. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Wanted-to-convert-a-search-to-a-drop-down-listing-but-not/m-p/399229#M168747</link>
    <description>&lt;P&gt;I found this search and it works well for the information I need.  However, I have been unable to create a drop-down of the user ID so that I can display only one users information at a time:&lt;/P&gt;

&lt;P&gt;|rest /services/authentication/users splunk_server=local &lt;BR /&gt;
 |fields title realname roles |rename title as userName|rename realname as Name&lt;/P&gt;

&lt;P&gt;My Dropdown search is:  user=*  | fields user | dedup user&lt;BR /&gt;
My Token is: myuser&lt;/P&gt;

&lt;P&gt;What I'm having a problem with is getting the myuser in the right place in the first search, or do I need to create an additional line in the main search that I populate with the $myuser$?&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jun 2018 14:37:10 GMT</pubDate>
    <dc:creator>nls7010</dc:creator>
    <dc:date>2018-06-21T14:37:10Z</dc:date>
    <item>
      <title>Wanted to convert a search to a drop down listing, but not certain where to place the token.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Wanted-to-convert-a-search-to-a-drop-down-listing-but-not/m-p/399229#M168747</link>
      <description>&lt;P&gt;I found this search and it works well for the information I need.  However, I have been unable to create a drop-down of the user ID so that I can display only one users information at a time:&lt;/P&gt;

&lt;P&gt;|rest /services/authentication/users splunk_server=local &lt;BR /&gt;
 |fields title realname roles |rename title as userName|rename realname as Name&lt;/P&gt;

&lt;P&gt;My Dropdown search is:  user=*  | fields user | dedup user&lt;BR /&gt;
My Token is: myuser&lt;/P&gt;

&lt;P&gt;What I'm having a problem with is getting the myuser in the right place in the first search, or do I need to create an additional line in the main search that I populate with the $myuser$?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 14:37:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Wanted-to-convert-a-search-to-a-drop-down-listing-but-not/m-p/399229#M168747</guid>
      <dc:creator>nls7010</dc:creator>
      <dc:date>2018-06-21T14:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: Wanted to convert a search to a drop down listing, but not certain where to place the token.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Wanted-to-convert-a-search-to-a-drop-down-listing-but-not/m-p/399230#M168748</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;|rest /services/authentication/users splunk_server=local user=$myuser$
|fields title realname roles |rename title as userName|rename realname as Name
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Just add it to the filter part of your original search. &lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 17:11:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Wanted-to-convert-a-search-to-a-drop-down-listing-but-not/m-p/399230#M168748</guid>
      <dc:creator>kmaron</dc:creator>
      <dc:date>2018-06-21T17:11:13Z</dc:date>
    </item>
  </channel>
</rss>

