I have downloaded and executed PowerShell.exe -ExecutionPolicy UnRestricted -File .\install-service-topbeat.ps1.
to configured input and output modified topbeat.yaml as per document output is elasticsearch,
tried to load the index template to elastic search with given command
Topbeat> Invoke-WebRequest -Method Put -InFile topbeat.template.json -Uri http://localhost:9200/_template/topbeat?pretty
But its not working... even the start command for topbeat is not correct as per document.. Could you please help me to configure the Topbeat
while load template Elastic search is in running mode
Still complete not installed Topbeat... but i am trying to load the sample template from beats-dashboard-masterb
I am not load the sample template with load.ps1 into Elasticsearch, seeing below error
[D] Do not run [R] Run once [S] Suspend [?] Help (default is "D"): R
Write-Error : Invoke-RestMethod cmdlet was not found. You may need to upgrade your PowerShell version.
At D:\basefarm\beats-dashboards-master\load.ps1:17 char:14
Write-Error <<<< "$CURL cmdlet was not found. You may need to upgrade your PowerShell version."
Like the error says, you probably need to update your PowerShell version. The Invoke-RestMethod command wasn't included until PowerShell 3. Check your version with:
PS C:\Users\vagrant> $PSVersionTable.PSVersion
Major Minor Build Revision
----- ----- ----- --------
2 0 -1 -1
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.