<?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 Searching  strings with accented characters in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Searching-strings-with-accented-characters/m-p/413025#M119072</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I'm having an issue when trying to filter events based on accented characters. &lt;/P&gt;

&lt;P&gt;For instance if I look at the ingested events, &lt;CODE&gt;index=my_index sourcetype=my_source&lt;/CODE&gt; , I will be able to see the events that have the field value I'm looking for:&lt;/P&gt;

&lt;P&gt;... asset_name ...&lt;BR /&gt;
... D. João ...&lt;/P&gt;

&lt;P&gt;If I try to filter the events at search time &lt;CODE&gt;index=my_index sourcetype=my_source asset_name="D. João"&lt;/CODE&gt; , the "&lt;STRONG&gt;No results found.&lt;/STRONG&gt;" message is displayed, the same applies if I select the desired field value from the field's list on the left.&lt;/P&gt;

&lt;P&gt;How can I get this to work?&lt;/P&gt;

&lt;P&gt;I've looked for similar questions here on the Splunk Answers forum but it mainly points for the sourcetype encoding, which I think might not be the issue, since the events seem to be properly encoded.&lt;/P&gt;

&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Mon, 20 Aug 2018 11:42:44 GMT</pubDate>
    <dc:creator>LordLeet</dc:creator>
    <dc:date>2018-08-20T11:42:44Z</dc:date>
    <item>
      <title>Searching  strings with accented characters</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Searching-strings-with-accented-characters/m-p/413025#M119072</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I'm having an issue when trying to filter events based on accented characters. &lt;/P&gt;

&lt;P&gt;For instance if I look at the ingested events, &lt;CODE&gt;index=my_index sourcetype=my_source&lt;/CODE&gt; , I will be able to see the events that have the field value I'm looking for:&lt;/P&gt;

&lt;P&gt;... asset_name ...&lt;BR /&gt;
... D. João ...&lt;/P&gt;

&lt;P&gt;If I try to filter the events at search time &lt;CODE&gt;index=my_index sourcetype=my_source asset_name="D. João"&lt;/CODE&gt; , the "&lt;STRONG&gt;No results found.&lt;/STRONG&gt;" message is displayed, the same applies if I select the desired field value from the field's list on the left.&lt;/P&gt;

&lt;P&gt;How can I get this to work?&lt;/P&gt;

&lt;P&gt;I've looked for similar questions here on the Splunk Answers forum but it mainly points for the sourcetype encoding, which I think might not be the issue, since the events seem to be properly encoded.&lt;/P&gt;

&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 20 Aug 2018 11:42:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Searching-strings-with-accented-characters/m-p/413025#M119072</guid>
      <dc:creator>LordLeet</dc:creator>
      <dc:date>2018-08-20T11:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: Searching  strings with accented characters</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Searching-strings-with-accented-characters/m-p/413026#M119073</link>
      <description>&lt;P&gt;try something to the affect of &lt;CODE&gt;|regex ã&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Aug 2018 14:20:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Searching-strings-with-accented-characters/m-p/413026#M119073</guid>
      <dc:creator>CarsonZa</dc:creator>
      <dc:date>2018-08-20T14:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: Searching  strings with accented characters</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Searching-strings-with-accented-characters/m-p/413027#M119074</link>
      <description>&lt;P&gt;Hello CarzonZa,&lt;/P&gt;

&lt;P&gt;It works if I use the ´| regex ´ command, is this the only way to retrieve the filtered data?&lt;/P&gt;

&lt;P&gt;I'm worried about this, since I tried to use the ´like()´ function and it didn't calculate properly.&lt;/P&gt;

&lt;P&gt;´index="index_name" source="source_name"&lt;BR /&gt;
| regex field_name="Carvão"&lt;BR /&gt;
| eval x=if(like(field_name,"%ã%"),1,0)&lt;BR /&gt;
| stats count by x´&lt;/P&gt;

&lt;P&gt;It only counts x=0&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:00:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Searching-strings-with-accented-characters/m-p/413027#M119074</guid>
      <dc:creator>LordLeet</dc:creator>
      <dc:date>2020-09-29T21:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Searching  strings with accented characters</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Searching-strings-with-accented-characters/m-p/413028#M119075</link>
      <description>&lt;P&gt;-- since the events seem to be properly encoded...&lt;/P&gt;

&lt;P&gt;What is the encoding? &lt;/P&gt;

&lt;P&gt;A similar thread at - &lt;A href="https://answers.splunk.com/answers/577730/how-do-i-search-for-accented-characters.html"&gt;How do I search for accented characters?&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Aug 2018 13:36:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Searching-strings-with-accented-characters/m-p/413028#M119075</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2018-08-21T13:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: Searching  strings with accented characters</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Searching-strings-with-accented-characters/m-p/413029#M119076</link>
      <description>&lt;P&gt;create a capture group like so&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rex field=_raw "\s(?&amp;lt;name&amp;gt;.*)" 
| eval x=if(like(name,"%ã%"),1,0) 
| stats count by name
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 Aug 2018 13:58:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Searching-strings-with-accented-characters/m-p/413029#M119076</guid>
      <dc:creator>CarsonZa</dc:creator>
      <dc:date>2018-08-21T13:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Searching  strings with accented characters</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Searching-strings-with-accented-characters/m-p/413030#M119077</link>
      <description>&lt;P&gt;Hello ddrillic,&lt;/P&gt;

&lt;P&gt;It's set to default. &lt;/P&gt;

&lt;P&gt;From my previous research on other threads here on the forum, my understanding was that if the characters are show properly the encoding  selected by Splunk would be correct.&lt;/P&gt;

&lt;P&gt;If this is not the case I might need to manually select the correct one. Would changing the current encoding affect already ingested data or only the data ingested from now on?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 21 Aug 2018 14:00:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Searching-strings-with-accented-characters/m-p/413030#M119077</guid>
      <dc:creator>LordLeet</dc:creator>
      <dc:date>2018-08-21T14:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Searching  strings with accented characters</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Searching-strings-with-accented-characters/m-p/413031#M119078</link>
      <description>&lt;P&gt;Hello CarsonZa,&lt;/P&gt;

&lt;P&gt;That works, though using regex would not be the final solution I would like to implement since the majority of the users that perform searches do not possess the required knowledge.&lt;/P&gt;

&lt;P&gt;I might have to assess the encoding to prevent this from happening.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2018 15:17:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Searching-strings-with-accented-characters/m-p/413031#M119078</guid>
      <dc:creator>LordLeet</dc:creator>
      <dc:date>2018-08-22T15:17:52Z</dc:date>
    </item>
  </channel>
</rss>

