You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2021/10/13 05:45:12 UTC

[GitHub] [skywalking] Liubey opened a new issue #7917: [Bug] Log Search function not effective

Liubey opened a new issue #7917:
URL: https://github.com/apache/skywalking/issues/7917


   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Apache SkyWalking Component
   
   UI (apache/skywalking-rocketbot-ui)
   
   ### What happened
   
   I have use grpc reporter to collect log to the es,but in /log page,I can not use any english character or chinese character to search log.
   by the way,search by trace id is ok.
   
   ![image](https://user-images.githubusercontent.com/5568302/137074059-690fdb90-b29b-4d98-bb82-0b12112e1786.png)
   
   
   request is:
   curl 'http://localhost:8080/graphql' \
     -H 'Connection: keep-alive' \
     -H 'sec-ch-ua: "Chromium";v="94", "Google Chrome";v="94", ";Not A Brand";v="99"' \
     -H 'Accept: application/json, text/plain, */*' \
     -H 'Content-Type: application/json;charset=UTF-8' \
     -H 'sec-ch-ua-mobile: ?0' \
     -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36' \
     -H 'sec-ch-ua-platform: "macOS"' \
     -H 'Origin: http://localhost:8080' \
     -H 'Sec-Fetch-Site: same-origin' \
     -H 'Sec-Fetch-Mode: cors' \
     -H 'Sec-Fetch-Dest: empty' \
     -H 'Referer: http://localhost:8080/log' \
     -H 'Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,zh-TW;q=0.7' \
     --data-raw '{"query":"query queryLogs($condition: LogQueryCondition) {\n    queryLogs(condition: $condition) {\n        logs {\n          serviceName\n          serviceId\n          serviceInstanceName\n          serviceInstanceId\n          endpointName\n          endpointId\n          traceId\n          timestamp\n          contentType\n          content\n          tags {\n            key\n            value\n          }\n        }\n        total\n    }}","variables":{"condition":{"keywordsOfContent":[],"excludingKeywordsOfContent":[],"tags":[],"paging":{"pageNum":1,"pageSize":22,"needTotal":true},"queryDuration":{"start":"2021-10-13 123731","end":"2021-10-13 130731","step":"SECOND"}}}}' \
     --compressed
   
   ### What you expected to happen
   
   search my log
   
   ### How to reproduce
   
   skywalking 8.7.0
   es 7.5
   springboot + logback
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] Liubey commented on issue #7917: [Bug] Log Search function not effective

Posted by GitBox <gi...@apache.org>.
Liubey commented on issue #7917:
URL: https://github.com/apache/skywalking/issues/7917#issuecomment-941962604


   > Press enter after input.
   
   but,to be honest,It's not obvious.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] Liubey commented on issue #7917: [Bug] Log Search function not effective

Posted by GitBox <gi...@apache.org>.
Liubey commented on issue #7917:
URL: https://github.com/apache/skywalking/issues/7917#issuecomment-941961836






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] Fine0830 commented on issue #7917: [Bug] Log Search function not effective

Posted by GitBox <gi...@apache.org>.
Fine0830 commented on issue #7917:
URL: https://github.com/apache/skywalking/issues/7917#issuecomment-942005356






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng commented on issue #7917: [Bug] Log Search function not effective

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #7917:
URL: https://github.com/apache/skywalking/issues/7917#issuecomment-941972460


   > > Press enter after input.
   > 
   > but,to be honest,It's not obvious.
   
   Because you could set multiple keywords to match, there is no other way to provide this.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng closed issue #7917: [Bug] Log Search function not effective

Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #7917:
URL: https://github.com/apache/skywalking/issues/7917


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng commented on issue #7917: [Bug] Log Search function not effective

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #7917:
URL: https://github.com/apache/skywalking/issues/7917#issuecomment-941945157






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng commented on issue #7917: [Bug] Log Search function not effective

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #7917:
URL: https://github.com/apache/skywalking/issues/7917#issuecomment-941945157


   Press enter after input.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] Fine0830 commented on issue #7917: [Bug] Log Search function not effective

Posted by GitBox <gi...@apache.org>.
Fine0830 commented on issue #7917:
URL: https://github.com/apache/skywalking/issues/7917#issuecomment-942025041


   > > Probably I can optimize this with reminders.
   > 
   > Maybe put one condition per line, with some tips. And `tags` condition shares the same confusion, I think.
   
   Make sense to me.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] Liubey commented on issue #7917: [Bug] Log Search function not effective

Posted by GitBox <gi...@apache.org>.
Liubey commented on issue #7917:
URL: https://github.com/apache/skywalking/issues/7917#issuecomment-941961836


   > Press enter after input.
   
   so surprised!
   thank you!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng closed issue #7917: [Bug] Log Search function not effective

Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #7917:
URL: https://github.com/apache/skywalking/issues/7917


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng commented on issue #7917: [Bug] Log Search function not effective

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #7917:
URL: https://github.com/apache/skywalking/issues/7917#issuecomment-941945761


   Or if you are using ElasticSearch, it bases on words analyzing.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng commented on issue #7917: [Bug] Log Search function not effective

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #7917:
URL: https://github.com/apache/skywalking/issues/7917#issuecomment-942021153


   > Probably I can optimize this with reminders.
   
   Maybe put one condition per line, with some tips. And `tags` condition shares the same confusion, I think.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] Fine0830 commented on issue #7917: [Bug] Log Search function not effective

Posted by GitBox <gi...@apache.org>.
Fine0830 commented on issue #7917:
URL: https://github.com/apache/skywalking/issues/7917#issuecomment-942005356


   Probably I can optimize this with reminders.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org