Kettle输入 拉入一个Json输入; 拉一个Excel输出
新建test.js文件json数据拷贝进去:
- {
- "buriedPointId": "90c0fda26921473f9d52754371964a5f79dGa4a9",
- "cmd": "test",
- "classRandom": 2102131326,
- "osType": 1,
- "version": "1.0.0",
- "versionCode": 1,
- "channel": "hzdracom",
- "timestamp": 1432741807073,
- "data": "\"type\":2,\"phone\":\"13136173809\"}",
- "hashcode": "024CA42581BE63BA5B90CD588D455FC7",
- "device": "{\"imei\":\"111111111111111\",\"manufacturer\":\"HUAWEI\",\"model\":\"C8600\"}",
- "clientType": "server"
- }
Json输入设置:浏览文件路径,加入选中文件;
设置字段,字段路径等;
预览表;
设置Excel输出
执行完成。