<?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: automatically forward splunk data to database in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/automatically-forward-splunk-data-to-database/m-p/26988#M4484</link>
    <description>&lt;P&gt;@nielsenr I am trying to achieve something similar to what you stated. Could you find a solution?&lt;/P&gt;</description>
    <pubDate>Wed, 14 Aug 2013 11:31:23 GMT</pubDate>
    <dc:creator>RohiniJindam</dc:creator>
    <dc:date>2013-08-14T11:31:23Z</dc:date>
    <item>
      <title>automatically forward splunk data to database</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/automatically-forward-splunk-data-to-database/m-p/26983#M4479</link>
      <description>&lt;P&gt;Ok so I am new to splunk and have an instance set up with logs from several servers feeding into it.&lt;BR /&gt;
My question is can i get the data from splunk into a database(probably mysql) automatically.&lt;BR /&gt;
There seems to be no clear explanation to say whether this is possible or not.&lt;/P&gt;

&lt;P&gt;I have read a bit about the splunk forwarder would this be able to do it? once more there is no real explanation I can find.&lt;/P&gt;

&lt;P&gt;Any suggestions would be helpful&lt;BR /&gt;
thanks&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2012 23:05:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/automatically-forward-splunk-data-to-database/m-p/26983#M4479</guid>
      <dc:creator>nielsenr</dc:creator>
      <dc:date>2012-08-06T23:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: automatically forward splunk data to database</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/automatically-forward-splunk-data-to-database/m-p/26984#M4480</link>
      <description>&lt;P&gt;Splunk forwarder can forward data to splunk other instance or third party software like syslogd with text format. I do not think splunk forwarder can foward data to mysql. you will need to make script to geta data from splunk and put into the mysql. &lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2012 23:29:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/automatically-forward-splunk-data-to-database/m-p/26984#M4480</guid>
      <dc:creator>Takajian</dc:creator>
      <dc:date>2012-08-06T23:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: automatically forward splunk data to database</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/automatically-forward-splunk-data-to-database/m-p/26985#M4481</link>
      <description>&lt;P&gt;A couple of approaches :&lt;/P&gt;

&lt;P&gt;1) The &lt;A href="http://docs.splunk.com/Documentation/MySQL/latest/User/UpdateMySQLdatabaselookuptableswithmysqloutput"&gt;Splunk MYSQL connector&lt;/A&gt; includes a search command, mysqloutput, that you can use to insert or update records in a table in a MySQL database based on fields resulting from your Splunk search.&lt;/P&gt;

&lt;P&gt;2) you could use one of the &lt;A href="http://dev.splunk.com/view/sdks/SP-CAAADP7"&gt;Developer SDKs&lt;/A&gt;, write a custom program to execute a Splunk search , process the XML/JSON/CSV result and roll this up into a SQL statement to insert/update tables in your database.&lt;/P&gt;

&lt;P&gt;3) you could write your own &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/developer/searchscripts"&gt;custom search command&lt;/A&gt; , and insert this at the end of you search pipeline to insert/update your DB tables with Splunk search fields ie: index=foo sourcetype=goo | stats count by host | myCustomOutputToDBCommand&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2012 02:15:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/automatically-forward-splunk-data-to-database/m-p/26985#M4481</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2012-08-07T02:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: automatically forward splunk data to database</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/automatically-forward-splunk-data-to-database/m-p/26986#M4482</link>
      <description>&lt;P&gt;Thanks for the feedback&lt;BR /&gt;
I have already looked at MYSQL connector and unless I'm mistaken it seems to only to be able to insert into a table data that has been searched form the database(please correct me if I'm wrong)&lt;/P&gt;

&lt;P&gt;I am currently using the SDK's provided but was hoping for an easier solution (just being lazy)&lt;/P&gt;

&lt;P&gt;umm, a custom search command never crossed my mind I'll have a look at that and see if it's useful.&lt;/P&gt;

&lt;P&gt;Ill keep this updated with what I do. I have a feeling I'm not the first person to wonder about this, of course anymore suggestions would be welcome&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2012 21:57:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/automatically-forward-splunk-data-to-database/m-p/26986#M4482</guid>
      <dc:creator>nielsenr</dc:creator>
      <dc:date>2012-08-07T21:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: automatically forward splunk data to database</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/automatically-forward-splunk-data-to-database/m-p/26987#M4483</link>
      <description>&lt;P&gt;Thanks for clearing that up&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2012 21:57:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/automatically-forward-splunk-data-to-database/m-p/26987#M4483</guid>
      <dc:creator>nielsenr</dc:creator>
      <dc:date>2012-08-07T21:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: automatically forward splunk data to database</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/automatically-forward-splunk-data-to-database/m-p/26988#M4484</link>
      <description>&lt;P&gt;@nielsenr I am trying to achieve something similar to what you stated. Could you find a solution?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2013 11:31:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/automatically-forward-splunk-data-to-database/m-p/26988#M4484</guid>
      <dc:creator>RohiniJindam</dc:creator>
      <dc:date>2013-08-14T11:31:23Z</dc:date>
    </item>
  </channel>
</rss>

