React UI for Splunk Enterprise
This app uses Create-React-App
- Prerequisited:
git clonethe repository- Run
yarn install - Copy
config.example.jsto./src/config.js - In order to query splunk, a middle HTTP server is requires (
serverUrlin 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
./buildfolder
- Run