Hello, below is my filebeat configuration, getting an error Exiting: more than one namespace configured accessing config
- type: log
rotateeverybytes: 10485760 # 10 MB
i've checked your config file and found you have enabled both the o/p section i.e. elasticsearch and logstash but we can configure only one o/p section at a time.
please disable one o/p section and restart the service and let me know if you are still getting this error.
but i want monitor filebeat hosts and need to send logs to logstash to apply grok filter , in this case what can i do ?
i think we can not monitor filebeats with logstash right?
i didn't get you more please find below comments.
for this please enable only logstash o/p section and disable elasticsearch o/p means comments below line.
i'm not able to understand but if you are asking about config the logstash o/p then we can configure logstash o/p or please explain bit more so that i can understand and provide solution.
I should configure logstash output as well as monitoring filebeat nodes also how can I achieve this?
if I configure like below mentioned, getting error Exiting: No monitoring reporter configured
The error "more than one namespace configured" is not there now which was mentioned earlier.
And below error is related to X-pack monitoring.
for this i've checked the documentation of filebeat where clearly mentioned >>"Add the xpack.monitoring settings in the Filebeat configuration file. If you configured Elasticsearch output and you want to use the same Elasticsearch production cluster and credentials"<<
It means we can configure X-pack monitoring in filebeat with elasticsearch only. Please find below links for your reference and let me know if you need any help from my side.
Please do let me know in case you have any query.
Hello Harsh , Thanks for your help I appreciate that. I followed the same procedure which is in elk document, and I am configuring logs output to Logstash and filebeat monitoring metrics to elasticsearch node, you can see that in the beginning post, but initially, I was getting an error Exiting: more than one namespace configured accessing config but i configured only one output
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.