you should never, under any circumstances, edit that file
it's comppiled
rastro
Guest36640: next line: json/ext/Parser.java
torrancew
generated from simpler code that you won't find in vendor
rastro
Guest36640: we were just complaining about json's lack of comment support!
torrancew
again, you should honestly take 5 minutes, disable ls-web, install nginx and point a docroot at kibana - it will save you so much pain, and win you so much flexibility (and quite possibly, initial loads of kibana will be faster)
I don't know why it worked or didn't work when you did what you did, because that's an unintended action, that we considered impossible until recently (you'd have to explode the jar in past releases)
we're hanging out in non-determinism land
lorens has quit
rastro
Guest36640: oops, maybe i got lost in your stacktrace.
Guest36640: "LoadErrror: no such file to load -- jmx4r"
Poogles has quit
torrancew
I ran ls-web for about 6 months, due to laziness
and I could not believe how foolish I had been, when I finally deployed it on its own
kanarip has quit
nat26101 joined the channel
(separating it also allows you to sanely secure it)
nat2610 has quit
Habitual
on Ubuntu 14.04.1 LTS with logstash 1.4.2-1-2c0f5a1 (part of my ELK stack), if I run service logstash start, I get no data in the Kibana dashboard, but if I run /opt/logstash/bin/logstash -f /etc/logstash/conf.d/logstash.conf, I do get data. Can someone help me out?
Guest36640
yes, we cant understand that line
I think we don't adequately understand what this plugin can and cannot do.
rastro
Habitual: what is the init script actually running?
torrancew
Habitual: couple o fthings: 1) Ubuntu uses upstart, and logstash ships both upstart and sysv scripts (not the typical upstart wrappers) - try "start logstash", "stop logstash", "restart logstash" for a bit, see how they work
the othe rthing to check is permissions
sorry for the typos, laggy network
wrath0r joined the channel
Guest36640
I have a jmx json file at that path that I have been told to use to grab performance data about logstash - but thats what I get...
torrancew
Guest36640: how did you install logstas-contrib?
chthon has quit
zbp joined the channel
Guest36640
I just took the jxm.rb file and dropped it into the input folder (windows)...
torrancew
aha
yeah, you need to install logstash-contrib in full
Guest36640
There are posts saying that it hadn't been installed properly
torrancew
it has other dependencies on that package
Habitual
rastro: You'll have to clarifiy that Q. it's the stock init script supplied by the .deb.
Guest36640
We noticed those
But as we are on Windows and using Logstash 1.4.2 it seemed moot?
bradgignac has quit
torrancew
Guest36640: highly unlikely
mkaesz has quit
contrib is not intended to be cherry-picked from
there are embedded gems and such in there, that some plugins depend on
and that's exactly what you're seeing
jmx4r == jmx 4 ruby
Habitual
start logstash
logstash start/running, process 25942 and lsof -p 25942 is empty.
is-mw has quit
typo
lsof -p 25942 is empty
torrancew
Habitual: time to check the logstash logs, permissions on those logs, adn the user pid 25942 is running as
rastro
Guest36640: yup, you need jmx4r installed the way LS is expecting it.
kanarip joined the channel
avelldiroll joined the channel
Guest36640
Okay. Damn.... sorry guys.... you know what I'm going to ask now eh? How??
zeroecco joined the channel
torrancew
Guest36640: on windows, not sure, but I think we have a wrapper script for it in bin/ ?
rastro
Habitual: the script may be providing flags that are different than what you're setting on the command line. comparing those might help. also, as always, listen to torrancew.
Guest36640
I thought those instructions were Mac/Unix only....
ah Okay...
torrancew
Not sure - Not a windows user :/
Guest36640
I have to go now to pick up my wee one,,, will try from home later. THANK YOU VERY MUCH!!
Habitual
logstash logstash 0 Oct 22 06:34 logstash.log
torrancew
np, and good luck!
so empty log file, Habitual -- what user do you run it as from the CLI?
Guest36640 has quit
Habitual
the manual method with -f I'm running as root.
zwi has quit
torrancew
ok, so question - you listening on any ports < 1024?
zwi joined the channel
Habitual
torrancew: there's several listening ports < 1024 but java isn't one of them.
torrancew
I know that's not what's /happenin/g
but what did you configure?
Habitual
I have a logstash.conf in /opt/logstash/ and /etc/logstash/conf.d and they identical.
mrsolo has quit
torrancew
Habitual: what I'm getting at is, that if you configured LS to listen to any ports < 1024, it won't work as the logstash user
try running your manual command as that user, to see what is happening, pehraps
szhem joined the channel
lofic
how come I have a tag=false on my messages ?
torrancew
lofic: not enough data
phtwo joined the channel
would need to see configs, possibly sample messages, logs, etc
Habitual
torrancew: is su - logstash -c "/opt/logstash/bin/logstash -f /etc/logstash/conf.d/logstash.conf" sufficient?
torrancew
maybe, but why not just get a login shell, then run it?
why half-hog it, I say :)
lofic
OK I polish the config and paste
Habitual
well, the deb did this: logstash:x:999:999:LogStash Service User:/var/lib/logstash:/sbin/nologin
Habitual: can I get some version of the config? (Sanitizing hostnames or whatever is ok, but try to preserve context - changing 14 different strings to 'foo' will just confuse me greatly)