can an output {} block go inside of a filter {} block or no?
tassee joined the channel
tasse has quit
BaM`
ageis: nope
ageis
hrm ok so how do i have a conditional output (e.g. based on tags) instead of sending everything there?
oh, i can do if statements inside my output
heh
BaM`
output { if condition { ...
yup
also note that it will try every output
so if you have two outputs with no conditions, you will get 2x the output
same if your condition matched two outputs
*matches
which means if you have conditional output, and another output with no condition, it will use both
Scoth has left the channel
achan joined the channel
victori joined the channel
achan has quit
achan joined the channel
dino82 has quit
dino82 joined the channel
dino82 has quit
dino82 joined the channel
Darcidride__ joined the channel
piotrp_ has quit
Darcidride joined the channel
piotrp_ joined the channel
v01t joined the channel
achan joined the channel
Flyer has quit
al-damiri has quit
Zooklubba joined the channel
pcmerc has quit
pcmerc joined the channel
Flyer joined the channel
ageis
and how would i specify which network interface the output uses?
BaM`
ageis: not sure what you mean
the system should take care of that for you
ageis
so there's no setting for it
BaM`
why would you want to do that?
ageis
yeah i guess it will use the default route
let's say i have firewall rules or a private network ?
BaM`
you would need to configure yournetworking at the OS level to take care of that
e.g., multiple interfaces and routes
if it's a network-based output you would just tell it to talk to whichever IP, and your local routing will do the rest
achan joined the channel
mosulica joined the channel
keepLearning512 joined the channel
dilema joined the channel
keepLearning512 joined the channel
markeczzz joined the channel
achan joined the channel
achan joined the channel
antgel joined the channel
mosulica joined the channel
achan joined the channel
winem_ joined the channel
jsdorlus joined the channel
achan joined the channel
achan has quit
keepLearning512 joined the channel
Heartsbane has quit
keepLearning512 joined the channel
meethos joined the channel
emdashcomma has quit
emdashcomma joined the channel
elasticguest5093 joined the channel
Beams joined the channel
achan joined the channel
achan has quit
tassee joined the channel
tasse has quit
tassee is now known as tasse
elasticguest5093 has quit
Mattch joined the channel
v01t has quit
v01t joined the channel
keepLearning512 joined the channel
b10n1k joined the channel
achan joined the channel
dexta_ joined the channel
keepLearning512 has quit
keepLearning512 joined the channel
keepLearning512 has quit
cablekevin joined the channel
keepLearning512 joined the channel
hardbot has quit
ubikite joined the channel
keepLearning512 joined the channel
keepLearning512 joined the channel
volter has quit
achan joined the channel
achan has quit
mosulica has quit
antgel has quit
mosulica joined the channel
Rumbles joined the channel
Rumbles has quit
keepLearning512 joined the channel
Norrland joined the channel
dilema has quit
ubikite
hi all. i've setup ELK 6.3 stack. i've been trying to process nginx logs with request_time and upstream_response_time but i couldn't succeed. any suggestions?
Guest73579 is now known as dmilith
achan joined the channel
achan has quit
logstash004 joined the channel
Norrland has left the channel
SkyRocknRoll joined the channel
logstash004 has quit
markeczzz has quit
volter joined the channel
keepLearning512 has quit
keepLearning512 joined the channel
barbie_ joined the channel
barbie_ has quit
Sandcrab joined the channel
achan joined the channel
Guest_with_Quest joined the channel
Guest_with_Quest
HI Guys, wondering if anyone could help me out with this one...
Intalled logstash 6.3 from repo on centos 7.5
did a bin/logstash-plugin install logstash-filter-prune, which installed successfully, I can see package in installed list
but still getting errors when trying to use it...
[2018-07-04T15:59:47,491][ERROR][logstash.plugins.registry] Tried to load a plugin's code, but failed. {:exception=>#<LoadError: no such file to load -- logstash/filters/prune>, :path=>"logstash/filters/prune", :type=>"filter", :name=>"prune"}
any help would be massively appreciated
mosulica has quit
SkyRocknRoll joined the channel
FracKen joined the channel
Darcidride has quit
would be useful if somewhere in the documentation it would say that after installation of a plugin you need a restart of the logstash service.