hey, I am trying to change the default embedded port of elastic search..
EyePulp
so I have this event hitting logstash, and in kibana I want to create a histogram with two lines - one from the messages.per_second total, and one from connections.per_second -- can I do a single histogram w/ multiple lines from the same events?
freezey has quit
roothacker
I have added the embedded_http_port property in logstash.conf, though I still get an error in the kibana dashboard for not being able to connect to the 9200 port
what else am I missing?
EyePulp
roothacker: do you have something like ufw running (or another firewall)
electrical
EyePulp: not sure if that's currently possible but i remember there is or was ( not sure if it was merged ) PR for it to enable that feature. best is to look into the PR list of kibana
viddy_ff joined the channel
EyePulp
electrical: thanks - I'll take a look
electrical
np
l3lu3
some care to look at this and point me in the right direction? this on freebsd10 with openjdk6 http://pastebin.com/ADzjPzm6
google turned up another user using solaris and seemed to be a prob w/ a 32bit vs 64bit java issue
dszydlowski joined the channel
rofl____ joined the channel
timmow joined the channel
kepper joined the channel
thorrsson joined the channel
grahamha_ joined the channel
pblittle has quit
dszydlowski has quit
rufus_t joined the channel
MindfulMonk has left the channel
roothacker
@Eyepulp: nope, there is no firewall running on my machine that blocks 81 port, also when i do http://localhost:81/_status it displays the Elastic Search index status
phil_helmer joined the channel
rofl____ has quit
EyePulp
roothacker: port 9200 needs to be open in order for you to hit ES, unless you're running ES on a different port, in which case you need to edit kibana to point to the correct host & port
mapop joined the channel
roothacker
EyePulp: I have firewall in another location which blocks port 9200, which is why I was trying to change the elastic search embedded port
EyePulp
roothacker - that's fine, the key is that you need to have an open line between kibana on the client side and ES on a server.
and kibana needs to be told what host/port to reach ES at
timmow has quit
l3lu3
anyone?
roothacker
EyePulp: how should I tell Kibana that I am running Elastic Search on port 81, when I am running Kibana through Logstash ?
EyePulp
You edit the config.js file that kibana serves up.
mapop has quit
rufus_t has quit
rofl____ joined the channel
roothacker
EyePulp: how should I override the config.js served by Kibana inside LogStash?
I mean packaged inside LogStash
kepper has quit
kepper joined the channel
do I need to specify through Nginx.conf (in my case), to serve different config.js ?
roothacker: trying to futz with the baked in logstash version seemed like more trouble than it was worht when I really just need to serve up some static html/js files
(in my situation, that is)
lynnroth has quit
roothacker
EyePulp: hmm, I get your point, thanks, will try
kjstone00 joined the channel
EyePulp
roothacker: that being said, are you sure that the kibana files that come with logstash aren't sitting unzipped on your drive someplace in order to be served up?
lynnroth joined the channel
EyePulp doesn't know one way or the other. =(
kuku
electrical: I have a multi line message ( json export ) that I would like to log, so if store it in a log then I have to write a complex parser, so I would like to have the option of sending the message to logstash directly
from php
roothacker
EyePulp the directory in which I run logstash creates a single folder by the name data containing elasticsearch data
viddy_ff has quit
freezey joined the channel
EyePulp
roothacker: bite the bullet and download the kibana zip. =) you'll be past this issue in no time
freezey has quit
roothacker
EyePulp: doing the same now, will update if I find a better solution
kepper has quit
kjstone00 has quit
stackedsax1 joined the channel
nicholasf joined the channel
pblittle joined the channel
viddy_ff joined the channel
dsun has quit
viddy_ff
Dunno if its any use to anyone, but I packaged redis as a rpm: https://github.com/uow-dmurrell/redis-centos - the spec file is a fork of someone else's work, I just updated it to work with the new version + a few little sysadmin type fixes
kuku: ah okay. hmm. not sure if its possible. in general we expect in LS the json message to be a single line.( json_lines codec ) not sure if the normal json codec understands a multiline json message
kuku: an other solution would be to send it as plain text, use the multiline filter to make the separate lines into a single event. then use the json filter to translate the content of that into json.
kepper joined the channel
viddy_ff has quit
EyePulp
electrical: I think this is the PR that would solve my multiple-plots from multiple event properties in a singel historgram issue. Sounds like it's not settled yet. https://github.com/elasticsearch/kibana/pull/374
logstashbot
Title: Enable histogram panel to plot multiple fields by tvvmb · Pull Request #374 · elasticsearch/kibana · GitHub (at github.com)
electrical
EyePulp: ahh okay.
lets hope it will get merged soon
kuku
electrical: Is there a way to "unserialize" the message in elasticsearch /
electrical
kuku: how do you mean? unserialize the message?
EyePulp
electrical: yeah, it would make for some pretty charts. =)
grahamha_ has quit
stackedsax1 has quit
stackedsax1 joined the channel
zimbatm joined the channel
electrical
EyePulp: defo :-)
ktk is now known as ktkNA
roothacker has quit
thoht
i ve log with directly the country name in log in a field, can i use geoip ?
smerrill is now known as smerrill-offline
electrical
thoht: geoip filter only gets the info based on the IP address.
or do you mean the maps in kibana?
thoht
yes the map in kibana
so i don t need to use geoip
i can check on the net the latitude/longitude of the 6 town i got as value
electrical
ah okay. euhm. if those are the short names ( UK, NL, etc ) it should work i think.
thoht
electrical: do you have an example of values expected in the field ?
oh
directly country letter
electrical
i believe the short names are used. let me double check
thoht
Displays a map of shaded regions using a field containing a 2 letter country , or US state, code. Regions with more hit are shaded darker. Node that this does use the Elasticsearch terms facet, so it is important that you set it to the correct field
so i got FR, DE, IT, UK, BE, ES, NL
should be good
electrical
thoht: from the docs "Displays a map of shaded regions using a field containing a 2 letter country name"