elastic / stream2es

Stream data into ES (Wikipedia, Twitter, stdin, or other ESes)
355 stars 60 forks source link

How do i use stream2es in windows? #22

Open tkmagesh opened 10 years ago

tkmagesh commented 10 years ago

I am using windows 8 64-bit and I am unable to run stream2es after downloading it using curl.

drewr commented 10 years ago

What error do you see?

HappyCoderMan commented 9 years ago

I just got this to work on Windows. I struggled a lot with the --source path. Using anything other than this was giving me either path errors or trying to parse the source as a URL and throwing exceptions.

On Windows, using a UNC-like path to the source worked for me: java -jar stream2es wiki --target http://localhost:9200/mywiki --log debug --source //localhost/wiki/enwiki-latest-pages-articles.xml.bz2

RC-Jay commented 7 years ago

How do i set up my dataset so that I can use that UNC like path?

HappyCoderMan commented 7 years ago

Assuming no security concerns, just right click on your C drive and set sharing to everything on your C drive.

That'll open \localhost* paths and \mycomputername* paths. I'm sure there's a "better" way, but this is what I did.

image