IBM QRadar

IBM QRadar

Join this online topic 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.


#Security
#QRadar
#SecuringhybridcloudandAI
 View Only
  • 1.  Replace Strings In Custom Property

    Posted 08/31/20 09:00 AM
    Dear Community,

    I have a log source that sends urls to QRadar. Those urls contain a query part, i.e. https://example.com/resource?id=1234.
    Messages are forwarded to QRadar via Syslog in CEF-Format. The equals sign has a special meaning in  CEF (key-value-separator). Therefore the CEF-forwarder escapes them with a backslash. The resulting string would be https://example.com/resource?id\=1234.
    In my custom DSM I do capture the string via regex and assign it (including the backslash) to a custom propery. How can I achieve to remove the backslash from the property value?

    Many thanks in advance for your help.
    Nils


  • 2.  RE: Replace Strings In Custom Property

    Posted 09/11/20 08:51 AM
    I've seen some fields need \\ instead of \ in that type of scenario.  I recommend you try each in the DSM editor and see what returns the proper regex.  Then put that in your LSX.

    ------------------------------
    Frank Eargle
    ------------------------------