<?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 to use React.js Component in Splunk Dashboard ? in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362901#M5897</link>
    <description>&lt;P&gt;I can't comment on the specifics, because I have never tried to incorporate React or Angular or any other JS framework. &lt;/P&gt;

&lt;P&gt;My guess is you are fighting an uphill battle if you are trying to incorporate it directly in the existing Splunk Web stack. Instead, you should build a standalone application with a  React front-end that happens to use a Splunk SDK.&lt;/P&gt;</description>
    <pubDate>Thu, 04 May 2017 11:00:19 GMT</pubDate>
    <dc:creator>rjthibod</dc:creator>
    <dc:date>2017-05-04T11:00:19Z</dc:date>
    <item>
      <title>How to use React.js Component in Splunk Dashboard ?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362900#M5896</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;
&lt;P&gt;I am trying to do POC for integration of React.js in Splunk Dashboards.&lt;BR /&gt;My questions are:&lt;BR /&gt;1) Is it possible?&lt;BR /&gt;2) if yes then how we can make it and what are the best practice of implementation.&lt;/P&gt;
&lt;P&gt;Kindly provide your valuable feedback.&lt;/P&gt;
&lt;P&gt;Thanks&lt;BR /&gt;Kamlesh&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jun 2020 18:15:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362900#M5896</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2020-06-07T18:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to use React.js Component in Splunk Dashboard ?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362901#M5897</link>
      <description>&lt;P&gt;I can't comment on the specifics, because I have never tried to incorporate React or Angular or any other JS framework. &lt;/P&gt;

&lt;P&gt;My guess is you are fighting an uphill battle if you are trying to incorporate it directly in the existing Splunk Web stack. Instead, you should build a standalone application with a  React front-end that happens to use a Splunk SDK.&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2017 11:00:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362901#M5897</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2017-05-04T11:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to use React.js Component in Splunk Dashboard ?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362902#M5898</link>
      <description>&lt;P&gt;Thanks rjthibod for your reply.&lt;/P&gt;

&lt;P&gt;Yes, you are right, I have tried a lot to incorporate react js, but unable to do it.&lt;/P&gt;

&lt;P&gt;Now let me try with React stand-alone app.&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Kamlesh&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2017 11:22:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362902#M5898</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2017-05-04T11:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to use React.js Component in Splunk Dashboard ?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362903#M5899</link>
      <description>&lt;P&gt;This question is older but maybe this will help others. The simple answer is you can do this. &lt;/P&gt;

&lt;P&gt;In my example I am using JSX and then using babel / npm to convert to regular old JS. The details of which I wont outline but generally in my JSX file I am doing the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;require.config({
    paths: {
        'react': 'https://unpkg.com/react@16/umd/react.production.min',
        'react-dom': 'https://unpkg.com/react-dom@16/umd/react-dom.production.min'
    }
});

require([
    "underscore",
    "backbone",
    "splunkjs/mvc",
    "jquery",
    "react",
    "react-dom"
], function( _, Backbone, mvc, $, React, ReactDOM){

    ReactDOM.render(
    &amp;lt;h1&amp;gt;Hello, world!&amp;lt;/h1&amp;gt;,
      document.getElementById('root')
    );

});
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The above assumes you have an element on your dashboard with an id of root like so:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;dashboard script="your_javascript.js"&amp;gt;
      &amp;lt;label&amp;gt;Dashboard Title&amp;lt;/label&amp;gt;
      &amp;lt;row&amp;gt;
        &amp;lt;panel&amp;gt;
          &amp;lt;html&amp;gt;&amp;lt;div id="root"&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/html&amp;gt;
        &amp;lt;/panel&amp;gt;
      &amp;lt;/row&amp;gt;
    &amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Additionally, if you're not using JSX then for example purposes something like this would suffice for ReactDOM.render():&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    ReactDOM.render(React.createElement(
        'h1',
        null,
        'Hello, world!'
    ), document.getElementById('root'));
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 06 Feb 2018 13:45:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362903#M5899</guid>
      <dc:creator>splunkian</dc:creator>
      <dc:date>2018-02-06T13:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to use React.js Component in Splunk Dashboard ?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362904#M5900</link>
      <description>&lt;P&gt;So are you able to actually leverage npm and node in development for Splunk? I've noticed there's a node instance in the bin directory that you can run  using &lt;STRONG&gt;./splunk cmd node&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;I'm very interested in learning how to do this if you could offer any advice.&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2019 18:54:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362904#M5900</guid>
      <dc:creator>stoutrw</dc:creator>
      <dc:date>2019-05-09T18:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to use React.js Component in Splunk Dashboard ?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362905#M5901</link>
      <description>&lt;P&gt;You can definitely leverage npm and node. However, npm will need to be installed independently of your Splunk environment. You can use Splunk's built in node to build modular inputs among other things. You can look in the Splunk-SDK for examples.&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2019 20:26:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362905#M5901</guid>
      <dc:creator>splunkian</dc:creator>
      <dc:date>2019-05-10T20:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to use React.js Component in Splunk Dashboard ?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362906#M5902</link>
      <description>&lt;P&gt;@stoutrw if you are looking for reactUI development in Splunk you can request for &lt;A href="https://www.splunk.com/en_us/software/splunk-next/ssc-splunk-developer-cloud.html"&gt;Splunk Developer Cloud Beta Program&lt;/A&gt; Which was introduced at Splunk .conf last year.&lt;/P&gt;

&lt;P&gt;Following is the Splunk Blog which lists all the sessions on Splunk Developer Cloud and react based dashboard development: &lt;A href="https://www.splunk.com/blog/2018/10/03/new-for-developers-splunk-developer-cloud-more.html"&gt;https://www.splunk.com/blog/2018/10/03/new-for-developers-splunk-developer-cloud-more.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 May 2019 01:49:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362906#M5902</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-05-11T01:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to use React.js Component in Splunk Dashboard ?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362907#M5903</link>
      <description>&lt;P&gt;It would be great if there were public documentation on how to integrate a standalone React app (possibly built with create-react-app) with the Splunk sdk libraries, including a complete example. This would make it clearer and more likely than people will actually use these two technologies together. While, as @stoutrw indicated, there is a developer Beta Program involved with React UI development, it is not clear that any frameworks in this beta are accessible to developers building standalone React apps that access an enterprise version of Splunk. Please clarify if this is the case. &lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 15:37:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362907#M5903</guid>
      <dc:creator>pgoldweic</dc:creator>
      <dc:date>2019-10-31T15:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to use React.js Component in Splunk Dashboard ?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362908#M5904</link>
      <description>&lt;P&gt;In your example file, do you compile that JSX file? I have tried to do so on mine, but I'm getting undefined for the Splunk specific things like underscore, splunkjs/mvc, etc. I have also tried to compile my component separately and then adding it to the file referenced on the Splunk dashboard source, but I get undefined for the bundle.js that is being passed in. Could you show me how you are doing the compiling? I basically want to pass Splunk specific data to my components for rendering. I currently am trying to export my component as UMD in the webpack configuration.&lt;/P&gt;

&lt;P&gt;dashboard_file.js:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;require(['/static/&amp;lt;app_name&amp;gt;/dist/bundle.js', 'splunkjs/mvc'], function(component, mvc) {
  console.log(component);
});
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;webpack.config.js:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;const path = require('path');

module.exports = {
  entry: './src/index.jsx',
  output: {
    path: path.resolve(__dirname, 'dist'),
    filename: 'bundle.js',
    library: 'fast-load',
    libraryTarget: 'umd'
  },
  module: {
    rules: [
      {
        test: /\.(js|jsx)$/,
        exclude: /node_modules/,
        loader: 'babel-loader'
      },
      {
        test: /\.scss$/,
        use: ['style-loader', 'css-loader', 'sass-loader']
      }
    ]
  },
  devtool: 'cheap-module-eval-source-map',
  devServer: {
    contentBase: path.join(__dirname, 'dist')
  }
};
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;index.jsx:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;import React, {Component} from 'react';

import TileContainer from './presentational/TileContainer.jsx';

class DashboardContainer extends Component {
  renderTile(serviceInfo) {
    return &amp;lt;TileContainer service={serviceInfo} /&amp;gt;;
  }

  render() {
    return (
      &amp;lt;div className="service-tiles"&amp;gt;
        &amp;lt;h1&amp;gt;Hello again world!&amp;lt;/h1&amp;gt;
        {this.props.serviceList.map(service =&amp;gt; this.renderTile(service))}
      &amp;lt;/div&amp;gt;
    );
  }
}

export default DashboardContainer;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 13 Jan 2020 19:13:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362908#M5904</guid>
      <dc:creator>ZBhura92</dc:creator>
      <dc:date>2020-01-13T19:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to use React.js Component in Splunk Dashboard ?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362909#M5905</link>
      <description>&lt;P&gt;just pinging @splunkian for help, as I'm interested too (see also my comment)&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2020 23:21:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362909#M5905</guid>
      <dc:creator>pgoldweic</dc:creator>
      <dc:date>2020-01-13T23:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to use React.js Component in Splunk Dashboard ?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362910#M5906</link>
      <description>&lt;P&gt;Just pinging @splunkian hoping that we may get further answers from Splunk on our comments&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2020 23:23:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362910#M5906</guid>
      <dc:creator>pgoldweic</dc:creator>
      <dc:date>2020-01-13T23:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to use React.js Component in Splunk Dashboard ?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362911#M5907</link>
      <description>&lt;P&gt;I finally got something working now. It took a lot of trial and error, but I'm relieved to see something working.&lt;/P&gt;

&lt;P&gt;The hardest thing to determine was that the path system wasn't relative to the JavaScript file that is being used in the Splunk dashboard, in my case relative to dashboard_file.js.&lt;/P&gt;

&lt;P&gt;You might have a file in the following path within your Splunk application directory: /appserver/static/(foldername)/(filename).&lt;/P&gt;

&lt;P&gt;When setting the path for it in the dashboard JavaScript file, it will actually be in the format of /static/app/(splunkappname)/(foldername)/(filename).&lt;/P&gt;

&lt;P&gt;This is what I have for my configuration:&lt;/P&gt;

&lt;P&gt;dashboard_file.js&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;require.config({
  paths: {
    react:
      '/static/app/&amp;lt;splunk_app_name&amp;gt;/&amp;lt;folder_name&amp;gt;/node_modules/react/umd/react.production.min',
    'react-dom':
      '/static/app/&amp;lt;splunk_app_name&amp;gt;/&amp;lt;folder_name&amp;gt;/node_modules/react-dom/umd/react-dom.production.min',
    'dashboard-container': '/static/app/&amp;lt;splunk_app_name&amp;gt;/&amp;lt;folder_name&amp;gt;/dist/bundle'
  }
});

require([
  'underscore',
  'backbone',
  'splunkjs/mvc',
  'jquery',
  'react',
  'react-dom',
  'dashboard-container'
], function(_, Backbone, mvc, $, React, ReactDOM, DashboardContainer) {
  const serviceList = [
    {name: 'Service 1', status: 'Good'},
    {name: 'Service 2', status: 'Good'},
    {name: 'Service 3', status: 'Error'},
    {name: 'Service 4', status: 'Good'}
  ];
  ReactDOM.render(
    React.createElement(DashboardContainer.default, {serviceList: serviceList}, null),
    document.getElementById('app')
  );
});
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;webpack.config.js:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');

module.exports = {
  entry: './src/js/components/container/DashboardContainer.jsx',
  output: {
    path: path.resolve(__dirname, 'dist'),
    filename: 'bundle.js',
    library: 'DashboardContainer',
    libraryTarget: 'umd'
  },
  module: {
    rules: [
      {
        test: /\.(js|jsx)$/,
        exclude: /node_modules/,
        loader: 'babel-loader'
      },
      {
        test: /\.scss$/,
        use: ['style-loader', 'css-loader', 'sass-loader']
      },
      {
        test: /\.html$/,
        use: [
          {
            loader: 'html-loader'
          }
        ]
      }
    ]
  },
  plugins: [
    new HtmlWebpackPlugin({
      template: './src/index.html',
      filename: './index.html'
    })
  ],
  devtool: 'cheap-module-eval-source-map',
  devServer: {
    contentBase: path.join(__dirname, 'dist')
  }
};
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;DashboardContainer.jsx:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;import React, {Component} from 'react';

import TileContainer from '../presentational/TileContainer.jsx';

class DashboardContainer extends Component {
  renderTile(serviceInfo) {
    return &amp;lt;TileContainer service={serviceInfo} /&amp;gt;;
  }

  render() {
    return (
      &amp;lt;div className="service-tiles"&amp;gt;
        &amp;lt;h1&amp;gt;Hello again world!&amp;lt;/h1&amp;gt;
        {this.props.serviceList.map(service =&amp;gt; this.renderTile(service))}
      &amp;lt;/div&amp;gt;
    );
  }
}

export default DashboardContainer;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 13 Jan 2020 23:32:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362911#M5907</guid>
      <dc:creator>ZBhura92</dc:creator>
      <dc:date>2020-01-13T23:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to use React.js Component in Splunk Dashboard ?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362912#M5908</link>
      <description>&lt;P&gt;@ZBhura92 - Nice work. That is generally what I would do. &lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 13:41:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362912#M5908</guid>
      <dc:creator>splunkian</dc:creator>
      <dc:date>2020-01-14T13:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to use React.js Component in Splunk Dashboard ?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362913#M5909</link>
      <description>&lt;P&gt;Hi @ZBhura92, do you know how you'd do something equivalent to this outside of the Splunk environment, within a standalone React app? Using create-react-app would be the ideal. &lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 15:50:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362913#M5909</guid>
      <dc:creator>pgoldweic</dc:creator>
      <dc:date>2020-01-14T15:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to use React.js Component in Splunk Dashboard ?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362914#M5910</link>
      <description>&lt;P&gt;I created a step-by-step guide on how to do this on my Github page. I found two ways.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;React Integration onto Splunk - The one from the answers&lt;/STRONG&gt;&lt;BR /&gt;
&lt;A href="https://github.com/chrisrabe/how-to-guides/blob/master/splunk/react-splunk-integration.md"&gt;https://github.com/chrisrabe/how-to-guides/blob/master/splunk/react-splunk-integration.md&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;React Integration onto Splunk using create-react-app - A faster way&lt;/STRONG&gt;&lt;BR /&gt;
&lt;A href="https://github.com/chrisrabe/how-to-guides/blob/master/splunk/improved-react-splunk-integration.md"&gt;https://github.com/chrisrabe/how-to-guides/blob/master/splunk/improved-react-splunk-integration.md&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I still need to figure out:&lt;BR /&gt;
- Using Splunk search queries with React&lt;BR /&gt;
- Setting up Typescript on a Splunk React app&lt;/P&gt;

&lt;P&gt;If you know how to do this, contribution to the How-To repository would be a good addition.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2020 00:02:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362914#M5910</guid>
      <dc:creator>chrisrabeaccent</dc:creator>
      <dc:date>2020-03-17T00:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to use React.js Component in Splunk Dashboard ?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362915#M5911</link>
      <description>&lt;P&gt;Thanks for sharing!&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2020 21:17:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362915#M5911</guid>
      <dc:creator>pgoldweic</dc:creator>
      <dc:date>2020-03-19T21:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to use React.js Component in Splunk Dashboard ?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362916#M5912</link>
      <description>&lt;P&gt;@chrisrabeaccenture, it looks like you included the same URL above twice, and missed including the one referring to using create-react-app.&lt;BR /&gt;
Also, I've been trying to create a React/Splunk app &lt;EM&gt;outside&lt;/EM&gt; of Splunk, do you know how these instructions would apply (or not, perhaps with some variation?) to my case?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 18:06:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362916#M5912</guid>
      <dc:creator>pgoldweic</dc:creator>
      <dc:date>2020-04-21T18:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to use React.js Component in Splunk Dashboard ?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362917#M5913</link>
      <description>&lt;P&gt;Hi @pgoldweic. Thanks. I updated the link.&lt;/P&gt;

&lt;P&gt;If you wanted to create a React application &lt;EM&gt;outside&lt;/EM&gt; Splunk, the only thing that worked for me so far is to create a NodeJS server that uses the Splunk SDK node module to handle search queries for you. When you want to make a query, you have to send a request to your NodeJS server endpoint and this server will forward the queries to Splunk. &lt;/P&gt;

&lt;P&gt;I had errors when using the Splunk SDK in client-side but if you ever find a solution, please document it and link it so that I can put it in my how-to guides.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 00:00:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362917#M5913</guid>
      <dc:creator>chrisrabeaccent</dc:creator>
      <dc:date>2020-04-22T00:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to use React.js Component in Splunk Dashboard ?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362918#M5914</link>
      <description>&lt;P&gt;Thanks for your reply @chrisrabeaccenture. I was hoping to be able to avoid this, since it'd mean that I cannot take advantage of Splunk's visualization features on the client side, so it's unfortunate to hear you could not make the client-side sdk work for you :-(. I hope the new beta program will provide a supported solution for this, but it is certainly not available yet, especially for apps outside of Splunk. &lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 15:16:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/362918#M5914</guid>
      <dc:creator>pgoldweic</dc:creator>
      <dc:date>2020-04-22T15:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to use React.js Component in Splunk Dashboard ?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/557292#M5915</link>
      <description>&lt;P&gt;If you need to make search queries from react you have to pass "&lt;SPAN&gt;splunkjs/mvc/searchmanager"&lt;/SPAN&gt; to your react application.&lt;/P&gt;&lt;P&gt;The source code you can see here&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/ivfisunov/splunk-react-app" target="_blank"&gt;https://github.com/ivfisunov/splunk-react-app&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jun 2021 13:56:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-use-React-js-Component-in-Splunk-Dashboard/m-p/557292#M5915</guid>
      <dc:creator>ivfisunov</dc:creator>
      <dc:date>2021-06-27T13:56:55Z</dc:date>
    </item>
  </channel>
</rss>

