<?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: Search returns no result when including a () in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Search-returns-no-result-when-including-a/m-p/517363#M145477</link>
    <description>&lt;P&gt;Are you facing the issue in a dashboard token or in the search itself. Tried with the below sample search and it works fine and able to compare&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;|makeresults|eval ObjectName="D:\Company Data\Employee\contract\Michael (Tim)\Induction\Example (D) - .msg"
|eval object_name="D:\Company Data\Employee\contract\Michael (Tim)\Induction\Example (D) - .msg"
|eval status=if(ObjectName == object_name,"Equal","Not Equal")&lt;/LI-CODE&gt;&lt;P&gt;Please let us know where exactly the search failing .&lt;/P&gt;&lt;P&gt;If &lt;A href="https://community.splunk.com/t5/Dashboards-Visualizations/Search-with-special-characters/m-p/517346#M34647" target="_self"&gt;Search with special characters&lt;/A&gt; also for the same issue, you may delete/close that post&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Sep 2020 04:09:57 GMT</pubDate>
    <dc:creator>renjith_nair</dc:creator>
    <dc:date>2020-09-02T04:09:57Z</dc:date>
    <item>
      <title>Search returns no result when including a ()</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-returns-no-result-when-including-a/m-p/517347#M145473</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I have trouble to decode the token which contains some special character such as (). Below is my search and it does not return any result because the ObjectName contains the () in it:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=wineventlog EventCode=4660 OR EventCode=4663 Account_Name!="ANONYMOUS LOGON" host="myServer" Account_Name!="*$" 
| eval ObjectName=urldecode("D:\Company Data\Employee\contract\Michael (Tim)\Induction\Example (D) - .msg") 
| eval ObjectName=replace(ObjectName,"\\\\","\\\\\\")
| where match(Object_Name,ObjectName) 
| dedup _time host Account_Name Account_Domain Object_Name Accesses EventCodeDescription
| timechart span=60m count(Object_Name) as Changes by Account_Name&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the ObjectName does not contain () then it will work well. Could anyone help me decode it?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Toni&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2020 23:58:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-returns-no-result-when-including-a/m-p/517347#M145473</guid>
      <dc:creator>ToniHuynh</dc:creator>
      <dc:date>2020-09-01T23:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Search returns no result when including a ()</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-returns-no-result-when-including-a/m-p/517363#M145477</link>
      <description>&lt;P&gt;Are you facing the issue in a dashboard token or in the search itself. Tried with the below sample search and it works fine and able to compare&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;|makeresults|eval ObjectName="D:\Company Data\Employee\contract\Michael (Tim)\Induction\Example (D) - .msg"
|eval object_name="D:\Company Data\Employee\contract\Michael (Tim)\Induction\Example (D) - .msg"
|eval status=if(ObjectName == object_name,"Equal","Not Equal")&lt;/LI-CODE&gt;&lt;P&gt;Please let us know where exactly the search failing .&lt;/P&gt;&lt;P&gt;If &lt;A href="https://community.splunk.com/t5/Dashboards-Visualizations/Search-with-special-characters/m-p/517346#M34647" target="_self"&gt;Search with special characters&lt;/A&gt; also for the same issue, you may delete/close that post&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 04:09:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-returns-no-result-when-including-a/m-p/517363#M145477</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2020-09-02T04:09:57Z</dc:date>
    </item>
  </channel>
</rss>

