3

I have logs which contains in full_message;

  • -EndPoint:example/example/abc
  • -EndPoint:example/example/qfdsf
  • -EndPoint:example/example
  • .. and so on

I am trying to write a search query to just get -EndPoint:example/example.

"-EndPoint:example/example" is not working

and I cant use "and" or "or" cause there hundreds of versions

Why and how can't/can I get only -EndPoint:example/example which doesn't have / at the end ?

Kaan
  • 379
  • 3
  • 7

1 Answers1

0

You can use the following regex:

"-EndPoint:example/example$"

It search for the string, making sure, it's the end of the string.

Poul Bak
  • 10,450
  • 5
  • 32
  • 57