While installing filebeat , i am getting below error. Please help.
File C:\Filebeat\install-service-filebeat.ps1 cannot be loaded. The file C:\Filebeat\install-service-filebeat.ps1 is
not digitally signed. You cannot run this script on the current system. For more information about running scripts and
setting execution policy, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170.
+ CategoryInfo : SecurityError: ( [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnauthorizedAccess
sorry forgotten to say you will need to start cmd.exe as administrator
Hopefully then it will work (i always work as admin on our server so that was not obvious to me...)
Security warning
Run only scripts that you trust. While scripts from the internet can be useful, this script can potentially harm your
computer. If you trust this script, use the Unblock-File cmdlet to allow the script to run without this warning
message. Do you want to run C:\Program Files\Filebeat\install-service-filebeat.ps1?
[D] Do not run [R] Run once [S] Suspend [?] Help (default is "D"): R
yeah thats good the service is installed
now you only must start it like you start every windows service (services in start)
don't forget to double check your config before you start the service
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.