-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[question] Failed to publish topology #50
Comments
Downgraded to 1.1.2, after wiping /var/lib/elasticsearch, same issue. |
Hi, if you are using packetbeat version 0.2.1, please upgrade to 0.2.2. There was a nasty bug (#33) causing packetbeat to connect to localhost despite configured otherwise. We'll update the getting started guide to use a newer elasticsearch version, that shouldn't make any difference, sorry for the confusion. |
This is the installed version: [root@vm00 ~]# rpm -q packetbeat |
Ah, it's already 0.2.2. Can you post your packetbeat.conf, please? |
Here it is: [elasticsearch] index = "packetbeat" [interfaces] [protocols] [protocols.mysql] [protocols.redis] [protocols.pgsql] [procs] [procs.monitored.mysqld] [procs.monitored.pgsql] [procs.monitored.nginx] [procs.monitored.httpd] [agent] [runoptions] [logging] [passwords] |
You don't need to set the [elasticsearch] path. That option is useful only when running Elasticsearch behind nginx, that exposes ES under a custom "path". We should probably rename that to http_path in order to clarify. So setting the path to "" should solve the issue. |
That did it, thanks! |
Great, keep us up to date on how the installation is going, please! |
Improve documentation of default config file
Environment Variables for service integration tests
Environment Variables for service integration tests
I followed the quick start guide and got this error:
Jul 5 09:12:39 vm00 /usr/bin/packetbeat[7866]: publish.go:342: Using http://localhost:9200/opt/elasticsearch as publisher
Jul 5 09:12:39 vm00 /usr/bin/packetbeat[7866]: publish.go:343: Using index pattern [packetbeat-]YYYY.MM.DD
Jul 5 09:12:39 vm00 /usr/bin/packetbeat[7866]: publish.go:353: No agent name configured, using hostname 'vm00.linux.com.py'
Jul 5 09:12:39 vm00 /usr/bin/packetbeat[7866]: publish.go:371: Failed to publish topology: Put http://localhost:9200/opt/elasticsearch/packetbeat-topology/server-ip/10.1.1.108: malformed HTTP status code "handler"
Jul 5 09:12:39 vm00 /usr/bin/packetbeat[7866]: main.go:252: Put http://localhost:9200/opt/elasticsearch/packetbeat-topology/server-ip/10.1.1.108: malformed HTTP status code "handler"
Jul 5 09:24:51 vm00 /usr/bin/packetbeat[7956]: publish.go:342: Using http://localhost:9200/opt/elasticsearch as publisher
Jul 5 09:24:51 vm00 /usr/bin/packetbeat[7956]: publish.go:343: Using index pattern [packetbeat-]YYYY.MM.DD
Jul 5 09:24:51 vm00 /usr/bin/packetbeat[7956]: publish.go:353: No agent name configured, using hostname 'vm00.linux.com.py'
Jul 5 09:24:51 vm00 /usr/bin/packetbeat[7956]: publish.go:371: Failed to publish topology: Put http://localhost:9200/opt/elasticsearch/packetbeat-topology/server-ip/10.1.1.108: malformed HTTP status code "handler"
Jul 5 09:24:51 vm00 /usr/bin/packetbeat[7956]: main.go:252: Put http://localhost:9200/opt/elasticsearch/packetbeat-topology/server-ip/10.1.1.108: malformed HTTP status code "handler"
The only difference is that I installed ElasticSearch 1.2.1, could that be the cause?
The text was updated successfully, but these errors were encountered: