Octane pre-requisites – how do I test Elasticsearch/Windows?
Question ID: 108032
1
0

We are building a Test environment and have installed ElasticSearch 2.4 on a Windows server. What is the best way to test that it is up and running?
We see a windows CURL available, is there anything easier?

Marked as spam
Posted by (Questions: 193, Answers: 14)
Asked on December 19, 2017 5:10 pm
54 views
Answers (1)
1
Private answer

I have found that you *can* use PowerShell since it is installed on Windows already, but have had mixed results.

There is a cool utility called Cygwin that gives you a Linux terminal (Bash shell) on top of Windows and can have various modules added to it like CURL, which is the standard way to test and sometimes work with ElasticSearch.

Follow directions here to get and setup Cygwin:

http://bin63.com/how-to-install-elasticsearch-on-windows

http://www.cygwin.com/

Then you can test with CURL or Powershell:

Run

curl http://localhost:9200/ with Cygwin

or

Invoke-RestMethod http://localhost:9200 with PowerShell

Marked as spam
Posted by (Questions: 4, Answers: 509)
Answered on December 19, 2017 5:24 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top