Splunk instance for running the KVEditor app
You can set up a local dev environment with the following steps:
-
Clone this repository to WSL Ubuntu file system. This is important as file delimiters would be wrong if the project is checked out in the windows file system.
-
Open project in Visual Studio Code
-
Reopen the project in Dev Container and wait first until everything has been setting up
-
Open new terminal, go to the
/splunk
folder and runyarn setup
-
After finishing setting up, run
yarn start
. For more information consult the /splunk/README.md. -
Open a new second terminal session, make sure, you're in the root folder of the project and use Docker to start the dev environment servers:
docker-compose up --build
To shut down the servers call:
docker-compose down
Go to http://localhost:8000/en-US/app/kv-editor/search and call the following SPL query to fill the KV store:
| inputlookup example_kv.csv
| outputlookup example_kv
Then you can go to http://localhost:8000/en-US/app/kv-editor/dashboard and use the KV editor.