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
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