Wednesday 15 August 2012

elasticsearch - Upgrade of elastic search from 1.3.2 to 1.4.0.beata 1 and installing Kibana 4 beta version -



elasticsearch - Upgrade of elastic search from 1.3.2 to 1.4.0.beata 1 and installing Kibana 4 beta version -

i installed kibana-4.0.0-beta1.then realised needs elasticsearch-1.4.0.beta1. upgraded elasticsearch 1.3.2 newer version. kibana 4 not working , messed old elastic search , kibana3 also.

problems elasticsearch 1.3.2 , kibana 3

i able create index , can view in kibana if darg zoom , saying no indexes nowadays in time period. before used work fine. unable save dashborad on kibana kibana-init in elastic search's health red. deleted index.

i installed new elk stack on other brand new machine.

problems elasticsearch-1.4.0.beta1 , kibana-4.0.0-beta1

most of times kibana4 not able find elasticsearch

unable save visualization. getting next exception visualization saved

typeerror: cannot read property 'byname' of undefined @ baseaggparam.fieldaggparamfactory.fieldaggparam.deserialize

if seek access saved visualization, same or above exception showing.

thanks in advance

when load kibana 4, there's ajax request /config. should homecoming this:

apps: [{id:discover, name:discover}, {id:visualize, name:visualize}, {id:dashboard, name:dashboard},…] 0: {id:discover, name:discover} 1: {id:visualize, name:visualize} 2: {id:dashboard, name:dashboard} 3: {id:settings, name:settings} defaultappid: "discover" elasticsearch: "http://blah/elasticsearch" kibanaindex: "kibana-int" port: 9200

you see "kibanaindex" in there? create sure kibana 3 , kibana 4 uses different index. or they'll seek load each other's data.

in kibana 3 root, there's config.js. find line: kibana_index: "kibana-int"

and maybe alter too. (one or other.) either way. kibana saves state , dashboard info in index of own. create sure k3 , k4 have index different each other.

edit- btw, error seeing bug. https://github.com/elasticsearch/kibana/pull/1617 seems it's fixed.

double edit- applied in k4 beta 1. think had create other adjustments beta 2. ymmv.

elasticsearch kibana

No comments:

Post a Comment