<?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 on-demand indexing of a file in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-demand-indexing-of-a-file/m-p/102688#M21554</link>
    <description>&lt;P&gt;Possibly, but only if the data to index is located on the Splunk search head (or is reachable via a script on the search head). See &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Runshellscript"&gt;http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Runshellscript&lt;/A&gt; . This will run a script on the search head.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Jan 2013 06:25:03 GMT</pubDate>
    <dc:creator>rtadams89</dc:creator>
    <dc:date>2013-01-29T06:25:03Z</dc:date>
    <item>
      <title>Splunk on-demand indexing of a file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-demand-indexing-of-a-file/m-p/102681#M21547</link>
      <description>&lt;P&gt;I currently have a FIX log file which generates HUGE amounts of data every day. With my current license its impossible to index all that data. &lt;/P&gt;

&lt;P&gt;Is it possible to get parts of the log file on-demand and then index and query them as and when needed? Is it possible to achieve this via a script invoked from a Splunk query?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2013 04:07:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-demand-indexing-of-a-file/m-p/102681#M21547</guid>
      <dc:creator>batcave</dc:creator>
      <dc:date>2013-01-29T04:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk on-demand indexing of a file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-demand-indexing-of-a-file/m-p/102682#M21548</link>
      <description>&lt;P&gt;Yes, you can use scripted input (&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.1/AdvancedDev/ScriptSetup"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.1/AdvancedDev/ScriptSetup&lt;/A&gt;).&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2013 04:48:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-demand-indexing-of-a-file/m-p/102682#M21548</guid>
      <dc:creator>rtadams89</dc:creator>
      <dc:date>2013-01-29T04:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk on-demand indexing of a file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-demand-indexing-of-a-file/m-p/102683#M21549</link>
      <description>&lt;P&gt;scripted input don't think would fit the case as the script should be invokable via non admin users as well, which I am not sure can be done&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2013 05:52:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-demand-indexing-of-a-file/m-p/102683#M21549</guid>
      <dc:creator>batcave</dc:creator>
      <dc:date>2013-01-29T05:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk on-demand indexing of a file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-demand-indexing-of-a-file/m-p/102684#M21550</link>
      <description>&lt;P&gt;Scripted inputs run under the context of the Splunk user. If that doesn't work for your specific needs, you could create a script that is run via Windows task scheduler (which will let you select the user to run the script as). The script just needs to do what ever parsing of the original log file you want, and then output it to a new file that you can have Splunk monitor/index.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2013 05:58:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-demand-indexing-of-a-file/m-p/102684#M21550</guid>
      <dc:creator>rtadams89</dc:creator>
      <dc:date>2013-01-29T05:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk on-demand indexing of a file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-demand-indexing-of-a-file/m-p/102685#M21551</link>
      <description>&lt;P&gt;Also, see routing and filtering data, specifically to a null queue: &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Deploy/Routeandfilterdatad"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Deploy/Routeandfilterdatad&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2013 05:59:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-demand-indexing-of-a-file/m-p/102685#M21551</guid>
      <dc:creator>rtadams89</dc:creator>
      <dc:date>2013-01-29T05:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk on-demand indexing of a file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-demand-indexing-of-a-file/m-p/102686#M21552</link>
      <description>&lt;P&gt;or basically any way to directly query data without indexing it in Splunk?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2013 06:06:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-demand-indexing-of-a-file/m-p/102686#M21552</guid>
      <dc:creator>batcave</dc:creator>
      <dc:date>2013-01-29T06:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk on-demand indexing of a file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-demand-indexing-of-a-file/m-p/102687#M21553</link>
      <description>&lt;P&gt;ok sounds good in terms of permissions but as you mentioned this can be scheduled to run via cron or task scheduler. What I need is to run it on demand anytime and gat her data only from a particular time period(which I think can be done via arguements to the script). Bu thow to invoke the script on demand rather than on a schedule?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2013 06:15:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-demand-indexing-of-a-file/m-p/102687#M21553</guid>
      <dc:creator>batcave</dc:creator>
      <dc:date>2013-01-29T06:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk on-demand indexing of a file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-demand-indexing-of-a-file/m-p/102688#M21554</link>
      <description>&lt;P&gt;Possibly, but only if the data to index is located on the Splunk search head (or is reachable via a script on the search head). See &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Runshellscript"&gt;http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Runshellscript&lt;/A&gt; . This will run a script on the search head.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2013 06:25:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-demand-indexing-of-a-file/m-p/102688#M21554</guid>
      <dc:creator>rtadams89</dc:creator>
      <dc:date>2013-01-29T06:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk on-demand indexing of a file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-demand-indexing-of-a-file/m-p/102689#M21555</link>
      <description>&lt;P&gt;"Currently, it is not supported by Splunk"-- Not sure whether this command works anymore. any ideas guys?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2013 06:15:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-demand-indexing-of-a-file/m-p/102689#M21555</guid>
      <dc:creator>batcave</dc:creator>
      <dc:date>2013-02-06T06:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk on-demand indexing of a file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-demand-indexing-of-a-file/m-p/102690#M21556</link>
      <description>&lt;P&gt;I would say no to your question - there might in certain situations be some kind of hack that makes you do this but in essence this is not how Splunk was meant to work.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2013 09:41:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-on-demand-indexing-of-a-file/m-p/102690#M21556</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-02-06T09:41:21Z</dc:date>
    </item>
  </channel>
</rss>

