这是我的定义:
@Store(type="elasticsearch", hostname="localhost", username="elastic", password="changeme", port='9200', index.name = 'frauds', index.type='_doc')
define table FraudIndex (timestamp long, creditCardNo string, suspiciousTrader string, amount double, currency string);
这是我的查询:
@info(name='SuspiciousTradeES')
from TradeStream as t join FraudTable as f
on t.creditCardNo == f.creditCardNo
select eventTimestamp() as timestamp, t.creditCardNo, t.trader as suspiciousTrader, t.amount as amount, t.currency as currency
insert into FraudIndex;
不幸的是,Kibana 无法识别和时间字段,因为它是一个“数字”。
我应该如何以可能的时间戳结束?
编辑:我还可以添加一个问题,我如何使用 WSO2SI 中的地图和 geo_point 类型?