Not reading all the options in config file
hi, I am using the RC2 and it doesn't read keyring and follow options asI have them here:
[node:default]
host=graylog.domain.com
tls=True
port=
endpoint=/api/
username=user
keyring = True
follow = True
Also, since my graylog server is running on 443, I had to leave it empty, otherwise it is malforming a URL like graylog.domain.com
so sorry about the late reaction - I have to admit I've never worked with a keyring, I'm gonna have to try and reproduce this and see what happens. if you could give me a simple recipe on how to setup a keyring, I would really appreciate that (also - do i have to use gnome for the keyring thingy to work?)
i'm not sure I follow your last comment, about the port - you had to leave the port option empty? if you write 443 there, it get's messed up? gonna check that out!
just give me a few more days please, hopefully i will find some time to look at this.
I am using gnome keyring. So if you use bonfire with -k option, it should ask you for your keyring passphrase so it will store it there, and next time you don't need to type the password (as long as the keyring is unlocked).
So at this moment I need to type:
bonfire -f -k :hpc
and I cannot have the -k and -f options defined at the config file like:
[node:default]
host=graylog.domain.com
tls=True
port=
endpoint=/api/
username=user
keyring = True
follow = True
so I would like to be able to execute:
bonfire :hpc
and that is it, everything else should be in the config file.
Forget about the port, it looks fine.
Cheers.
alrighty i'm finally looking at this.
- follow mode is not read from config file, it can only be triggered from the command line. but it's not difficult to implement that option
- happy to hear that the port thingy seems to be working
gonna look at the keyring next - do i understand correctly that it works fine when you use the command line option, the only problem is that you cannot supply it in the config file, and you would like to be able to do that?
and would you like to supply the keyring option on a node to node basis, or should we add a new general section (or some such name), where one could set the keyring option and it would be respected for all nodes / all queries?
sorry, you caught me on vacation.
Both would work for me, although I always use -f option. So if you ask me, I would probably do it at the general section.