The updateIPFilter() GraphQL mutation may be used to update an IP filter in LogScale.

For more information on IP filters, see the IP Filter reference page.

Syntax

Below is the syntax for the updateIPFilter() mutation field:

graphql
updateIPFilter(
     input: IPFilterUpdateInput!
   ): IPFilter!

Given Datatypes

For the given datatype, IPFilterUpdateInput, there are several parameters that may be given. Below is a list of them along with their datatypes and a description of each:

Table: IPFilterUpdateInput

ParameterTypeRequiredDefaultDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Sep 18, 2024
idstringyes The unique identifier of the filter.
ipFilterstring  An IP filter to use, if there is one.
namestring  The name of the filter.

Returned Datatypes

The returned datatype IPFilter has its own parameters. Below is a list of them along with their datatypes and a description of each:

Table: IPFilter

ParameterTypeRequiredDefaultDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Sep 25, 2024
idstringyes The unique identifier for the IP filter.
ipFilterstringyes The IP filter itself.
namestringyes The name for the IP filter.