React UI for Splunk Enterprise
This app uses Create-React-App
- Prerequisited:
git clone
the repository- Run
yarn install
- Copy
config.example.js
to./src/config.js
- In order to query splunk, a middle HTTP server is requires (
serverUrl
in config.js). The URL should point to an endpoint that recieve POST request with the parameterq
(as the query) in the body. The endpoint should return search results as json.
- Development mode:
- Run
yarn start
- Run
- Production mode:
- Run
yarn build
- Serve
./build
folder
- Run