<?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: Lookup doesn't work with wildcard within strings in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Lookup-doesn-t-work-with-wildcard-within-strings/m-p/659742#M17535</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you for clarifying that Splunk lookup does not support regex patterns.&lt;/P&gt;&lt;P&gt;I have just attempted to include the following event in the Splunk lookup, with a wildcard at the end, in order to match other events occurring after "webextbridge.exe." But, looks like it is not working&lt;/P&gt;&lt;P&gt;Original event :-&lt;BR /&gt;C:\Windows\system32\cmd.exe /d /c C:\ProgramData\Symantec\Symantec Endpoint Protection\14.3.XXXX.5000.105\Data\Definitions\WebExtDefs\20230830.063\webextbridge.exe chrome-extension://XXXXXXXXXXXXXXXXXXXXXXXXXXXXX/ --parent-window=0 &amp;amp;lt; \\.\pipe\chrome.nativeMessaging.in.XXXXXXXXXXXa3 &amp;amp;gt; \\.\pipe\chrome.nativeMessaging.out.10f754de9b9001a3&lt;/P&gt;&lt;P&gt;Splunk lookup table field value :-&lt;BR /&gt;&lt;SPAN&gt;"C:\Windows\system32\cmd.exe /d /c C:\ProgramData\Symantec\Symantec Endpoint Protection\14.3.8289.5000.105\Data\Definitions\WebExtDefs\20230830.063\webextbridge.exe*"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;BR /&gt;VK&lt;/P&gt;</description>
    <pubDate>Thu, 05 Oct 2023 02:18:21 GMT</pubDate>
    <dc:creator>VK18</dc:creator>
    <dc:date>2023-10-05T02:18:21Z</dc:date>
    <item>
      <title>Lookup doesn't work with wildcard within strings</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Lookup-doesn-t-work-with-wildcard-within-strings/m-p/659257#M17487</link>
      <description>&lt;P&gt;We are currently using a regex pattern to match events against our raw data, and it works perfectly when we use the search app. The pattern we are using is:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;C:\\Windows\\system32\\cmd\.exe*C:\\ProgramData\\Symantec\\Symantec Endpoint Protection\\14\.3\.8289\.5000\.105\\Data\\Definitions\\WebExtDefs\\20230830\.063\\webextbridge\.exe*&lt;/LI-CODE&gt;&lt;P&gt;However, when we try to use this regex pattern in a lookup table, the events are not being matched. This seems to be because of the wildcard in the pattern. Despite defining the field name in the lookup definition (e.g., WILDCARD(process)), it still doesn't match the events.&lt;/P&gt;&lt;P&gt;I'm wondering if Splunk lookup supports wildcards within strings, or does it only support them at the beginning and end of strings?&lt;/P&gt;&lt;P&gt;Any insights or guidance on this matter would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;VK&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2023 07:50:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Lookup-doesn-t-work-with-wildcard-within-strings/m-p/659257#M17487</guid>
      <dc:creator>VK18</dc:creator>
      <dc:date>2023-10-02T07:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup doesn't work with wildcard within strings</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Lookup-doesn-t-work-with-wildcard-within-strings/m-p/659261#M17488</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/254132"&gt;@VK18&lt;/a&gt;&amp;nbsp;.. please check this post:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.splunk.com/t5/Splunk-Search/Can-we-use-wildcard-characters-in-a-lookup-table/m-p/94513" target="_blank"&gt;https://community.splunk.com/t5/Splunk-Search/Can-we-use-wildcard-characters-in-a-lookup-table/m-p/94513&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2023 01:21:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Lookup-doesn-t-work-with-wildcard-within-strings/m-p/659261#M17488</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2023-10-02T01:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup doesn't work with wildcard within strings</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Lookup-doesn-t-work-with-wildcard-within-strings/m-p/659507#M17518</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/80737"&gt;@inventsekar&lt;/a&gt;,&lt;BR /&gt;&lt;SPAN&gt;I attempted to include a wildcard entry in transforms.conf, but unfortunately, it did not yield any successful results. It appears that Splunk lookup only accommodates wildcards at the start and end of a string and does not function when the wildcard is placed within the string.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Exmaple below where it is working&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;* webex.com&lt;BR /&gt;office*&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Example below where it is not working&lt;BR /&gt;abc*def*ghi*&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 00:00:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Lookup-doesn-t-work-with-wildcard-within-strings/m-p/659507#M17518</guid>
      <dc:creator>VK18</dc:creator>
      <dc:date>2023-10-04T00:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup doesn't work with wildcard within strings</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Lookup-doesn-t-work-with-wildcard-within-strings/m-p/659528#M17521</link>
      <description>&lt;P&gt;Splunk does not support&amp;nbsp;&lt;STRONG&gt;regex&lt;/STRONG&gt; patterns in lookups, ONLY wildcards, i.e. *, so your escaped . characters and \ characters should not be in the lookup.&lt;/P&gt;&lt;P&gt;Your pattern is a bit odd in that it has&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;C:\\Windows\\system32\\cmd\.exe*C:\\P...&lt;/LI-CODE&gt;&lt;P&gt;where the * in that, if it is a regex, is saying you need to repeat the preceding 'e' character 0 or more times.&lt;/P&gt;&lt;P&gt;If your process field contains C:\Windows\system32\cmd.exe ...&amp;nbsp; then that should be the entry in the lookup and in the lookup entry you add * characters where you want to match any character in the data.&lt;/P&gt;&lt;P&gt;That * wildcarding is all that is supported in lookups.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 02:27:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Lookup-doesn-t-work-with-wildcard-within-strings/m-p/659528#M17521</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-10-04T02:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup doesn't work with wildcard within strings</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Lookup-doesn-t-work-with-wildcard-within-strings/m-p/659742#M17535</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you for clarifying that Splunk lookup does not support regex patterns.&lt;/P&gt;&lt;P&gt;I have just attempted to include the following event in the Splunk lookup, with a wildcard at the end, in order to match other events occurring after "webextbridge.exe." But, looks like it is not working&lt;/P&gt;&lt;P&gt;Original event :-&lt;BR /&gt;C:\Windows\system32\cmd.exe /d /c C:\ProgramData\Symantec\Symantec Endpoint Protection\14.3.XXXX.5000.105\Data\Definitions\WebExtDefs\20230830.063\webextbridge.exe chrome-extension://XXXXXXXXXXXXXXXXXXXXXXXXXXXXX/ --parent-window=0 &amp;amp;lt; \\.\pipe\chrome.nativeMessaging.in.XXXXXXXXXXXa3 &amp;amp;gt; \\.\pipe\chrome.nativeMessaging.out.10f754de9b9001a3&lt;/P&gt;&lt;P&gt;Splunk lookup table field value :-&lt;BR /&gt;&lt;SPAN&gt;"C:\Windows\system32\cmd.exe /d /c C:\ProgramData\Symantec\Symantec Endpoint Protection\14.3.8289.5000.105\Data\Definitions\WebExtDefs\20230830.063\webextbridge.exe*"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;BR /&gt;VK&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 02:18:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Lookup-doesn-t-work-with-wildcard-within-strings/m-p/659742#M17535</guid>
      <dc:creator>VK18</dc:creator>
      <dc:date>2023-10-05T02:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup doesn't work with wildcard within strings</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Lookup-doesn-t-work-with-wildcard-within-strings/m-p/659749#M17536</link>
      <description>&lt;P&gt;That is really interesting and you are right - I tried these variants&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;C:\Windows\system32\cmd.exe /d /c C:\ProgramData\Symantec\Symantec Endpoint Protection\14.3.8289.5000.105\Data\Definitions\WebExtDefs\20230830.063\webextbridge.exe*
C:\Windows\system32\cmd.exe /d /c C:\ProgramData\Symantec\Symantec Endpoint Protection\14.3.8*
C:\Windows\system32\cmd.exe /d /c C:\ProgramData\Symantec\Symantec Endpoint Protection\*\webextbridge.exe*&lt;/LI-CODE&gt;&lt;P&gt;and the top two do not work, the last does. If I make the second one end in 14.3.* then it DOES work.&lt;/P&gt;&lt;P&gt;Not sure what's going on there,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 06:07:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Lookup-doesn-t-work-with-wildcard-within-strings/m-p/659749#M17536</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-10-05T06:07:02Z</dc:date>
    </item>
  </channel>
</rss>

