Filter in kibana visualization JSON input [Solved]


(Taloub) #1

Hello,

I'am presenting my data in a table in Kibana in this way :

I want to show just those which the field Durée > 5 s

I've tried this JSON but it doesn't work

{ "script" : "doc['Durée'].value  > 5.00" }

Can you help me please :slight_smile:

Thanks


(Lukas Olson) #2

Here's one way to accomplish this:

  1. Create a new bar chart visualization
  2. Split by ranges and select 0 to 5 as the range
  3. Click on the corresponding bar in the chart (which should create a filter)
  4. Pin the filter
  5. Re-create this visualization

The documents should be filtered as you want here.


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.