blue-yonder / bonfire

A CLI Graylog Client with Follow Mode
BSD 3-Clause "New" or "Revised" License
72 stars 26 forks source link

Stream filter should be optional even if the user doesn’t have full permissions #40

Open vfaronov opened 2 years ago

vfaronov commented 2 years ago

Hi, thanks for building and maintaining this tool.

I run Bonfire on a Graylog instance where I don’t have full permissions. This causes it to prompt me for a stream to query. But regardless of which stream I select (including “All messages”), I get no results. However, if I remove this check from the code, it doesn’t pass the filter parameter to Graylog, and then I do get the expected results.

I could make a fix for this, but I don’t know enough about Graylog to decide on the proper course of action:

valentin-krasontovitsch commented 2 years ago

thanks for reporting this bug / unexpected behaviour! i'm sadly sorely pressed for time, and the other issue has been waiting for weeks now, but i'm gonna try to look into this. optimistically this week, more realisticaly it'll take a few weeks. I shall try to prioritize bonfire!