<?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: Extracting of SQLite in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Extracting-of-SQLite/m-p/79192#M16223</link>
    <description>&lt;P&gt;Have a look on a solution I found to use sqlite3 inside python lookup scripts:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.splunk.com/answers/109009/splunk6-django-app-importing-sqlite"&gt;http://answers.splunk.com/answers/109009/splunk6-django-app-importing-sqlite&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Once you have the sqlite module installed you could write a python script to "SELECT" your data from the sqlite3 file. If you use a script input in Splunk, your script just  just needs to output something like that to the screen:&lt;/P&gt;

&lt;P&gt;2014-06-24 14:00:12 +10:00, table="table01", columnA="value from clA row1", columnB="value from clB row1"&lt;BR /&gt;
2014-06-24 14:00:13 +10:00, table="table01", columnA="value from clA row2", columnB="value from clB row2"&lt;/P&gt;

&lt;P&gt;Make sure you handle the exceptions on your script and output errors to stderr so it won't index those messages.&lt;/P&gt;</description>
    <pubDate>Mon, 23 Jun 2014 22:37:26 GMT</pubDate>
    <dc:creator>musskopf</dc:creator>
    <dc:date>2014-06-23T22:37:26Z</dc:date>
    <item>
      <title>Extracting of SQLite</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Extracting-of-SQLite/m-p/79191#M16222</link>
      <description>&lt;P&gt;Hello i would like to extract SQLite data and pass to splunk using shell script.&lt;BR /&gt;
Anyone have any idea how to write the shell script?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2013 01:27:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Extracting-of-SQLite/m-p/79191#M16222</guid>
      <dc:creator>jiamin94</dc:creator>
      <dc:date>2013-10-02T01:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting of SQLite</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Extracting-of-SQLite/m-p/79192#M16223</link>
      <description>&lt;P&gt;Have a look on a solution I found to use sqlite3 inside python lookup scripts:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.splunk.com/answers/109009/splunk6-django-app-importing-sqlite"&gt;http://answers.splunk.com/answers/109009/splunk6-django-app-importing-sqlite&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Once you have the sqlite module installed you could write a python script to "SELECT" your data from the sqlite3 file. If you use a script input in Splunk, your script just  just needs to output something like that to the screen:&lt;/P&gt;

&lt;P&gt;2014-06-24 14:00:12 +10:00, table="table01", columnA="value from clA row1", columnB="value from clB row1"&lt;BR /&gt;
2014-06-24 14:00:13 +10:00, table="table01", columnA="value from clA row2", columnB="value from clB row2"&lt;/P&gt;

&lt;P&gt;Make sure you handle the exceptions on your script and output errors to stderr so it won't index those messages.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jun 2014 22:37:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Extracting-of-SQLite/m-p/79192#M16223</guid>
      <dc:creator>musskopf</dc:creator>
      <dc:date>2014-06-23T22:37:26Z</dc:date>
    </item>
  </channel>
</rss>

