<?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 do i use R (open source package) in splunk? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-i-use-R-open-source-package-in-splunk/m-p/104278#M27009</link>
    <description>&lt;P&gt;Check out: &lt;A href="http://apps.splunk.com/app/1735/"&gt;http://apps.splunk.com/app/1735/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Mar 2014 19:34:34 GMT</pubDate>
    <dc:creator>charris_splunk</dc:creator>
    <dc:date>2014-03-11T19:34:34Z</dc:date>
    <item>
      <title>How do i use R (open source package) in splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-i-use-R-open-source-package-in-splunk/m-p/104271#M27002</link>
      <description>&lt;P&gt;How do i use R (open source package) in splunk?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jul 2012 02:57:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-i-use-R-open-source-package-in-splunk/m-p/104271#M27002</guid>
      <dc:creator>lsh</dc:creator>
      <dc:date>2012-07-20T02:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do i use R (open source package) in splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-i-use-R-open-source-package-in-splunk/m-p/104272#M27003</link>
      <description>&lt;P&gt;You probably have to more specific than this.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jul 2012 05:37:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-i-use-R-open-source-package-in-splunk/m-p/104272#M27003</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2012-07-20T05:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do i use R (open source package) in splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-i-use-R-open-source-package-in-splunk/m-p/104273#M27004</link>
      <description>&lt;P&gt;You can't use a programming language to manipulate Splunk data directly. However, you could use the Splunk API to run searches and then retrieve the results.&lt;/P&gt;

&lt;P&gt;Correction: you don't have to write R code that calls the Splunk API, although that is probably one way to go.&lt;/P&gt;

&lt;P&gt;Others have pointed out a variety of ways that I didn't consider, such as writing custom commands.&lt;/P&gt;

&lt;P&gt;Someday I am gonna learn never to say "you can't do that."&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jul 2012 07:13:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-i-use-R-open-source-package-in-splunk/m-p/104273#M27004</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2012-07-20T07:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do i use R (open source package) in splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-i-use-R-open-source-package-in-splunk/m-p/104274#M27005</link>
      <description>&lt;P&gt;I think you need to define your goals much more precisely, but lguinn is on the right track.  Making the general request of "How do I use X with Y?" when both X and Y have a myriad of possible uses is difficult to answer.  As an example, "How do I use flour with eggs?"  Well, are you wanting to make a cake, some bread, a batter, pie crust, pancakes, waffles, or what?&lt;/P&gt;

&lt;P&gt;Let's assume you have some R code that you wish to run against data stored in Splunk.  Depending on how you want to "integrate" the two, this could mean one of (at least) two paths.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt; You could use R programs as custom search commands in Splunk.  There would be some effort here to bridge the gap between Splunk's supported Python/Perl search command interfaces and your R code.  But, it's a bridgeable gap.  Your R program would receive (essentially) csv on input, do whatever it is you want it to do, and emit csv on output.  The Splunkweb GUI would still be present, and your commands written using R could be intermixed with existing Splunk search operations.  These results of these could be placed on dashboard panels, used in alerts, etc...&lt;/LI&gt;
&lt;LI&gt; You could make a standalone R program that uses Splunk data via an existing Splunk API.  A quick (10 minute) reading of the R documentation and a googling on "R REST" shows that R has some API's already for accessing remote REST endpoints and interpreting XML coming back from them.  This may give you a leaping-off point to writing a Splunk SDK for R - but it would be a nontrivial task.  This would be using Splunk almost exclusively as a datastore - you would need to provide your own visualizations and user interface.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Fri, 20 Jul 2012 14:26:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-i-use-R-open-source-package-in-splunk/m-p/104274#M27005</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2012-07-20T14:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: How do i use R (open source package) in splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-i-use-R-open-source-package-in-splunk/m-p/104275#M27006</link>
      <description>&lt;P&gt;You can potentially use Java or Python bindings for R to utilize the Splunk SDK's.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://splunk-base.splunk.com/answers/49583/r-language-support"&gt;http://splunk-base.splunk.com/answers/49583/r-language-support&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jul 2012 00:35:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-i-use-R-open-source-package-in-splunk/m-p/104275#M27006</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2012-07-21T00:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do i use R (open source package) in splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-i-use-R-open-source-package-in-splunk/m-p/104276#M27007</link>
      <description>&lt;P&gt;Actually, Splunk supports both Python and Perl for full scriptable control of data on the search pipeline:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/developer/searchscripts"&gt;http://docs.splunk.com/Documentation/Splunk/latest/developer/searchscripts&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;There's also the less robust &lt;CODE&gt;script&lt;/CODE&gt; command in the search API that can be used to call a script.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jul 2012 04:56:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-i-use-R-open-source-package-in-splunk/m-p/104276#M27007</guid>
      <dc:creator>dbryan</dc:creator>
      <dc:date>2012-07-24T04:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do i use R (open source package) in splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-i-use-R-open-source-package-in-splunk/m-p/104277#M27008</link>
      <description>&lt;P&gt;Saw this several weeks back, neat R sample idea that could be pertinent. &lt;A href="http://flowingdata.com/2010/01/21/how-to-make-a-heatmap-a-quick-and-easy-solution/"&gt;http://flowingdata.com/2010/01/21/how-to-make-a-heatmap-a-quick-and-easy-solution/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jul 2012 12:33:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-i-use-R-open-source-package-in-splunk/m-p/104277#M27008</guid>
      <dc:creator>halr9000</dc:creator>
      <dc:date>2012-07-25T12:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: How do i use R (open source package) in splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-i-use-R-open-source-package-in-splunk/m-p/104278#M27009</link>
      <description>&lt;P&gt;Check out: &lt;A href="http://apps.splunk.com/app/1735/"&gt;http://apps.splunk.com/app/1735/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2014 19:34:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-i-use-R-open-source-package-in-splunk/m-p/104278#M27009</guid>
      <dc:creator>charris_splunk</dc:creator>
      <dc:date>2014-03-11T19:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do i use R (open source package) in splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-i-use-R-open-source-package-in-splunk/m-p/104279#M27010</link>
      <description>&lt;P&gt;I've created an Splunk R app. It's really in a very early status so don't use it in production environment.&lt;/P&gt;

&lt;P&gt;Description from &lt;A href="http://apps.splunk.com/app/1735/"&gt;http://apps.splunk.com/app/1735/&lt;/A&gt;:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;This app provides a new Splunk search&lt;BR /&gt;
language command 'r' that allows&lt;BR /&gt;
passing data from Splunk to the&lt;BR /&gt;
R-Engine for calculation and then&lt;BR /&gt;
passing results back to Splunk for&lt;BR /&gt;
further computation or visualization.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;&lt;IMG src="http://answers.splunk.com//storage/9993624e-a9cf-11e3-99b1-062da81e76a8.png" alt="Overview Image" /&gt;&lt;/P&gt;

&lt;P&gt;The app is open source: &lt;A href="https://github.com/rfsp/r"&gt;https://github.com/rfsp/r&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;Please feel free to contribute. Please provide feedback, questions and suggestions!&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2014 22:32:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-i-use-R-open-source-package-in-splunk/m-p/104279#M27010</guid>
      <dc:creator>hovu96-deactiva</dc:creator>
      <dc:date>2014-03-12T22:32:27Z</dc:date>
    </item>
  </channel>
</rss>

