<?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: Is it possible to use Splunk as a static data store with a single log entry per line? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-Splunk-as-a-static-data-store-with-a/m-p/153226#M31165</link>
    <description>&lt;P&gt;Good, unique requirement but&lt;BR /&gt;
Hope this can help your requirement, &lt;BR /&gt;
there is a option called 'logrotate' which will help you to created one log file per log(if this is ur requirement) and we can achieve it.&lt;BR /&gt;
go through the logrotate concept in unix.&lt;/P&gt;</description>
    <pubDate>Tue, 21 Apr 2015 15:17:06 GMT</pubDate>
    <dc:creator>neelamssantosh</dc:creator>
    <dc:date>2015-04-21T15:17:06Z</dc:date>
    <item>
      <title>Is it possible to use Splunk as a static data store with a single log entry per line?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-Splunk-as-a-static-data-store-with-a/m-p/153223#M31162</link>
      <description>&lt;P&gt;We have a process that extracts data from a SQL Server in CSV format.&lt;/P&gt;

&lt;P&gt;We want the Splunk agent to pick up that data from disk and mirror it in the Splunk dashboard. We do &lt;STRONG&gt;not&lt;/STRONG&gt; want the data appended to an existing set (like a log file). We want Splunk to delete the old snapshot of that file's contents and create a completely new data set each time.&lt;/P&gt;

&lt;P&gt;The advantage to us of such a design is that we can use Splunk's powerful graphing facilities on our static data source. I understand that such a use case may be rare though.&lt;/P&gt;

&lt;P&gt;I have experimented with the batch:// feature, but this seems to consume the whole file as a single log entry. We need one log entry per line so that the report aggregations behave properly.&lt;/P&gt;

&lt;P&gt;Is this something Splunk supports out of the box?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2015 14:31:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-Splunk-as-a-static-data-store-with-a/m-p/153223#M31162</guid>
      <dc:creator>michaelrtesco</dc:creator>
      <dc:date>2015-04-21T14:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use Splunk as a static data store with a single log entry per line?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-Splunk-as-a-static-data-store-with-a/m-p/153224#M31163</link>
      <description>&lt;P&gt;Check out both the "CSV lookup" and "external lookup" sections of this documentation page and see whether one or the other (or both) applies to your situation:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.2/Knowledge/Addfieldsfromexternaldatasources"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.2/Knowledge/Addfieldsfromexternaldatasources&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2015 14:47:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-Splunk-as-a-static-data-store-with-a/m-p/153224#M31163</guid>
      <dc:creator>aweitzman</dc:creator>
      <dc:date>2015-04-21T14:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use Splunk as a static data store with a single log entry per line?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-Splunk-as-a-static-data-store-with-a/m-p/153225#M31164</link>
      <description>&lt;P&gt;Hi, thanks for your reply - I had a good read of the link, but I don't think lookups address our requirements. They seem to be for configuring static lookups that Splunk cross-references with existing data. What we want is to store regularly generated static data in Splunk, so we can report on it.&lt;/P&gt;

&lt;P&gt;Example:&lt;/P&gt;

&lt;P&gt;CSV data generated on day 1:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Col1,Col2
Testing,123
Test,456
TestTest,789
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;We just need that raw data accessible in Splunk, so we can graph it.&lt;/P&gt;

&lt;P&gt;And on day 2, the data gets regenerated:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Col1,Col2
AnotherTest,999
Test,111
HelloWorld,222
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;We want that pushed up to Splunk to replace the existing data from day 1.&lt;/P&gt;

&lt;P&gt;Is this possible?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2015 15:03:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-Splunk-as-a-static-data-store-with-a/m-p/153225#M31164</guid>
      <dc:creator>michaelrtesco</dc:creator>
      <dc:date>2015-04-21T15:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use Splunk as a static data store with a single log entry per line?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-Splunk-as-a-static-data-store-with-a/m-p/153226#M31165</link>
      <description>&lt;P&gt;Good, unique requirement but&lt;BR /&gt;
Hope this can help your requirement, &lt;BR /&gt;
there is a option called 'logrotate' which will help you to created one log file per log(if this is ur requirement) and we can achieve it.&lt;BR /&gt;
go through the logrotate concept in unix.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2015 15:17:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-Splunk-as-a-static-data-store-with-a/m-p/153226#M31165</guid>
      <dc:creator>neelamssantosh</dc:creator>
      <dc:date>2015-04-21T15:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use Splunk as a static data store with a single log entry per line?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-Splunk-as-a-static-data-store-with-a/m-p/153227#M31166</link>
      <description>&lt;P&gt;If you make your csv file a lookup file, everything should just work. Write your csv file (call it &lt;CODE&gt;mylookup.csv&lt;/CODE&gt;) to &lt;CODE&gt;[SplunkHome]/etc/apps/search/lookups&lt;/CODE&gt;. Then in the search bar, if you just type: &lt;CODE&gt;| inputlookup mylookup&lt;/CODE&gt; you should get the results you want. You should be able to overwrite this file, and the search should still work.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2015 15:33:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-Splunk-as-a-static-data-store-with-a/m-p/153227#M31166</guid>
      <dc:creator>aweitzman</dc:creator>
      <dc:date>2015-04-21T15:33:32Z</dc:date>
    </item>
  </channel>
</rss>

