After extracting filebeat from the virtual machine, enter #: ./filebeat -c filebeat.yml
Encountered the following problems!!!!!!
Exiting: error unpacking config data: more than one namespace configured accessing ‘output’ (source:’filebeat.yml’)
resolvent:
#Note that you must install filebeat in your own directory to modify filebeat.yml
[filebeat directory] #: VIM filebeat.yml
After entering, find the following configuration location
#—————————-Elasticsearch output ———————————-
output. elasticsearch:
#Array of hosts to connecr to.
hosts: [“localhost:9200”]
=====================Modification====================
Just comment out the contents under Elasticsearch output
#—————————-Elasticsearch output ———————————-
#output. elasticsearch:
#Array of hosts to connecr to.
hosts: [“localhost:9200”]
Save exit after modification
Restart filebeat
Enter #:/ filebeat -c filebeat.yml
View process
Enter #:/ filebeat -e -c filebeat.yml
Successfully started filebeat!!!!!
Read More:
- [Solved] CRITICAL:yum.cli:Config error: Error accessing file for config file:///opt/++
- [Solved] Decompression error: tar: Error is not recoverable: exiting now
- How to Solve Unzip Error: tar: Error is not recoverable: exiting now
- [Solved]unpacking of archive failed: cpio: lstat failed – Not a directory
- Ubuntu Sshd: no hostkeys available — exiting.
- [Solved] Linux Error: tar: Error Is Not Recoverable: Exiting Now
- Solve the problem of 404 Not Found error in nginx accessing dynamic interface
- [Solved] Raspberry Pi Error: VNC error “No configured security type is supported by 3.3 VNC Viewer“
- [Solved] Virtual Machine Centos7 Startup Error: Entering emergency mode
- How to Solve Oracle startup monitoring error
- [Solved] FATAL CONFIG FILE ERROR: Bad directive or wrong number of arguments
- Nginx Startup Error: “/var/run/nginx/nginx.pid” failed” [How to Solve]
- [Solved] Fatal error LNK1169: one or more multiple defined symbols were found
- Kylin arm64 linux configure: error: cannot guess build type; you must specify one
- [Solved] prometheus Startup Error: opening storage failed
- [Solved] Linux virtual machine startup error: operating system not found
- Docker Startup Error: standard_init_linux.go:211: exec user process caused “no such file or directory”
- Nginx Startup Error: Job for nginx.service failed because the control process exited with error code
- [Solved] Linux WebService Startup Error: BindException: Cannot assign requested address
- [Solved] KVM Failed to Startup Error: error: Network not found: no network with matching name ‘default‘