-
Notifications
You must be signed in to change notification settings - Fork 0
/
forex.conf
22 lines (20 loc) · 5.25 KB
/
forex.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
input {
exec {
command => 'GET https://forex.1forge.com/1.0.1/quotes?pairs=AUDEUR,AUDGBP,AUDINR,AUDRON,AUDRUB,AUDZC,AUDXAU,AUDNG,AUDCL,AUDXPD,AUDXPT,AUDXAG,AUDNZD,AUDCAD,AUDCHF,AUDJPY,AUDMXN,AUDPLN,AUDSGD,AUDTRY,AUDZAR,AUDUSD,EURAUD,EURGBP,EURINR,EURRON,EURRUB,EURZC,EURXAU,EURNG,EURCL,EURXPD,EURXPT,EURXAG,EURNZD,EURCAD,EURCHF,EURJPY,EURMXN,EURPLN,EURSGD,EURTRY,EURZAR,EURUSD,GBPAUD,GBPEUR,GBPINR,GBPRON,GBPRUB,GBPZC,GBPXAU,GBPNG,GBPCL,GBPXPD,GBPXPT,GBPXAG,GBPNZD,GBPCAD,GBPCHF,GBPJPY,GBPMXN,GBPPLN,GBPSGD,GBPTRY,GBPZAR,GBPUSD,INRAUD,INREUR,INRGBP,INRRON,INRRUB,INRZC,INRXAU,INRNG,INRCL,INRXPD,INRXPT,INRXAG,INRNZD,INRCAD,INRCHF,INRJPY,INRMXN,INRPLN,INRSGD,INRTRY,INRZAR,INRUSD,RONAUD,RONEUR,RONGBP,RONINR,RONRUB,RONZC,RONXAU,RONNG,RONCL,RONXPD,RONXPT,RONXAG,RONNZD,RONCAD,RONCHF,RONJPY,RONMXN,RONPLN,RONSGD,RONTRY,RONZAR,RONUSD,RUBAUD,RUBEUR,RUBGBP,RUBINR,RUBRON,RUBZC,RUBXAU,RUBNG,RUBCL,RUBXPD,RUBXPT,RUBXAG,RUBNZD,RUBCAD,RUBCHF,RUBJPY,RUBMXN,RUBPLN,RUBSGD,RUBTRY,RUBZAR,RUBUSD,ZCAUD,ZCEUR,ZCGBP,ZCINR,ZCRON,ZCRUB,ZCXAU,ZCNG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{ codec => rubydebug }
elasticsearch {
index => "quote-%{+YYYY.MM.dd}"
}
}