y-scope / clp

Compressed Log Processor (CLP) is a free log management tool capable of compressing text logs and searching the compressed logs without decompression.

Home Page:https://yscope.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quoting (") the query in the webui searches *with* the quotes rather than stripping them.

kirkrodrigues opened this issue · comments

Bug

Searching for " info " in the webui searches for the literal string " info ", including the quotes, meaning that the query doesn't find matches for info. User expectation is that the quotes would be stripped unless escaped.

CLP version

ce3af8d

Environment

Ubuntu 20.04

Reproduction steps

  • Build a package

    task package
  • Start the package

    cd build/clp-package
    sbin/start-clp.sh
  • Compress https://zenodo.org/records/7094921

    sbin/compress.sh hive-24hr
  • Open the webui (http://localhost:4000/search)

  • Enter the query INFO in the webui and observe results are returned

  • Enter the query " INFO " in the webui and observe no results are returned