<?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: Splunk LOOKUP in Splunk Cloud Platform</title>
    <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Can-we-use-a-lookup-table-to-replace-in-the-case-like-statements/m-p/625991#M1989</link>
    <description>&lt;P&gt;It's not about how you use the lookup. It's how the lookup is defined. You must have this lookup defined with the particular match type. Otherwise you cannot match with wildcards.&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jan 2023 11:58:00 GMT</pubDate>
    <dc:creator>PickleRick</dc:creator>
    <dc:date>2023-01-05T11:58:00Z</dc:date>
    <item>
      <title>Can we use a lookup table to replace in the case like statements?</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Can-we-use-a-lookup-table-to-replace-in-the-case-like-statements/m-p/625694#M1982</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Can we use a lookup table to replace in the case like statements?&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For Example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; index="example"| eval ErrorMessage=case(like(Errormessage,"%Bad Connection%"),"Check Your Connection",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; like(Errormessage,"%Wrong Password%"),"Please check the password",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; like (Errormessage,"%Invalid code%"),"Please enter a valid code", 1=1,"NEW Error")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When the query is like this can we use look up table where if we found the message in A column&amp;nbsp;which contains&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;% wildcards we need to replace it with the one in the B column&amp;nbsp;which has the fixed value?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 16:13:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Can-we-use-a-lookup-table-to-replace-in-the-case-like-statements/m-p/625694#M1982</guid>
      <dc:creator>dugganisrivani</dc:creator>
      <dc:date>2023-01-03T16:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk LOOKUP</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Can-we-use-a-lookup-table-to-replace-in-the-case-like-statements/m-p/625695#M1983</link>
      <description>&lt;P&gt;Yes, you can have a lookup with wildcard match type.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 11:35:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Can-we-use-a-lookup-table-to-replace-in-the-case-like-statements/m-p/625695#M1983</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-01-03T11:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk LOOKUP</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Can-we-use-a-lookup-table-to-replace-in-the-case-like-statements/m-p/625987#M1988</link>
      <description>&lt;P&gt;Can you please share how the syntax would be to use the lookup table?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 11:03:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Can-we-use-a-lookup-table-to-replace-in-the-case-like-statements/m-p/625987#M1988</guid>
      <dc:creator>dugganisrivani</dc:creator>
      <dc:date>2023-01-05T11:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk LOOKUP</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Can-we-use-a-lookup-table-to-replace-in-the-case-like-statements/m-p/625991#M1989</link>
      <description>&lt;P&gt;It's not about how you use the lookup. It's how the lookup is defined. You must have this lookup defined with the particular match type. Otherwise you cannot match with wildcards.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 11:58:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Can-we-use-a-lookup-table-to-replace-in-the-case-like-statements/m-p/625991#M1989</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-01-05T11:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk LOOKUP</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Can-we-use-a-lookup-table-to-replace-in-the-case-like-statements/m-p/626360#M1990</link>
      <description>&lt;P&gt;Can you&amp;nbsp; please share&amp;nbsp; how it is done?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 05:45:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Can-we-use-a-lookup-table-to-replace-in-the-case-like-statements/m-p/626360#M1990</guid>
      <dc:creator>dugganisrivani</dc:creator>
      <dc:date>2023-01-09T05:45:28Z</dc:date>
    </item>
  </channel>
</rss>

