- Create
.env
file containing credentials from template - Generate all
.csv
files containing simulated data - Generate initialization
create-db.sql
file that contains- the MYSQL
splunk
user grants - tables schemas based on the corresponding csv file structure
- table load based on the corresponding csv file content
- the MYSQL
- Start the docker environment
- Splunk + apps
- MySQL DB server
- Wait for DBConnect APIs to be online
- Configure DBX using API calls
- create identity
- create DB connection to MySQL DB server
- Enjoy
- Group generated content in one dir to avoid pushing to Git
- Remove hardwired file/dirs ( like /data in Dockerfile)
- Set timezone for both containers
- Review DB Creation and initialization ( too complex )
-
make up
fails as passwords are regenerated - Prepare for Splunk 9.x ( dbxquery is still flagged risky )
- dd