apisix icon indicating copy to clipboard operation
apisix copied to clipboard

feat: i want to Slicing logs by domain name

Open jesusys opened this issue 2 years ago • 3 comments

Description

feat: i want to Slicing logs by domain name

jesusys avatar Dec 26 '23 07:12 jesusys

could you please describe your use case?

shreemaan-abhishek avatar Dec 26 '23 14:12 shreemaan-abhishek

could you please describe your use case?

i think its a wonderful feature, the users can get the log according to the domain name.

I can think of a temporary solution. You can configute the http-logger or clickhouse-logger to implement it, eg. u can configure the http-logger to your own log system, and slicing the logs by domain name

Vacant2333 avatar Dec 28 '23 02:12 Vacant2333

@jesusys helllo, any updates about the temporary solution?

Vacant2333 avatar Jan 23 '24 14:01 Vacant2333

@jesusys helllo, any updates about the temporary solution?

If you want to extract domain names from URLs in your logs and then filter logs based on those domains, you might need to use a combination of tools. Here's an example using awk to extract domain names from URLs and then filter logs based on those domains:

sunheyi6 avatar Mar 07 '24 03:03 sunheyi6