Skip to content
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

Errors with no results - multiple vis types #1847

Closed
w33ble opened this issue Nov 7, 2014 · 4 comments
Closed

Errors with no results - multiple vis types #1847

w33ble opened this issue Nov 7, 2014 · 4 comments
Assignees
Labels
blocker bug Fixes for quality problems that affect the customer experience
Milestone

Comments

@w33ble
Copy link
Contributor

w33ble commented Nov 7, 2014

If your aggregations result in 0 hits, these errors show up when the vis tries to render

screenshot 2014-11-07 13 11 22

To recreate:

  • Use discover to find a section of time that you have no data in
  • With that time selected, create a visualization
    • Area chart will produce errors here, the rest will require some aggregations
  • Create some aggregations (1 should be enough...) and click apply

The result should be some errors in your console...

@w33ble w33ble added bug Fixes for quality problems that affect the customer experience blocker labels Nov 7, 2014
@w33ble
Copy link
Contributor Author

w33ble commented Nov 7, 2014

Affects line charts too....

screenshot 2014-11-07 13 17 18

@w33ble
Copy link
Contributor Author

w33ble commented Nov 7, 2014

...and pie charts

screenshot 2014-11-07 13 18 47

@w33ble w33ble changed the title Area chart - errors with no results Errors with no results - multiple vis types Nov 7, 2014
@w33ble
Copy link
Contributor Author

w33ble commented Nov 7, 2014

Bar charts too. Here's the request and response data

{
  "size": 0,
  "query": {
    "filtered": {
      "query": {
        "query_string": {
          "query": "*"
        }
      },
      "filter": {
        "bool": {
          "must": [
            {
              "range": {
                "@timestamp": {
                  "gte": 1415218876862,
                  "lte": 1415247734636
                }
              }
            }
          ],
          "must_not": []
        }
      }
    }
  },
  "aggs": {
    "agg_135": {
      "date_histogram": {
        "field": "@timestamp",
        "interval": "300000ms",
        "min_doc_count": 1,
        "extended_bounds": {
          "min": "2014-11-05T20:21:16.862Z",
          "max": "2014-11-06T04:22:14.636Z"
        }
      }
    }
  }
}
{
  "took": 1,
  "timed_out": false,
  "_shards": {
    "total": 1,
    "successful": 1,
    "failed": 0
  },
  "hits": {
    "total": 0,
    "max_score": 0,
    "hits": []
  },
  "aggregations": {
    "agg_135": {
      "buckets": []
    }
  }
}

@stormpython stormpython added the Feature:Vislib Vislib chart implementation label Nov 10, 2014
@rashidkpc rashidkpc self-assigned this Nov 10, 2014
@stormpython stormpython removed the Feature:Vislib Vislib chart implementation label Nov 11, 2014
@rashidkpc rashidkpc added this to the 4.0.0-BETA3 milestone Nov 11, 2014
@w33ble
Copy link
Contributor Author

w33ble commented Nov 12, 2014

Better ticket in #1887

@w33ble w33ble closed this as completed Nov 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker bug Fixes for quality problems that affect the customer experience
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants