IBM QRadar

IBM QRadar

Join this online user group to communicate across Security product users and IBM experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Events Dropping without Routing Rules

    Posted Tue March 11, 2025 01:41 PM

    Hi guys,

    We want to drop some events at the EC level before coming to the EP. Is there a method for this, has anyone tried it before?


    Thanks in advance



    ------------------------------
    Adem Güler
    ------------------------------


  • 2.  RE: Events Dropping without Routing Rules

    Posted Tue March 11, 2025 02:09 PM

    Hi Adem,

    It is possible to drop events at the EC level (before the EP) using routing rules in "online" mode.

    Although this satisfies your need to drop at the EC, I notice you specified "without routing rules" in your topic; I'm not sure why you want to avoid routing rules, but if for whatever reason you cannot use them, your only other option would be to prevent the events from being ingested at all. This can be handled in multiple ways, depending on the mechanism used to collect the data. Our WinCollect agent can have filters configured such that it only sends certain events. Other syslog sources may have similar filtering capabilities, it depends entirely on what is transmitting the syslog events. Many of our protocols that "pull" event data via various REST APIs, JDBC queries, and so may have filtering capabilities at the query level, but again it depends on the specific integration. Likewise the protocols that use a pub/sub paradigm may have filtering capabilities, or useful data vs unuseful data can be separated at the topic/subscription/eventhub/etc level such that only useful event data can be retrieved.

    In short, online routing rules running in the EC are probably your best option, if you are willing to use them. If not, your goal may be doable, but it depends on the details.

    Cheers

    Colin



    ------------------------------
    COLIN HAY
    IBM Security
    ------------------------------



  • 3.  RE: Events Dropping without Routing Rules

    Posted Tue March 11, 2025 02:52 PM

    Hi Colin,

    Firstly, thank you for your feedback and detailed answer. The reason we want to avoid using routing roule here is that we think it will overload the system resources on the console. What is your opinion about this?



    ------------------------------
    Adem Güler
    ------------------------------



  • 4.  RE: Events Dropping without Routing Rules

    Posted Mon March 24, 2025 10:32 AM

    Hi Adem,

    Sorry for the delayed response. Generally speaking, routing rules are not considered to be very expensive computationally, especially for the Drop action (the Forward action is more expensive). But the relative cost of a routing rule is dependent on the complexity of the match criteria - if using inexpensive operations like checking the value of log source type, log source, QID, username, source IP, etc they are quite fast. If you would be doing a "Payload Contains" check or applying regex to either the full payload or to a property/field value, this will increase the computational cost. Can you provide any details as to the criteria for which you would be dropping events?

    Cheers

    Colin



    ------------------------------
    COLIN HAY
    IBM Security
    ------------------------------



  • 5.  RE: Events Dropping without Routing Rules

    Posted Tue February 17, 2026 09:58 AM
    Dear All,
    is there any continuation of this discussion?
     
    @Colin,
    you wrote, 
    "(...)Our WinCollect agent can have filters configured such that it only sends certain events. Other syslog sources may have similar filtering capabilities(...)"
     
    I am facing a similar challenge to what Adem described. I am supposed to ingest .csv files via the Amazon AWS S3 REST API protocol, and each file contains exactly one header line. These header lines are useful during integration, but once ingestion starts, they become unnecessary events. 
     
    So far, the only option I came across is:
     
    Offenses -->  Rules -->  Actions -->  Create New Event Rule
    "when the event payload contains string"  +  some unique part of the CSV header
    Action:  "Drop this event"
     
    Would you be so kind as to comment on this, are there any other built-in options to prevent header lines from being ingested? Also, do you have any insight into how resource-intensive this approach might be?
     
    Many thanks & regards,
    H.



    ------------------------------
    Heinrich HEIPL
    ------------------------------



  • 6.  RE: Events Dropping without Routing Rules

    Posted Tue February 17, 2026 09:58 AM
    Dear All,
     
    Is there any continuation of this discussion?
     
    @Colin,
    you wrote: "(...) Our WinCollect agent can have filters configured such that it only sends certain events. Other syslog sources may have similar filtering capabilities (...)"
     
    I am facing a similar challenge to what Adem described. I am supposed to ingest .csv files via the Amazon AWS S3 REST API protocol, and each file contains exactly one header line. These header lines are useful during integration, but once ingestion starts, they become unnecessary events.
     
    I also tried the following approach, but it seems this option no longer exists:
    Offenses --> Rules --> Actions --> Create New Event Rule
    Condition: "when the event payload contains string" + some unique part of the CSV header
    Action: (there is no "Drop this event" option - I am not even sure it existed)
     
    Would you be so kind as to comment on this? Are there any built‑in options to prevent header lines from being ingested? Also, do you have any insight into how resource‑intensive your suggested approach might be?
     
    Many thanks & regards,
    H.


    ------------------------------
    -
    ------------------------------



  • 7.  RE: Events Dropping without Routing Rules

    Posted Tue February 17, 2026 10:36 AM

    Hi Heinrich,

    I believe if you use Generic CSV as your Event Format option, the Amazon S3 protocol will automatically suppress the header lines, and no further action will be required. However this will reformat the events into either a name=value format or into JSON, depending on which option you choose.

    If you want to preserve the original CSV format, keep with the LINEBYLINE format. In this case the header lines will be treated as events and you'll have to drop them later in the pipeline.

    The method you mentioned will not work. The option which used to be labeled "Drop this event" has been renamed to "Bypass further rule correlation for this event" because that's what the action actually does - it flags the event to not be tested by any additional correlation rules.

    Instead, you should use Routing Rules as discussed above. Go to the Admin tab and click the Routing Rules icon. Create a new routing rule, select "Online" as the mode and select the Event Collector host which is receiving your Amazon events. In the Event Filters section, you essentially define search criteria to match only the events you want to drop. A payload contains test is quite expensive, especially by itself, so you should add a filter for the log source type (or better yet, the specific log source) receiving the header line events, this ensures the rule will only be evaluated further ahainst events for that log source type or log source. Then, to ensure you're only dropping the "junk" events that you don't want, ideally you'd use a Low level Category or QID filter to match just the bad events (this assumes they are getting assigned a category like "Unknown" or a distinctive Event name that indicates they are unparsed.

    Cheers

    Colin



    ------------------------------
    COLIN HAY
    IBM Security
    ------------------------------



  • 8.  RE: Events Dropping without Routing Rules

    Posted Tue February 17, 2026 01:02 PM

    Hi Colin,
    Thank you, slowly but surely figured it out, now it works like a charm! :)
    Kind regards,
    H.



    ------------------------------
    -
    ------------------------------