Jsonpath preprocessing: negative regex expression

XMLWordPrintable

    • Type: Change Request
    • Resolution: Unresolved
    • Priority: Medium
    • None
    • Affects Version/s: 7.4.3
    • Component/s: 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. 

            Assignee:
            Andris Zeila
            Reporter:
            Kim Anthonisen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: