<?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 To include 80+ applications in SPL in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/To-include-80-applications-in-SPL/m-p/459211#M129664</link>
    <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;

&lt;P&gt;I have got the list of 80+ applications this I want to include in my SPL. Is there a way I can use CSV lookup to do that? The applications list look like:-&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;APP-ID,DESCRIPTION
A1*,test app 1
B2*,test app 2
C3*,test app 3
D4*,test app 4
...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Sample SPL I would like to create to include these applications:-&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=app-data  APP-ID=A1* OR APP-ID=B2* OR APP-ID=C3* OR APP-ID=D4*.... | 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I am not using the DESCRIPTION as mentioned in the sample CSV above at this stage. I am just trying to figure out if there is a way to look up these applications from a CSV file rather then having to type these in the SPL or if there is any other alternative please suggest. &lt;/P&gt;

&lt;P&gt;Thank you,&lt;BR /&gt;
Rajat&lt;/P&gt;</description>
    <pubDate>Thu, 22 Aug 2019 13:30:01 GMT</pubDate>
    <dc:creator>rajatsinghbagga</dc:creator>
    <dc:date>2019-08-22T13:30:01Z</dc:date>
    <item>
      <title>To include 80+ applications in SPL</title>
      <link>https://community.splunk.com/t5/Splunk-Search/To-include-80-applications-in-SPL/m-p/459211#M129664</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;

&lt;P&gt;I have got the list of 80+ applications this I want to include in my SPL. Is there a way I can use CSV lookup to do that? The applications list look like:-&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;APP-ID,DESCRIPTION
A1*,test app 1
B2*,test app 2
C3*,test app 3
D4*,test app 4
...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Sample SPL I would like to create to include these applications:-&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=app-data  APP-ID=A1* OR APP-ID=B2* OR APP-ID=C3* OR APP-ID=D4*.... | 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I am not using the DESCRIPTION as mentioned in the sample CSV above at this stage. I am just trying to figure out if there is a way to look up these applications from a CSV file rather then having to type these in the SPL or if there is any other alternative please suggest. &lt;/P&gt;

&lt;P&gt;Thank you,&lt;BR /&gt;
Rajat&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2019 13:30:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/To-include-80-applications-in-SPL/m-p/459211#M129664</guid>
      <dc:creator>rajatsinghbagga</dc:creator>
      <dc:date>2019-08-22T13:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: To include 80+ applications in SPL</title>
      <link>https://community.splunk.com/t5/Splunk-Search/To-include-80-applications-in-SPL/m-p/459212#M129665</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;If you already have the csv as a lookup, it's perfect.&lt;BR /&gt;
You can do something like that in your SPL :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=app-data [|inputlookup yourLookup | fields APP-ID]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It should work for you.&lt;/P&gt;

&lt;P&gt;Kail&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2019 14:01:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/To-include-80-applications-in-SPL/m-p/459212#M129665</guid>
      <dc:creator>KailA</dc:creator>
      <dc:date>2019-08-22T14:01:50Z</dc:date>
    </item>
  </channel>
</rss>

