GithubHelp home page GithubHelp logo

isabella232 / dashboard-conf19-examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from splunk/dashboard-conf19-examples

0.0 0.0 0.0 1.05 MB

Splunk new dashboard framework examples .conf 2019

JavaScript 96.84% HTML 1.49% Dockerfile 0.51% Makefile 1.16%

dashboard-conf19-examples's Introduction

New dashboard framework examples - .conf 2019

Prerequisite

  • Install nodejs 10.x.
  • Install Splunk Enterprise locally and have $SPLUNK_HOME env variable setup.
  • In Windows environment, to avoid any file permission issues start the command prompt with "Run as Administrator" to run the commands mentioned in the Development section.

Development

  • npm install - install dependencies.
  • npm run dev - start the project in dev mode. This command will symlink the project into your Splunk instance.
  • Restart your Splunk instance if it's the first time you setup this project. Dashboard Examples .Conf 2019 application should shows up in app bar.

How to create a new page

  • Add an xml file in resources/default/data/ui/views.
  • Modify resources/default/data/ui/nav/default.xml to include your new page.
  • Create a new folder under src/pages/ with the same name of the new xml file.
  • Create index.jsx and bootstrap the page using @splunk/react-page.
  • Restart Splunk, your new page should shows up.

Package the app

Use the following steps to package the Dashboard app.

Requirements:

Steps:

  • Run make build-image to build the image to package the app.
  • Run make run to package the app with NodeJS.
    • The app (tgz) will be created in the splunkapps folder.
  • To start Splunk (8.0) with the dashboard app run make start (username: admin password: changemeplease1).
  • Remove all containers run make down

dashboard-conf19-examples's People

Contributors

dependabot[bot] avatar eason-gao avatar kova71 avatar merbla avatar missing1984 avatar nvasudeva-splunk avatar petey avatar vizzzhu avatar ykou-splunk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.