#logstash

/

      • b10n1k has quit
      • b10n1k joined the channel
      • notebox joined the channel
      • notebox has quit
      • hugh_jass joined the channel
      • devster31 joined the channel
      • devster31 has quit
      • flowstategames joined the channel
      • notebox joined the channel
      • kcas_ has quit
      • alealeale joined the channel
      • alealeale
        hey guys
      • v01t has quit
      • v01t joined the channel
      • we've just been trying logstash 5.4.3 and it seems infinite slower to process messages than with our "old" (current) logstash (1.5.x) version ... has anyone had similar experience ? what did you do to "fix" it ?
      • s/messages/events/ ;)
      • hugh_jass joined the channel
      • achan joined the channel
      • i know it's a little vague... but the setup is actually quite simple ... logstash-shipper (still 1.5.x) (lumberjack output) -> (lumberjack-input) logstash-indexer 5.4.3 (elasticsearch-output) -> ES
      • LJ23 has quit
      • hugh_jass joined the channel
      • alealeale has quit
      • flowstategames has quit
      • hugh_jass joined the channel
      • LJ23 joined the channel
      • LJ23 has quit
      • MajPotatohead joined the channel
      • MajPotatohead has quit
      • MajPotatohead joined the channel
      • hugh_jass joined the channel
      • notebox joined the channel
      • notebox has quit
      • ambrose
        Hi I have a new Logstash install from .deb on Ubuntu 16, trying to read FreeRADIUS log but getting permission denied. I tried adding logstash user to freerad group but still permission denied. What's the recommended way to allow access? I tried setting LS_USER='root' in /etc/default/logstash and /etc/logstash/startup.options but still it can't read it
      • When I start logstash manually (./bin/logstash --path /etc/logstash) then it works fine, but not when starting from 'service logstash start'
      • BaM`
        ambrose: if you installed logstash from a deb it should be trying to run as the logstash user
      • if you've started it as root from the cmdline then you've probably messed up permissions somewhere
      • most likely a log file
      • s/permissions/ownership
      • I wouldn't recommend starting the service as root at any rate
      • it's fine how it is
      • ambrose
        BaM`: how to fix this? https://paste.ubuntu.com/25014720/
      • BaM`
        what's the group ownership of that file?
      • ambrose
        Freeradius creates new files daily with permissions -rw------- 1 freerad freerad
      • BaM`
        usermod -a -G logstash freerad
      • uh, except that file mode is 600
      • ambrose
        BaM`: ok thx just ran that
      • BaM`
        so that won't help
      • ambrose
        oh ok
      • BaM`
        the file needs to be at least 640 for that to work
      • ambrose
        The files are created that way by freeradius?
      • BaM`
        freeradius might have an option to set the mode on write
      • also, if it's writing a new file every day, logstash is going to end up with a massive sincedb file after a while
      • because it's going to record its place in every file it comes across
      • ambrose
        ok?
      • it's a problem?
      • BaM`
        it could be
      • I don't have any experience with that exact case, because none of our log files are written like that - with the date in the name
      • but logstash is going to record it's place in the file, and then never use that info again
      • but start a new sincedb entry for the next day's log file
      • ambrose
        Well it wont be a problem if I can't get Logstash to read the file :p
      • BaM`
        so every day the sincedb file gets bigger instead of just being modified
      • you can try doing setgid on the log file directory