Uploaded image for project: 'Metron (Retired)'
  1. Metron (Retired)
  2. METRON-2205

Cease querying on filter or time-range change

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • Major
    • Resolution: Done
    • None
    • None
    • None

    Description

      Currently, Alerts UI sends a query request to the REST API every time the userĀ 

      • add new filter
      • clear filters
      • change time range

      This behavior keeps the list of alerts and the state of the filtering in sync: every time the filter changes the visualized data change with it.

      The drawback of this behavior is itĀ fires multiple query requests while the user tries to set up a more complex filter.

      The following scenario:

      1. clearing the current filter
      2. changing the time range
      3. adding a filter for ip_src_addr
      4. adding a filter for source:type
      5. pressing the query button

      leads 5 queries instead of one. In the case of large data sets, this could lead to unnecessary load and UI glitches (results update the alerts table with partially filtered data).

      Attachments

        Issue Links

          Activity

            People

              tibormeller Tibor Meller
              tibormeller Tibor Meller
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 10m
                  2h 10m