Skip to content
This repository has been archived by the owner on Nov 22, 2017. It is now read-only.

handle the error when can't write "hits" as "int" better #84

Open
LeeDr opened this issue Mar 23, 2016 · 1 comment
Open

handle the error when can't write "hits" as "int" better #84

LeeDr opened this issue Mar 23, 2016 · 1 comment
Labels

Comments

@LeeDr
Copy link

LeeDr commented Mar 23, 2016

Loading beats-dashboards before saving docs in Kibana breaks Timelion and the user just gets a blank screen.

beats-dashboards/issues/94

From the dev console;

{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"mapper [hits] cannot be changed
 from type [long] to [int]"}],"type":"illegal_argument_exception","reason":"mapper [hits] cannot be changed
 from type [long] to [int]"},"status":400}

From sense GET /.kibana/_mapping after beats-dashboards are loaded;

      "dashboard": {
        "properties": {
          "description": {
            "type": "string"
          },
          "hits": {
            "type": "long"
          },
@LeeDr LeeDr added the bug label Mar 23, 2016
@rashidkpc rashidkpc removed their assignment May 12, 2016
@andremilk
Copy link

andremilk commented Aug 15, 2016

I am also getting this.

From my elasticsearch log:

[2016-08-15
18:31:44,171][DEBUG][action.admin.indices.mapping.put] [Dead Girl] failed to put mappings on indices [[.kibana]], type [timelion-sheet]
java.lang.IllegalArgumentException: mapper [hits] cannot be changed from type [long] to [int]

I am running kibana 4.5.4.
I just installed timelion and tried out to see this

I deleted the .kibana index and then it worked.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants