You can use NOT <field> values with field keywords in log queries to find logs for which the value of the field is not the value in the query.
Syntax
NOT <field>:<value>
Example
NOT src:10.0.4.10