<?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: How to push the search query to lookup file in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-push-the-search-query-to-lookup-file/m-p/307007#M161567</link>
    <description>&lt;P&gt;if the results are what youre looking for, just pipe to table and outputlookup. something like that:&lt;BR /&gt;
my base search | table field1 field2 fieldn | ouputlookup mysearch.csv&lt;/P&gt;</description>
    <pubDate>Fri, 31 Mar 2017 12:41:18 GMT</pubDate>
    <dc:creator>adonio</dc:creator>
    <dc:date>2017-03-31T12:41:18Z</dc:date>
    <item>
      <title>How to push the search query to lookup file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-push-the-search-query-to-lookup-file/m-p/307005#M161565</link>
      <description>&lt;P&gt;If I write a search query and want to push the search query code to my lookup. Ho to do it??&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2017 07:08:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-push-the-search-query-to-lookup-file/m-p/307005#M161565</guid>
      <dc:creator>vivek_manoj</dc:creator>
      <dc:date>2017-03-31T07:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to push the search query to lookup file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-push-the-search-query-to-lookup-file/m-p/307006#M161566</link>
      <description>&lt;P&gt;The community more details about your queries and lookup in order to be helpful.&lt;/P&gt;

&lt;P&gt;Please provide a summary of what is stored in the lookup and what your queries look like.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2017 12:38:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-push-the-search-query-to-lookup-file/m-p/307006#M161566</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2017-03-31T12:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to push the search query to lookup file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-push-the-search-query-to-lookup-file/m-p/307007#M161567</link>
      <description>&lt;P&gt;if the results are what youre looking for, just pipe to table and outputlookup. something like that:&lt;BR /&gt;
my base search | table field1 field2 fieldn | ouputlookup mysearch.csv&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2017 12:41:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-push-the-search-query-to-lookup-file/m-p/307007#M161567</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-03-31T12:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to push the search query to lookup file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-push-the-search-query-to-lookup-file/m-p/307008#M161568</link>
      <description>&lt;P&gt;is it the &lt;STRONG&gt;code&lt;/STRONG&gt; you want to push, or the &lt;STRONG&gt;output&lt;/STRONG&gt;?&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2017 17:27:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-push-the-search-query-to-lookup-file/m-p/307008#M161568</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-03-31T17:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to push the search query to lookup file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-push-the-search-query-to-lookup-file/m-p/307009#M161569</link>
      <description>&lt;P&gt;Yes, I want to push the splunk query code in lookup.&lt;/P&gt;

&lt;P&gt;For Example : -  index="_internal" and I want to push index="_internal" into the lookup.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:30:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-push-the-search-query-to-lookup-file/m-p/307009#M161569</guid>
      <dc:creator>vivek_manoj</dc:creator>
      <dc:date>2020-09-29T13:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to push the search query to lookup file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-push-the-search-query-to-lookup-file/m-p/307010#M161570</link>
      <description>&lt;P&gt;The query itself won't give you this ability.&lt;/P&gt;

&lt;P&gt;However, all queries are stored in the _audit index. So you could search this index for the desired queries and then output the result into a lookup file. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_audit action=search
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 03 Apr 2017 10:05:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-push-the-search-query-to-lookup-file/m-p/307010#M161570</guid>
      <dc:creator>gehinger</dc:creator>
      <dc:date>2017-04-03T10:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to push the search query to lookup file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-push-the-search-query-to-lookup-file/m-p/307011#M161571</link>
      <description>&lt;P&gt;just throwing out there but if you want to capture the searches, you can go with something like this:&lt;BR /&gt;
    | history | table _time search | outputlookup searches.csv&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2017 11:30:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-push-the-search-query-to-lookup-file/m-p/307011#M161571</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-04-03T11:30:20Z</dc:date>
    </item>
  </channel>
</rss>

