Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Suggestion: vhost filtering #68

Open
mopeneko opened this issue Aug 22, 2022 · 3 comments
Open

Feature Suggestion: vhost filtering #68

mopeneko opened this issue Aug 22, 2022 · 3 comments
Assignees

Comments

@mopeneko
Copy link

mopeneko commented Aug 22, 2022

現状 vhost によるフィルタリングを grep vhost:example.com foo.log | alp ltsv としているのですが、これがフィルタで行えたら便利だと思いました。

@tkuchiki
Copy link
Owner

起票ありがとうございます!

まさに私も hostname でフィルタしたいときは grep を使っているのと、フィルタに追加した場合 -f "Host == 'example.com'" のようになると思いますが、grep より入力するものが増えてしまいそうだなと思い実装していなかった、という背景があります。
もし、alp 単体で使えないと不便なユースケースがあればご教示いただけますか?

@tkuchiki tkuchiki self-assigned this Aug 23, 2022
@mopeneko
Copy link
Author

alp単体でない場合不便なユースケースは、コマンドが冗長になり不便というくらいですね。
tkuchiki さんがよろしければ実装していただけると大変助かります、というレベルです!

@tkuchiki
Copy link
Owner

すみません、返信が遅くなりました。

なるほどです、現状集計に必要な値以外は捨てているので、フィルタ周りの実装を修正する必要があります。
そのため、すぐにはできなさそうですが、実装できないか試してみます。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants