Hey guys, I have a question on using AWSConfig in PluginMixins
I'm using an input plugin that uses AWSConfig / PluginMixins, and I'd like to use AWS STS (temporary credentials). How should I provide the temp credentials for the plugin?
Should I write a script for getting the temp credentials from aws and then put it in aws_credentials_file yaml file?
JDiPierro has quit
roxtrongo joined the channel
_JZ_ joined the channel
roxtrongo has quit
topwobble has quit
jerryitt has quit
adel has quit
roxtrongo joined the channel
techminer has quit
synthetec
torrancew: I was able to fix it by adding a mutate filter to convert "type" to "string"
pmonson has quit
The problem appeared to have been relating to the "type" field being set to either a numeric value, an array, or perhaps the log entry itsself already had a "type" field - whatever the case, applying the mutate filter and converting the field to a string seems to have resolved the problem
zeki893 joined the channel
nat2610 joined the channel
_JZ_ has quit
i'm worried we may now be dropping log messages, or going into ES in some unexpected way and appearing malformed, as it's a little unorthodox resolution .. but hey, if it works. :)
will post any other findings here that are relevant
nat2610 has quit
nat2610 joined the channel
adaam joined the channel
dirtysanchez has quit
dirtysanchez joined the channel
ramteid joined the channel
pmonson joined the channel
ideopathic joined the channel
kiste joined the channel
daito has quit
mdedetrich joined the channel
kiste has quit
kiste joined the channel
kiste has quit
zeki893 joined the channel
gentunian joined the channel
KannOx has quit
KannOx joined the channel
zeki893 joined the channel
gsharma joined the channel
jbehrends joined the channel
thomi has quit
zeki893 joined the channel
gentunian has quit
zeki893 joined the channel
daito joined the channel
zeki893 joined the channel
perry has quit
perry joined the channel
perry has quit
perry joined the channel
rotbeard joined the channel
achan joined the channel
Kallis joined the channel
derjohn_mob has quit
gcfhvjbkn joined the channel
bipul joined the channel
achan has quit
jbehrends has quit
kmq joined the channel
adaam has quit
yardenbar joined the channel
nat2610 has quit
nat26101 joined the channel
Big_G has quit
_JZ_ joined the channel
kiste joined the channel
que joined the channel
pmonson has quit
codesing joined the channel
mikran joined the channel
nat2610 joined the channel
josephholsten joined the channel
andymcgil_ joined the channel
andymcgil has quit
jbehrends joined the channel
yatin_ joined the channel
yatin_
using elasticsearch as input plugin, file as output plugin in logstash, logstash writes same data multiple times to file, can anyone tell what is causing this
cyborglone joined the channel
Kallis has quit
berglh has quit
mlanner
hi, trying to write my first grok pattern. i've got a datetime entry in a log formatted as '21/Sep/2015/00/21/58'. my intent is to take that and create a timestamp that logstash can use. would it be correct to add a new pattern in extra_patterns called, let's say, 'mypattern' and in that file use: MY_DATETIME %{MONTHDAY}[/]%{MONTH}[/]%{YEAR}[/]%{HOUR}[/]%{MINUTE}[/]%{SECOND}
or would i need to use a full regex like: MY_DATETIME \d\d[/](?:Jan(?:uary)?|Feb(?:ruary)?|Mar(?:ch)?|Apr(?:il)?|May|Jun(?:e)?|Jul(?:y)?|Aug(?:ust)?|Sep(?:tember)?|Sept|Oct(?:ober)?|Nov(?:ember)?|Dec(?:ember)?)[/]\d\d\d\d[/]\d\d[/]\d\d[/]\d\d
berglh joined the channel
dirtysanchez has quit
blubberbart joined the channel
dirtysanchez joined the channel
SkyRocknRoll joined the channel
derjohn_mob joined the channel
n473_
mlanner: the former will work, though I'm not sure about "[/]"