Sorry!!! (-_-) Please forgive me.... I've got 2 running instance of elasticsearch in server and I don't know this. I found it by "jps" and I found my own elasticsearch in port 9201 !
Why when I start "elasticsearch -d", It don't say me its "port", " cluster.name" and "node.name"; It can be useful, can't? On Wed, Nov 12, 2014 at 5:00 AM, Ron Dyck <r...@webbtech.net> wrote: > I'm having a the same problem. Kibana is on server A and elasticsearch is > on server B. Both servers are in a AWS VPC. > I can curl server B from server A: curl http://<ipaddress>:9200/_nodes?pretty > and I get the following results: > $ curl "http://<ipaddress>:9200/_nodes?pretty" > { > "cluster_name" : "elasticsearch", > "nodes" : { > "aOXbVQEFQtqJqQBXpXQ7nA" : { > "name" : "smoker", > "transport_address" : "inet[/<ipaddress>:9300]", > "host" : "<hostname>", > "ip" : "<ipaddress>", > "version" : "1.3.5", > "build" : "4a50e7d", > "http_address" : "inet[/<ipaddress>:9200]", > "settings" : { > "path" : { > "data" : "/var/lib/elasticsearch", > "work" : "/tmp/elasticsearch", > "home" : "/usr/share/elasticsearch", > "conf" : "/etc/elasticsearch", > "logs" : "/var/log/elasticsearch" > }, > "pidfile" : "/var/run/elasticsearch/elasticsearch.pid", > "cluster" : { > "name" : "elasticsearch" > }, > "node" : { > "name" : "smoker" > }, > "http" : { > "cors" : { > "enabled" : "true", > "allow-origin" : "*" > } > }, > "name" : "smoker" > }, > "os" : { > "refresh_interval_in_millis" : 1000, > "available_processors" : 1, > "cpu" : { > "vendor" : "Intel", > "model" : "Xeon", > "mhz" : 2500, > "total_cores" : 1, > "total_sockets" : 1, > "cores_per_socket" : 1, > "cache_size_in_bytes" : 25600 > }, > "mem" : { > "total_in_bytes" : 2101587968 > }, > "swap" : { > "total_in_bytes" : 0 > } > }, > "process" : { > "refresh_interval_in_millis" : 1000, > "id" : 2847, > "max_file_descriptors" : 65535, > "mlockall" : false > }, > "jvm" : { > "pid" : 2847, > "version" : "1.7.0_71", > "vm_name" : "OpenJDK 64-Bit Server VM", > "vm_version" : "24.65-b04", > "vm_vendor" : "Oracle Corporation", > "start_time_in_millis" : 1415754606577, > "mem" : { > "heap_init_in_bytes" : 268435456, > "heap_max_in_bytes" : 1065025536, > "non_heap_init_in_bytes" : 24313856, > "non_heap_max_in_bytes" : 224395264, > "direct_max_in_bytes" : 1065025536 > }, > "gc_collectors" : [ "Copy", "ConcurrentMarkSweep" ], > "memory_pools" : [ "Code Cache", "Eden Space", "Survivor Space", > "CMS Old Gen", "CMS Perm Gen" ] > }, > "thread_pool" : { > ... deleted for brevity > }, > "network" : { > "refresh_interval_in_millis" : 5000, > "primary_interface" : { > "address" : "<ipaddress>", > "name" : "eth0", > "mac_address" : "12:07:9A:36:CC:AC" > } > }, > "transport" : { > "bound_address" : "inet[/0:0:0:0:0:0:0:0:9300]", > "publish_address" : "inet[/<ipaddress>:9300]" > }, > "http" : { > "bound_address" : "inet[/0:0:0:0:0:0:0:0:9200]", > "publish_address" : "inet[/<ipaddress>:9200]", > "max_content_length_in_bytes" : 104857600 > }, > "plugins" : [ ] > } > } > } > > Any help would be greatly appreciated. > > ron > > On Tue, Nov 11, 2014 at 7:21 AM, Reza Samee <reza.sa...@gmail.com> wrote: > >> Hello to all! >> >> Note: I'm new to ELK :) >> >> I'm using elasticsearch 1.4.0 and I'm trying to enable "http.cors" >> feature in elasticsearch. When I set "http.cors.enabled: true" and >> "http.cors.allow-origin: *" in config file and then restart, the >> "http.cors" feature doesn't enabled yet and I can't use kibana again. >> What's wrong with my config file? >> >> elasticsearch.conf: >> >> http.cors.enabled: true >> http.cors.allow-origin: "*" >> >> -- >> You received this message because you are subscribed to the Google Groups >> "elasticsearch" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to elasticsearch+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/elasticsearch/9d0351db-d94a-4ad9-b254-ef4d9e7d8c04%40googlegroups.com >> <https://groups.google.com/d/msgid/elasticsearch/9d0351db-d94a-4ad9-b254-ef4d9e7d8c04%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > {name : "Ron Dyck", > company : "Webbtech", > email : "r...@webbtech.net", > web : "http://webbtech.net" > twitter : "@pulpfree <http://twitter.com/pulpfree>", > skype : "pulpfree1"} > > -- > You received this message because you are subscribed to a topic in the > Google Groups "elasticsearch" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/elasticsearch/zu2LKFa4r-Q/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > elasticsearch+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/CADgc3Dzeny2Q%2B2kZZ1LUvoPK8HzvnyJqq%2BcpNxeQZxE_vxWk%3Dw%40mail.gmail.com > <https://groups.google.com/d/msgid/elasticsearch/CADgc3Dzeny2Q%2B2kZZ1LUvoPK8HzvnyJqq%2BcpNxeQZxE_vxWk%3Dw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- رضا سامعی / http://samee.blog.ir -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CADuRPDsi43_4G3Jke1J_%3DSBXxzj4knUqnSurGgXmoX0dJJ7GPg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.