Hi Andrew,
I got it to work with make setup on win with cygwin.
Manually create the virtualenv [beat-dir]/python-env
Change the following files below elastic/beats/libbeat/scripts:
Makefile set:
PYTHON_ENV?=python-env
Replace all:
${PYTHON_ENV}/bin/activate
To:
${PYTHON_ENV}/Scripts/activate
generate_fields_docs.py:
Somewhere around Line 108-110
args = parser.parse_args()
if args.path.startswith("/cygdrive/"):
args.path = args.path[len('/cygdrive/'):len('/cygdrive/') + 1] + ":" + args.path[len("/cygdrive/") + 1:]
generate_template.py:
Somewhere around line 303-305
args = parser.parse_args()
if args.path.startswith("/cygdrive/"):
args.path = args.path[len('/cygdrive/'):len('/cygdrive/') + 1] + ":" + args.path[len("/cygdrive/") + 1:]
generate_index_pattern.py
Somewhere around line 114-116
args = parser.parse_args()
if args.beat.startswith("/cygdrive/"):
args.beat = args.beat[len('/cygdrive/'):len('/cygdrive/') + 1] + ":" + args.beat[len("/cygdrive/") + 1:]
This is a hack and not generalized at all, but for my simple purpose it works. This will give you a hint on what needs to be changed.
No attaching of files here so I uploaded my fix here:
http://s000.tinyupload.com/?file_id=00340893578855435437
BR Mathias