Splunk Search

R Language support?

melonman
Motivator

Hi There,

For engineers who are familiar with R programming language, is there add-ons for R Language support?
e.g. Querying index data using R Language.

Has anyone tried to use R to query data from Splunk?

Thanks!

Tags (1)
0 Karma
1 Solution

Damien_Dallimor
Ultra Champion

I can't claim to have any experience with "R" , but here are a few ideas.

There is no "R" SDK for Splunk , but I see that "R" has packages for binding to Java and Python , and there are SDK's for these languages.

And you can potentially use the Splunk REST API directly from "R" Code via an HTTP connection.

View solution in original post

hovu96-deactiva
Explorer

I've created an Splunk R app. It's really in a very early status so don't use it in production environment.

Description from http://apps.splunk.com/app/1735/:

This app provides a new Splunk search
language command 'r' that allows
passing data from Splunk to the
R-Engine for calculation and then
passing results back to Splunk for
further computation or visualization.

Overview Image

The app is open source: https://github.com/rfsp/r.

Please feel free to contribute. Please provide feedback, questions and suggestions!

ali
Observer

I am trying to use R Analytic but it does not work for me. Here is a screen shot of it:

11.PNG

But unfortunately 'Run' button does not work. Also 'runRdo' is unknown command! 

0 Karma

yuanliu
SplunkTrust
SplunkTrust

R App is dope! Love it. I can now do spectrum[1] and many other analytics

[1] http://answers.splunk.com/answer_link/149675/

0 Karma

lsh
Engager

I need R apps.. plese send me e-mail with R app!
Thank you. hwan0447@naver.com

0 Karma

Damien_Dallimor
Ultra Champion

I can't claim to have any experience with "R" , but here are a few ideas.

There is no "R" SDK for Splunk , but I see that "R" has packages for binding to Java and Python , and there are SDK's for these languages.

And you can potentially use the Splunk REST API directly from "R" Code via an HTTP connection.

melonman
Motivator

I see Splunk ODBC in the app site. Can I use Splunk ODBC to connect between Splunk and R?? I have not tried this yet, but seems like it will work with Splunk ODBC + R + RODBC.

0 Karma

m_vivek
Path Finder

@melonman

Hi if you were successful in implementing your suggestion, could you kindly tell how to achieve the splunk +Splunkodbc + R + Rodbc integration?

I want to pipe data from a splunk search into R studio for doing statistical analysis on the data. Thanks.

0 Karma

melonman
Motivator

Thanks, Damien.
Hope someone will post R apps for me 🙂

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...