<?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 table question in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Lookup-table-question/m-p/479166#M134316</link>
    <description>&lt;P&gt;The rest endpoint &lt;CODE&gt;/data/ui/views&lt;/CODE&gt; provides all dashboard definitions. Assuming that SPL is in the dashboard and not within a saved search, you can use this.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest servicesNS/-/-/data/ui/views 
| rename eai:acl.app as app, eai:data as data 
| rex field="data" max_match=0 "\|\s*(input|output)?lookup\s*(?&amp;lt;lookup_file&amp;gt;\S+)" 
| search lookup_file=* 
| table app, title, lookup_file 
| mvexpand lookup_file
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Some cleanup might be required on the file names, but this should get you started.&lt;/P&gt;

&lt;P&gt;Hope this helps. Please mark as answer if this is what you were looking for.&lt;/P&gt;

&lt;P&gt;Cheers!&lt;/P&gt;</description>
    <pubDate>Thu, 07 Nov 2019 01:00:18 GMT</pubDate>
    <dc:creator>arjunpkishore5</dc:creator>
    <dc:date>2019-11-07T01:00:18Z</dc:date>
    <item>
      <title>Lookup table question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-table-question/m-p/479164#M134314</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;

&lt;P&gt;I searched around for quite a while and I couldn't find an answer to this, so I figured I'd just ask.  My organization has dozens upon dozens of lookup tables, and I was wondering if there was a way to see what specific lookup tables a given dashboard is using? &lt;/P&gt;

&lt;P&gt;Being that my organization has so many lookup tables, it can be hard to know which one needs editing because you can't tell what's in use and what's a duplicate.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 13:56:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-table-question/m-p/479164#M134314</guid>
      <dc:creator>myoung54</dc:creator>
      <dc:date>2019-11-06T13:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup table question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-table-question/m-p/479165#M134315</link>
      <description>&lt;P&gt;Is this the kind of dashboard panel you can open with the magnifying glass to view the SPL?  The lookup tables might be discernible there.  &lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 19:41:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-table-question/m-p/479165#M134315</guid>
      <dc:creator>marycordova</dc:creator>
      <dc:date>2019-11-06T19:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup table question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-table-question/m-p/479166#M134316</link>
      <description>&lt;P&gt;The rest endpoint &lt;CODE&gt;/data/ui/views&lt;/CODE&gt; provides all dashboard definitions. Assuming that SPL is in the dashboard and not within a saved search, you can use this.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest servicesNS/-/-/data/ui/views 
| rename eai:acl.app as app, eai:data as data 
| rex field="data" max_match=0 "\|\s*(input|output)?lookup\s*(?&amp;lt;lookup_file&amp;gt;\S+)" 
| search lookup_file=* 
| table app, title, lookup_file 
| mvexpand lookup_file
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Some cleanup might be required on the file names, but this should get you started.&lt;/P&gt;

&lt;P&gt;Hope this helps. Please mark as answer if this is what you were looking for.&lt;/P&gt;

&lt;P&gt;Cheers!&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 01:00:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-table-question/m-p/479166#M134316</guid>
      <dc:creator>arjunpkishore5</dc:creator>
      <dc:date>2019-11-07T01:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup table question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-table-question/m-p/479167#M134317</link>
      <description>&lt;P&gt;Take a look at this Q&amp;amp;A:&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/329645/is-there-a-programmatic-method-to-list-and-analyze.html"&gt;https://answers.splunk.com/answers/329645/is-there-a-programmatic-method-to-list-and-analyze.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 03:10:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-table-question/m-p/479167#M134317</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-11-07T03:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup table question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-table-question/m-p/479168#M134318</link>
      <description>&lt;P&gt;This is exactly what I was looking for, thank you!!&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 14:01:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-table-question/m-p/479168#M134318</guid>
      <dc:creator>myoung54</dc:creator>
      <dc:date>2019-11-07T14:01:54Z</dc:date>
    </item>
  </channel>
</rss>

