Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-10281

Jsonpath preprocessing: negative regex expression

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 7.4.3
    • Server (S)
    • None

      Today, it is not possible to create a jsonpath preprocessing, where I limit the output using a regex filter to remove data ?

      I know that I can use a regex filter to select data, but I need to opposite - remove selected data.

      From https://www.zabbix.com/documentation/7.4/en/manual/config/items/preprocessing/jsonpath_functionality, I know that I can do

      $.books[?(@.title =~ " of ")]

      but this does not work:

      $.books[?(@.title !=~ " of ")]

      It would be great to have this included in i Jsonpath preprocessing. 

            wiper Andris Zeila
            kiant.miracle Kim Anthonisen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: