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

Kibana 4.5.1: filter panel not appearing under search box #7713

Closed
test-in-prod opened this issue Jul 11, 2016 · 16 comments
Closed

Kibana 4.5.1: filter panel not appearing under search box #7713

test-in-prod opened this issue Jul 11, 2016 · 16 comments
Labels
bug Fixes for quality problems that affect the customer experience feedback_needed

Comments

@test-in-prod
Copy link

Kibana version: 4.5.1

Server OS version: Windows Server 2012 R2

Browser version: Chrome 51.0.2704.103 (Official Build) m (64-bit) / Firefox 47

Original install method (e.g. download page, yum, from source, etc.): Download, running via NSSM

When adding a filter to a search in "Discover" tab, actual filters do not appear. There is no way to remove the filters and you get "No results found" if you apply too many filters. The only workaround now is to remove Json _g variable from the URL and start over from scratch.

What should happen (from official docs)

@epixa epixa added the bug Fixes for quality problems that affect the customer experience label Jul 22, 2016
@ebsackowitz
Copy link

This is still a problem in 4.6 and extremely frustrating. In some boards it works, others it does not. In Chrome - windows.

@Bargs
Copy link
Contributor

Bargs commented Jan 31, 2017

@ebsackowitz what version of 4.6 specifically? Any errors in the browser console? Do you have steps to reproduce?

Might be related to #7767

@anhlqn
Copy link
Contributor

anhlqn commented May 26, 2017

  • Kibana 4.6.1
  • Windows 2012 R2
  • Chrome 57

I ran into this issue a few times and get one today. It may be caused by an invalid filter when we try to modify the JSON code via Export/Import as in https://stackoverflow.com/questions/36498479/kibana-dashboard-filter-bar-is-not-visible. In my case it's the wrong index pattern in the filter portion.

Cleaning up the filter part in JSON editor and re-adding filters solved my issue. I hope that Kibana throws some error messages instead of just silently hiding the filters

@cockcrow
Copy link

cockcrow commented Jun 19, 2017

Also ran into this problem after I upgraded Kibana from 5.2.0 to 5.3.0 using deb package.
It could be resolved by removing the old saved filter from Saved Objects, just as @ahardy said.

Hope helps.

UPDATE
Maybe it was the index pattern?
I just rename one index pattern from celery to celery_*, for I am used to use alias but now use pattern names. Other dashboards with fixed index name did not fall into the problem, just the one with wildcard *.
Just a guess.

@test-in-prod
Copy link
Author

Correct, resolves this as well by changing object properties (e.g. saved search). Really needs to be a better way to do this and/or a message that the old pattern is invalid.

@timroes
Copy link
Contributor

timroes commented Mar 10, 2018

This issue seems to be outdated - closing it. Please feel free to comment if you are still seeing this issue with more recent Kibana versions.

@timroes timroes closed this as completed Mar 10, 2018
@cooniur
Copy link

cooniur commented Apr 11, 2018

@timroes I'm seeing the same issue in Kibana 5.6.4. The filter panel doesn't show up at all on the Discover page all the time.

Kibana Version: 5.6.4
Chrome Version 65.0.3325.181 (Official Build) (64-bit)
Safari Version 11.1 (13605.1.33.1.2)

Btw it works in Kibana 5.4.1.

============

Added more details:

After some investigation, It seems to be caused by importing a saved search that was created in another Kibana running against a different Elasticsearch Server.

We recently upgraded into a newer version Elasticsearch cluster and Kibana (5.6.4). We replicated the same log indices to the newer cluster with the same prefix (foobar_logs*). The saved searches from the older Kibana (5.4.1) were exported to a json file which was later imported to the newer Kibana.

During the import, Kibana prompted "The following saved objects use index patterns that do not exist. Please select the index patterns you'd like re-associated them with.", and I chose the correct index patterns.

After importing, I opened the saved search in Discover page and added some filters, but the filter panel didn't show up, and console showed an error message:

Error: Could not locate that index-pattern (id: foobar_logs*), [click here to re-create it](#/management/kibana/index?id=foobar_logs%252A&name=)
    at updateFromElasticSearch (kibana.bundle.js?v=15571:27)
    at kibana.bundle.js?v=15571:27
    at processQueue (commons.bundle.js?v=15571:38)
    at commons.bundle.js?v=15571:38
    at Scope.$eval (commons.bundle.js?v=15571:39)
    at Scope.$digest (commons.bundle.js?v=15571:39)
    at Scope.$apply (commons.bundle.js?v=15571:39)
    at done (commons.bundle.js?v=15571:37)
    at completeRequest (commons.bundle.js?v=15571:37)
    at XMLHttpRequest.xhr.onload (commons.bundle.js?v=15571:37)

@timroes
Copy link
Contributor

timroes commented Apr 11, 2018

Could you be more specific on which screens it doesn't show up? Because there are some visualizations that actually on purpose hide it, but on Discover this should always show.

@cooniur
Copy link

cooniur commented Apr 11, 2018

Hey @timroes , I just edited my previous comment with more details. It seems to relate to saved objects export/import issues.

@timroes
Copy link
Contributor

timroes commented Apr 11, 2018

@cooniur Thanks for that information. Have you actually tried to recreate that index pattern for foobar_logs*, by using the provided link #/management/kibana/index?id=foobar_logs%252A&name= on your Kibana instance? Because as it seems your index pattern is just not there, meaning everything is kind of broken at that moment :)

@cooniur
Copy link

cooniur commented Apr 11, 2018

@timroes Yes, actually I recreated the same index pattern with the same prefix in the new Kibana before importing the exported json file.

@timroes
Copy link
Contributor

timroes commented Apr 11, 2018

But that way it might get a different id. You must make sure the id of the saved object is actually foobar_log* in your case. The above link would guarantee that, or by manually specifying an id when creating it (was that even available in 5.6.x?)

@cooniur
Copy link

cooniur commented Apr 11, 2018

Yes, I figured the same. After recreating the index pattern with foobar_log* as the ID, and reimport the saved search, the filter panel started showing up. The link doesn't seem to guarantee the ID.

Actually, during the import, there is a Index Pattern Conflicts dialog pop up and asked me to choose index patterns you'd like re-associated them with.. I would assume this step should fix the ID issue automatically. Can you try to reproduce it and see if there's really a bug please?

@timroes
Copy link
Contributor

timroes commented Apr 11, 2018

@elastic/kibana-management You are aware of the above index pattern conflicts? I am not too well known with the import and migration process, sorry.

But I'll leave this issue then closed, since the actual filter bar issue, seems to be solved if the index pattern is configured correctly :)

@cooniur
Copy link

cooniur commented Apr 11, 2018

Thanks @timroes ! Makes sense to leave this issue closed as my issue seems to be caused by this import/migration issue.

I'll wait for the ES/Kibana management's reply. :)

@chrisronline
Copy link
Contributor

@cooniur Can you provide your import file that isn't importing properly?

cee-chen added a commit that referenced this issue May 3, 2024
`v94.1.0-backport.0` ⏩ `v94.2.1-backport.0`

_[Questions? Please see our Kibana upgrade
FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)_

---

##
[`v94.2.1-backport.0`](https://github.com/elastic/eui/releases/v94.2.1-backport.0)

**This is a backport release only intended for use by Kibana.**

- Reverted the `EuiFlexGroup`/`EuiFlexItem` `component` prop feature due
to Kibana typing issues

## [`v94.2.1`](https://github.com/elastic/eui/releases/v94.2.1)

**Bug fixes**

- Fixed an `EuiTabbedContent` edge case bug that occurred when updated
with a completely different set of `tabs`
([#7713](elastic/eui#7713))
- Fixed the `@storybook/test` dependency to be listed in
`devDependencies` and not `dependencies`
([#7719](elastic/eui#7719))

## [`v94.2.0`](https://github.com/elastic/eui/releases/v94.2.0)

- Updated `getDefaultEuiMarkdownPlugins()` to allow excluding the
following plugins in addition to `tooltip`:
([#7676](elastic/eui#7676))
  - `checkbox`
  - `linkValidator`
  - `lineBreaks`
  - `emoji`
- Updated `EuiSelectable`'s `isPreFiltered` prop to allow passing a
configuration object, which allows disabling search highlighting in
addition to search filtering
([#7683](elastic/eui#7683))
- Updated `EuiFlexGroup` and `EuiFlexItem` prop types to support passing
any valid React component type to the `component` prop and ensure proper
type checking of the extra props forwarded to the `component`.
([#7688](elastic/eui#7688))
- Updated `EuiSearchBar` to allow the `@` special character in query
string searches ([#7702](elastic/eui#7702))
- Added a new, optional `optionMatcher` prop to `EuiSelectable` and
`EuiComboBox` allowing passing a custom option matcher function to these
components and controlling option filtering for given search string
([#7709](elastic/eui#7709))

**Bug fixes**

- Fixed an `EuiPageTemplate` bug where prop updates would not cascade
down to child sections
([#7648](elastic/eui#7648))
- To cascade props down to the sidebar, `EuiPageTemplate` now explicitly
requires using the `EuiPageTemplate.Sidebar` rather than
`EuiPageSidebar`
- Fixed `EuiFieldNumber`'s typing to accept an icon configuration shape
([#7666](elastic/eui#7666))
- Fixed `EuiFieldText` and `EuiFieldNumber` to render the correct
paddings for icon shapes set to `side: 'right'`
([#7666](elastic/eui#7666))
- Fixed `EuiFieldText` and `EuiFieldNumber` to fully ignore
`icon`/`prepend`/`append` when `controlOnly` is set to true
([#7666](elastic/eui#7666))
- Fixed `EuiColorPicker`'s input not setting the correct right padding
for the number of icons displayed
([#7666](elastic/eui#7666))
- Visual fixes for `EuiRange`s with `showInput`:
([#7678](elastic/eui#7678))
  - Longer `append`/`prepend` labels no longer cause a background bug
  - Inputs can no longer overwhelm the actual range in width
- Fixed a visual text alignment regression in `EuiTableRowCell`s with
the `row` header scope
([#7681](elastic/eui#7681))
- Fixed `toolTipProps` type on `EuiSuperUpdateButton` to use
`Partial<EuiToolTipProps>`
([#7692](elastic/eui#7692))
- Fixes missing prop type for `popperProps` on `EuiDatePicker`
([#7694](elastic/eui#7694))
- Fixed a focus bug with `EuiDataGrid`s with `leadingControlColumns`
when moving columns to the left/right
([#7701](elastic/eui#7701))
([#7698](elastic/eui#7698))
- Fixed `EuiSuperDatePicker` to validate date string with respect of
locale on `EuiAbsoluteTab`.
([#7705](elastic/eui#7705))
- Fixed a visual bug with `EuiSuperDatePicker`'s absolute tab on small
mobile screens ([#7708](elastic/eui#7708))
- Fixed i18n of empty and loading state messages for the
`FieldValueSelectionFilter` component
([#7718](elastic/eui#7718))

**Dependency updates**

- Updated `@hello-pangea/dnd` to v16.6.0
([#7599](elastic/eui#7599))
- Updated `remark-rehype` to v8.1.0
([#7601](elastic/eui#7601))

**Accessibility**

- Improved `EuiBasicTable` and `EuiInMemoryTable`'s selection checkboxes
to have unique aria-labels per row
([#7672](elastic/eui#7672))
- Added `aria-valuetext` attributes to `EuiRange`s with tick labels for
improved screen reader UX
([#7675](elastic/eui#7675))
- Updated `EuiAccordion` to keep focus on accordion trigger instead of
moving to content on click/keypress
([#7696](elastic/eui#7696))
- Added `aria-disabled` attribute to `EuiHorizontalSteps` when status is
"disabled" ([#7699](elastic/eui#7699))

---------

Co-authored-by: Tomasz Kajtoch <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience feedback_needed
Projects
None yet
Development

No branches or pull requests

10 participants