<?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 how to match partial  string in search query in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-to-match-partial-string-in-search-query/m-p/293731#M88666</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I have a errors  in the field (say myfield)&lt;/P&gt;

&lt;P&gt;Error  xyz : 123&lt;BR /&gt;
Error  xyz : 456&lt;BR /&gt;
Error  xyz : 789&lt;BR /&gt;
Error  xyz : 135&lt;BR /&gt;
Error  xyz : 987 &lt;/P&gt;

&lt;P&gt;i want to group it by matching  the partial values of a string like&lt;BR /&gt;
| eval myfield=if(myfield=="Error  xyz*","Error  xyz",myfield)&lt;/P&gt;

&lt;P&gt;So myfields should contain values &lt;/P&gt;

&lt;P&gt;"Error  xyz" and other errors&lt;BR /&gt;
(i am tring to group myfield values which starts with "Error  xyz" )&lt;BR /&gt;
how can i do this&lt;/P&gt;</description>
    <pubDate>Mon, 15 May 2017 15:31:57 GMT</pubDate>
    <dc:creator>sravankaripe</dc:creator>
    <dc:date>2017-05-15T15:31:57Z</dc:date>
    <item>
      <title>how to match partial  string in search query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-match-partial-string-in-search-query/m-p/293731#M88666</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I have a errors  in the field (say myfield)&lt;/P&gt;

&lt;P&gt;Error  xyz : 123&lt;BR /&gt;
Error  xyz : 456&lt;BR /&gt;
Error  xyz : 789&lt;BR /&gt;
Error  xyz : 135&lt;BR /&gt;
Error  xyz : 987 &lt;/P&gt;

&lt;P&gt;i want to group it by matching  the partial values of a string like&lt;BR /&gt;
| eval myfield=if(myfield=="Error  xyz*","Error  xyz",myfield)&lt;/P&gt;

&lt;P&gt;So myfields should contain values &lt;/P&gt;

&lt;P&gt;"Error  xyz" and other errors&lt;BR /&gt;
(i am tring to group myfield values which starts with "Error  xyz" )&lt;BR /&gt;
how can i do this&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2017 15:31:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-match-partial-string-in-search-query/m-p/293731#M88666</guid>
      <dc:creator>sravankaripe</dc:creator>
      <dc:date>2017-05-15T15:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to match partial  string in search query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-match-partial-string-in-search-query/m-p/293732#M88667</link>
      <description>&lt;P&gt;try this&lt;/P&gt;

&lt;P&gt;|  eval temp= mvfilter(match(myfield,"Error xyz")) | eval myfield=if(myfield==temp,"Error xyz",myfield)&lt;/P&gt;

&lt;P&gt;if it won't work, please provide me more info&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2017 15:37:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-match-partial-string-in-search-query/m-p/293732#M88667</guid>
      <dc:creator>SplunkersRock</dc:creator>
      <dc:date>2017-05-15T15:37:25Z</dc:date>
    </item>
  </channel>
</rss>

