Trying to install the Elasticsearch + logstash + Kibana + Beats in Windows 10 64bit
--.1 Installed Java Jdk 12 ok.
--.2 Downloaded 'Windows sha' from Download Elasticsearch | Elastic
--.3 Unzipped elasticsearch-7.0.0-windows-x86_64 to my elastic stack directory. D:\elasticsearch-stack
-- 4. In PowerShell Administrator mode, trying to install the Elasticsearch-service as follows:
Invoke-Expression -command "D:\elasticsearch-stack\elasticsearch-7.0.0-windows-x86_64\elasticsearch-7.0.0.\bin\service install"
--. 5 Results:
D:\elasticsearch-stack\elasticsearch-7.0.0-windows-x86_64\elasticsearch-7.0.0.\bin\service : The term
'D:\elasticsearch-stack\elasticsearch-7.0.0-windows-x86_64\elasticsearch-7.0.0.\bin\service' is not recognized as the
name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is correct and try again.
At line:1 char:1
- D:\elasticsearch-stack\elasticsearch-7.0.0-windows-x86_64\elasticsear ...
+ CategoryInfo : ObjectNotFound: (D:\elasticsearc....0.\bin\service:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
--.6 Troubleshooting:
Then typed as follows:
D:\elasticserarch-stack\elasticsearch-7.0.0-windows-x86_64\elasticsearch-7.0.0\bin> .\elasticsearch-service.bat start
--.7 Results:
"Failed starting 'elasticsearch-service-x64' service"