<?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: How to search string  abc/efg in log using multiselect field? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-string-abc-efg-in-log-using-multiselect-field/m-p/621330#M215973</link>
    <description>&lt;P&gt;I&amp;nbsp; retried&amp;nbsp; abc\/efg, it works now, thx you, anyway.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Nov 2022 03:03:43 GMT</pubDate>
    <dc:creator>wangkevin1029</dc:creator>
    <dc:date>2022-11-18T03:03:43Z</dc:date>
    <item>
      <title>How to search string  abc/efg in log using multiselect field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-string-abc-efg-in-log-using-multiselect-field/m-p/621315#M215965</link>
      <description>&lt;P&gt;Hi, Splunkers,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I&amp;nbsp; want to search string like abc/efg in my log using&amp;nbsp; multiselect field.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I directly defined this&amp;nbsp; search value&amp;nbsp; abc/efg in multiselect field , token&amp;nbsp; name "keyword"&lt;/P&gt;
&lt;P&gt;in my query, I use $keyword" to search,&amp;nbsp; it doesn't' work,&amp;nbsp; I also try&amp;nbsp; abc\/efg, it doesn't work either,&amp;nbsp; but other normal string works here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;any ideas?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thx in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kevin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 22:15:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-string-abc-efg-in-log-using-multiselect-field/m-p/621315#M215965</guid>
      <dc:creator>wangkevin1029</dc:creator>
      <dc:date>2022-11-17T22:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to search string  abc/efg in log using multiselect field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-string-abc-efg-in-log-using-multiselect-field/m-p/621321#M215969</link>
      <description>&lt;P&gt;Depending on data, some methods can be more efficient than others. &amp;nbsp;Here is the most generic method if you truly want to search for a string that may appear anywhere in the event. (In other words, you must satisfy ("*abc*" OR "*efg*"). Extremely expensive.)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;input type="multiselect" token="keyword"&amp;gt;
  &amp;lt;choice value="abc"&amp;gt;abc&amp;lt;/choice&amp;gt;
  &amp;lt;choice value="efg"&amp;gt;efg&amp;lt;/choice&amp;gt;
  &amp;lt;prefix&amp;gt;(&amp;lt;/prefix&amp;gt;
  &amp;lt;suffix&amp;gt;)&amp;lt;/suffix&amp;gt;
  &amp;lt;delimiter&amp;gt; OR &amp;lt;/delimiter&amp;gt;
  &amp;lt;valuePrefix&amp;gt;&amp;amp;quot;*&amp;lt;/valuePrefix&amp;gt;
  &amp;lt;valueSuffix&amp;gt;*&amp;amp;quot;&amp;lt;/valueSuffix&amp;gt;
&amp;lt;/input&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;Then in search, you just say $keyword$. &amp;nbsp;There can be many variations of this, especially in regard to prefix and suffix. &amp;nbsp;For example, you can include all the asterisk, quotation mark, in value and do not use &amp;lt;valuePrefix/&amp;gt; and &amp;lt;valueSuffix/&amp;gt;; you can also do ($keyword$) in search and do away with &amp;lt;prefix/&amp;gt; and &amp;lt;suffix/&amp;gt;. (This question better belongs to reporting &amp;amp; dashboard forum.)&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 23:10:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-string-abc-efg-in-log-using-multiselect-field/m-p/621321#M215969</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2022-11-17T23:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to search string  abc/efg in log using multiselect field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-string-abc-efg-in-log-using-multiselect-field/m-p/621330#M215973</link>
      <description>&lt;P&gt;I&amp;nbsp; retried&amp;nbsp; abc\/efg, it works now, thx you, anyway.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 03:03:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-string-abc-efg-in-log-using-multiselect-field/m-p/621330#M215973</guid>
      <dc:creator>wangkevin1029</dc:creator>
      <dc:date>2022-11-18T03:03:43Z</dc:date>
    </item>
  </channel>
</rss>

