Skip to Content
KubeSense

What changed when your filter was converted

What each notice on a converted Basic or Advanced filter means, with a before and after example and what to do.

This page is for anyone who opened a saved filter and saw a line above the filter bar. Find your notice in the table, then follow its link. Every notice starts with one of two sentences.

  • Converting this filter changes what it matches. Read these first. The rows can differ from what the old filter returned.
  • This filter is kept exactly as it runs today. The rows are the same. The filter only reads differently from what you might expect.

Nothing changes in a saved filter until you save it again.

What you will see

The filter now matches something different

What you will seeWhat it meansWhat to do
Case-insensitive match folds letters differentlyLetters outside A to Z can match differently in a pipeline or log-to-metric filter.Nothing, unless the field holds non-English letters. Then test the rule.
Body equality becomes a word searchbody = "timeout" now matches the word anywhere in a line, not the whole line.Check that the wider match is what you want.
Advanced text that never ran, now emptyThe old text never filtered anything. The filter is now empty and matches every row.Type the condition again if you want it.
Advanced text that never ran, rebuilt from chipsThe old text never filtered. The chips did, so the filter is built from them.Add the quoted text if you wanted it.
Word search on a field becomes an exact matchworkload hasAnyToken ("payment") now matches only the value payment, not repayments or payment-api.Write workload:~*payment* if you want the text anywhere in a value.
Case-insensitive log search on a field becomes a substring matchpayment now also matches repayments.Write workload:payment for the whole value.
A variable the dashboard does not have, ignoredThe filter named a $name that is not a variable of this dashboard. It is now left out.Remove the term, or add the variable to the dashboard.
A condition that never ran, now applied as you meant itOne condition was unreadable and never filtered. It now applies, so you may see fewer rows.Check the result is what you meant.
A condition with no value, left outA condition with no value never ran. It is left out.Add the value if you want the condition.
An exist check that errored, now worksOn traces, exist(@key) gave an error. It now checks that the attribute is present.Nothing.
A condition that was ignored, now appliedA condition was ignored before. It now applies, so you see fewer rows.Remove it if you relied on the old result.
A field that the filter does not knowThe field never worked. The filter bar keeps it and underlines it.Pick the field you meant, or remove the term.
A regular expression, now a patternA MATCH expression that never ran is now the same pattern in a filter.Nothing.
A regular expression that a filter cannot take hereThe expression is not a plain pattern, and only pipelines accept expressions.Use a wildcard, or move the rule into a pipeline.
A comparison on an attribute that now reads text numbersValues stored as text that look like numbers now match too.Nothing, unless you relied on text values being skipped.
An attribute condition in an alert that now reads both typesThe alert read only the text values (or only the number values) of an attribute. It now also matches the value stored as the other type.Check that the extra match is fine.
A saved view that ran from its chipsThe view ran its chips, not the filter stored beside them.Check the filter, then save the view.
An equality that compared the value's own typeIn a pipeline, status = 500 now compares the text form, so it also matches the value stored the other way.Check that the extra match is fine.
A pipeline list that now uses every valueA condition lists several values, but only the first one ever ran. The filter uses every value, so the rule can match more logs (a not-equals excludes more).Check that the extra values are the ones you meant, then save.
A saved filter that is not validThe filter it converts to has an error. The bar shows where.Fix the text where it is marked, then save.

The filter matches the same rows

What you will seeWhat it meansWhat to do
A trace attribute comparison that ran as an equalityA chip on a trace attribute with a >=500 value ran as an equality. the filter keeps what ran.Write the comparison you meant.
Free text on traces, ignoredTrace search never used free text. It is left out.Use a field, such as resource:*checkout*.
A variable that is not a whole valueA $env inside a longer value was never filled in. It stays literal text.Use a whole value: workload:$env.
One field, an include or an exclude, joined by ORThe filter matches more than it reads like.Write workload:payment -workload:cart if that is what you meant.
A range on one field that matches every rowTwo ranges joined by OR match everything.Write duration_ms>5 duration_ms<9.
An exist check on a columnexist(workload) becomes workload:*, a value that is not empty.Nothing.
The Unresolved IP chipUnresolved IP is a test for an IPv4 address, not text.Nothing.
A pattern on a screen that has no patternsOn RUM, % was always literal text.Nothing. Use view_name:50* for a wildcard where the field takes patterns.
A regular expression in a pipelineA pipeline expression is now a /regex/ term.Nothing.
A pipeline pattern that ran as a contains testPay% matched Pay anywhere. The filter writes that as `/Pay/, with no notice.Nothing. For a prefix, write workload:Pay* and test the rule.

When a filter cannot be converted

If KubeSense cannot prove that the filter matches the same rows, the filter stays as it was. The screen says that the filter can't be converted yet and gives the reason. Keep working in Advanced, or retype the filter in the Basic tab.

Reason you will seeWhat it means
A condition in it has a value a filter cannot writeThe value is true or false, null, a list or an object, or a number is tested against body, which is text. Write the condition with a text or a number on a field.
It names a field the filter does not knowA pipeline condition reads log columns and @attributes. Pick the field you meant.
This condition matches every logA MATCH on the body with ^ or an empty pattern is true for every log. The rule stays as it is so someone can review it. A block rule with it drops every log. If only a part matches every log, the editor says that part decides nothing.
It is an old rule, saved before conditions existedA rule from before conditions shows its filter when that is proved to select the same logs. When it is not, the rule opens in Advanced. Saving it converts it.
The filter for an old rule would select different logs, or the rule is too large to convert in one stepThe rule stays as it is. Rewrite the condition.
The pipeline has never been able to run a condition in itA free-text chip or a NOT LIKE in a pipeline was refused when the rule was built, so there is nothing to keep. Write the condition you want.
It uses a regular-expression match, or a pattern in it matches differently in a pipelineOnly pipelines take /regex/. Where the match would differ, the rule stays as it is.
A word or pattern search has a null valueThe alert engine reads a null as empty text, and a filter has no text for it. A true, false or number is searched by its text and converts. Write the value as text.
It compares a very small or very large number as textThe alert engine writes a number such as 1e-7, or one with more than 15 digits, differently from a filter. Write the comparison on the value itself.
It compares a number attribute with a true or falseA filter would read the text values instead. Compare with a number.
It can never match a log, or it fails on every checkThe alert would never fire, for example a word search with no word of two letters. The filter stays as it is so someone can review it. A new or edited alert with such a filter is refused at save.
A pattern has a backslash before another characterA backslash before anything but %, _ or a backslash is read differently by the database with and without a % at the end. Remove the backslash, or write the character itself.
A word search on the body is case-sensitiveA filter has no case-sensitive search. The filter stays as it is.
It reads only the text values, or only the number values, of an attributeA filter's @key reads both and has no way to name one. The filter stays as it is. In most alerts it converts, with the notice attr_other_map_also.
It negates an attribute conditionA NOT around an attribute also matches rows that do not have the attribute, while -@key:value means the attribute is there and is not that value. In an alert it converts to (-@key:* OR -@key:value), with the notice attr_other_map_also. Elsewhere, and on a list element, the filter stays as it is.

Notices that change what a filter matches

Some saved filters never ran the way they read. KubeSense converts what you meant, so check the result.

Case-insensitive match folds letters differently

The rules can disagree on letters such as É and é. A to Z behave the same.

Before, in a pipeline rule: workload ILIKE "%Pay%"

After:

workload:~*Pay*

Body equality becomes a word search

IN, != and NOT IN change the same way. A filter has no whole-line equality on body. For lines that start with a word, write body:timeout*.

Before: body = "timeout"

After:

body:timeout

Advanced text that never ran, now empty

The text showed in the editor but never filtered.

Before: workload = "payment" in the editor, results not filtered.

After: an empty filter bar. Type workload:payment to get the filter.

Advanced text that never ran, rebuilt from chips

Before: the text workload = "payment" never ran. The chips held namespace = otel-demo.

After:

namespace:otel-demo

Word search on a field becomes an exact match

This covers hasAnyToken, HAS_TOKEN and hasAllToken with one value, on any field other than body. A filter has no word search on those fields, so the value must equal the whole field value. A value such as repayments or payment-api no longer matches payment. For the text anywhere in a value, write workload:~*payment*. For a prefix, write workload:payment*. The old search dropped non-English letters from the value (café searched for caf), so it never found a value with such letters; the converted search finds it, in any case, such as café and CAFÉ for café.

hasAllToken with several values on such a field cannot convert, because one value cannot equal all of them. The filter stays in Advanced.

Before: workload hasAnyToken ("payment", "checkout")

After:

workload:(payment OR checkout)

Case-insensitive log search on a field becomes a substring match

This covers ILIKE_LOG on a field other than body. A filter has no word search there, so it becomes a substring test that ignores case. For a prefix, write workload:~payment*.

Before: workload ILIKE_LOG "payment"

After:

workload:~*payment*

A variable the dashboard does not have, ignored

Only a dashboard panel has variables. When a panel filter names a $name that the dashboard no longer has, the filter leaves that term out. If the filter names only missing variables, it now converts. If it names a missing variable in a condition, that condition is dropped, which changes what the filter matches.

Before: the Advanced filter service = "$nope" AND status = error. It ran as a search for the text $nope, so it returned no rows.

After:

status:error

A filter such as $$nope AND status = error, or a Basic chip $nope, drops the missing term and returns the same rows as before. The notice appears only when the rows change.

A condition that never ran, now applied as you meant it

The filter now uses the saved Advanced text.

Before, for example: the text service = "checkout" AND status = "error", with an unreadable stored condition.

After:

service:checkout status:error

A condition with no value, left out

Before: workload = "payment" AND namespace =

After:

workload:payment

An exist check that errored, now works

Before: exist(@http.route) on traces, which gave an error.

After:

@http.route:*

A field that the filter does not know

The filter bar keeps the field as written and underlines it. KubeSense shows text with an error but never stores it.

Before: nosuchfield = "x"

After:

nosuchfield:x

A regular expression, now a pattern

Before: body MATCH "pay.*ment"

After:

body:pay*ment

A regular expression that a filter cannot take here

The filter bar keeps the text and reports an error. See Regular expressions.

Before: body MATCH "pay[0-9]+"

After:

body:/pay[0-9]+/

A rewrite with a wildcard is body:pay*.

A condition that was ignored, now applied

Before, for example: workload = "checkout" AND namespace = "shop", which filtered only on workload.

After:

workload:checkout namespace:shop

A comparison on an attribute that now reads text numbers

Before: http.status_code > 400, where the attribute is a number in some rows and text such as "500" in others.

After:

@http.status_code>400

An attribute condition in an alert that now reads both types

An attribute can be stored as text or as a number. An alert filter with a declared attribute type, or with an operation such as NOT LIKE, read only one of the two. A filter's @key reads both, so the alert now also matches a row that stores the value as the other type. The alert can fire on more rows than before.

Before: an alert filter user.tier = "gold" on an attribute declared as text.

After:

@user.tier:gold

A saved view that ran from its chips

Saving stores the text.

Before: chips service = checkout, stored filter service = payment.

After:

service:checkout

An equality that compared the value's own type

This applies to log pipelines and log-to-metric filters. An attribute holds text or a number. A rule such as status = 500 compared the number 500 only, and status = "500" compared the text only. The filter compares the text form, so both spellings match the number 500 and the text 500. A rule with != loses those events, and a rule with = gains them.

Before: a pipeline rule with http.status_code = 500.

After:

@http.status_code:500

A saved filter that is not valid

The editor shows the text with its error. Until you fix it, the filter keeps its old form.

Before: body_length > 50 on logs, where body_length is not a log field.

After:

body_length>50

Notices for filters kept exactly

One field, an include or an exclude, joined by OR

Before: the chips workload = payment and workload != cart.

After:

workload:payment OR -workload:cart

This matches every row that is not cart, plus the payment rows.

A range on one field that matches every row

Before: the chips duration > 5 ms and duration < 9 ms.

After:

duration_ms>5 OR duration_ms<9

An exist check on a column

Before: exist(workload)

After:

workload:*

The Unresolved IP chip

Without quotes, unresolved_ip is the test. As client:"unresolved_ip" it is the literal text.

Before: the chip client = Unresolved IP.

After:

client:unresolved_ip

A pattern on a screen that has no patterns

Before: the chip view_name = 50%.

After:

view_name:50%

A regular expression in a pipeline

Only pipelines accept /regex/ terms.

Before: a pipeline rule with body MATCH "pay.*ment".

After:

body:/pay.*ment/

A pipeline pattern that ran as a contains test

Before: a pipeline rule with workload LIKE "Pay%". It matched Pay anywhere in the value, with case.

After:

workload:/Pay/

A pipeline list that now uses every value

A pipeline or log-to-metric condition with is, is not, a comparison, LIKE, ILIKE or MATCH and several values only ever used the first value. The other values never ran. The filter uses every value, so once you save the rule it can match more logs. For is not, the rule now excludes every listed value, so it matches fewer.

Before: a pipeline rule with workload LIKE "Pay%" and "Cart%". Only Pay% ran.

After:

(workload:/Pay/ OR workload:/Cart/)

A variable that is not a whole value

The filter keeps that and quotes the value.

Before: a filter value $env-api.

After:

workload:"$env-api"

A trace attribute comparison that ran as an equality

Before: a saved trace chip on @http.status_code with the value >=500 ran as an equality, @http.status_code:500.

After:

@http.status_code:500

Free text on traces, ignored

Before: the chip service = payment and the free text checkout.

After:

service:payment

The exact notice wording

Every notice as the editor words it
NoticeKindWhat the editor says
pipeline_list_all_valuesChanges what the filter matchesA condition in it lists several values, but only the first one ever ran; the filter uses every value, so the rule can match more logs once saved (a not-equals excludes more).
ilike_unicode_foldChanges what the filter matchesA case-insensitive match in it folds letters outside A to Z differently from before.
body_exact_to_tokenChanges what the filter matchesA body equality in it now matches the word anywhere in a body, in any case, instead of the whole body.
text_never_ran_emptyChanges what the filter matchesIts saved text never ran, so the filter is now empty and matches every row; retype the condition if you want one.
text_never_ran_from_chipsChanges what the filter matchesIts saved text never ran, so the filter is rebuilt from its chips.
token_to_substringChanges what the filter matchesA word search on a field now matches the text anywhere in a value, such as Repayments for payment, in any case.
token_to_equalsChanges what the filter matchesA word search on a field other than body now matches only the whole value.
leaf_never_ran_repairedChanges what the filter matchesA condition in it was unreadable and never ran; it now applies as the condition it meant.
leaf_never_ran_droppedChanges what the filter matchesA condition in it has no value and never ran, so it is left out.
exist_never_ranChanges what the filter matchesAn exist check in it failed with an error before; it now checks that the field has a value.
leaf_now_appliesChanges what the filter matchesA condition in it was ignored before and now applies, so it matches fewer rows.
trace_freetext_droppedKept exactlyFree text in it is ignored on traces, as it always was.
unknown_field_keptChanges what the filter matchesA field in it is not one the filter knows and never worked; it is kept as written, so the filter bar reports it.
match_regex_to_globChanges what the filter matchesA regular expression in it never ran here and is now the equivalent pattern.
match_regex_keptChanges what the filter matchesA regular expression in it never ran here and only a pipeline accepts one, so the filter bar reports it.
variable_kept_literalKept exactlyA $name in it is not a whole value, so a saved panel never filled it in and it searches for that text.
unknown_variable_ignoredChanges what the filter matchesIt names a $name this dashboard does not have; it was searched as text or dropped before, and the filter ignores it.
attr_compare_both_mapsChanges what the filter matchesA comparison on an attribute read only the number map before; it now also matches values stored as text that read as numbers.
view_chips_over_treeChanges what the filter matchesThis saved view runs from its chips, which differ from the filter stored beside them; the text is what the chips run.
attr_other_map_alsoChanges what the filter matchesThis attribute condition read only the text values (or only the number values) of the field; it now also matches the value stored as the other type.
typed_equality_to_textChanges what the filter matchesAn equality in it compared the value with its own type (a number, or a text that reads as one). The filter compares the text form, so @code:500 now matches both the number 500 and the text 500, whichever way it was written.
same_field_or_collapsesKept exactlyIt ORs conditions on one field, such as (workload:a OR -workload:b), which matches more than it reads like.
same_field_tautologyKept exactlyA range on one field matches every row.
exist_columnKept exactlyAn exist check in it tests that a column is not empty, and the filter writes it as column:*.
ip_sentinelKept exactlyThe Unresolved IP value on client tests that the client is an IPv4 address, and the filter writes it as client:unresolved_ip.
literal_pattern_non_logsKept exactlyA pattern here is read as literal text.
match_regexKept exactlyIt uses a regular-expression match.
like_runs_as_containsKept exactlyA pattern in it runs in this pipeline as a contains test, and is written as one.
kql_does_not_compileChanges what the filter matchesIts saved text never ran as written and the filter it converts to does not compile; the bar shows where.
raw_attr_gt_equalityKept exactlyA trace attribute chip in it with a comparison such as >=500 ran as an equality, and the filter keeps what ran.
For API and Terraform users

The notice names are the heading anchors and the values of kql_flags.

An API client sees a filter that never ran as written as converted_intent: true in the answer of the conversion endpoint, POST /api/kql/from-legacy. The kql_flags list is then always present and names each cause. When the converted filter is not valid, the list also holds kql_does_not_compile.

On this page