Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional debug to identify base directory for relative samples directory search #418

Open
mark-sivill-splunk opened this issue Nov 26, 2020 · 0 comments
Assignees
Labels
enhancement Feature enhancement requests

Comments

@mark-sivill-splunk
Copy link

I added the following debug to help determine the base directory from where the relative search for the samples directory happens.

I'm running eventgen as a standalone program and debugging the files that were being searched for in the directory structure took me some time. Perhaps the following might help somebody else.

Change as sed command ....

sed -i 's/ s.sampleDir = os.path.join(base_path, s.sampleDir)/ logger.debug("Using base directory %s" % (base_path) )\n s.sampleDir = os.path.join(base_path, s.sampleDir)/g' ./eventgen/splunk_eventgen/lib/eventgenconfig.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature enhancement requests
Projects
None yet
Development

No branches or pull requests

4 participants