Changes between Version 1 and Version 2 of Logstash
- Timestamp:
- 03/09/21 03:35:40 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Logstash
v1 v2 120 120 121 121 # AirPort 122 curl -X POST -H "Content-Type: application/json" 'http://172.18.0.3:31311/twitter/tweet/1' -d '{"ID": "arl", "speed": 1.2, "Lumi": 1, "l 123 at": 13.69, "lon": 100.7501}' 122 curl -X POST -H "Content-Type: application/json" 'http://172.18.0.3:31311/twitter/tweet/1' -d '{"ID": "arl", "speed": 1.2, "Lumi": 1, "lat": 13.69, "lon": 100.7501}' 124 123 125 124 # Ra-Sa-ParkLen 126 curl -X POST -H "Content-Type: application/json" 'http://172.18.0.3:31311/twitter/tweet/1' -d '{"ID": "rpk", "speed": 1.9, "Lumi": 2, "l 127 at": 13.89534, "lon": 100.641752 }' 125 curl -X POST -H "Content-Type: application/json" 'http://172.18.0.3:31311/twitter/tweet/1' -d '{"ID": "rpk", "speed": 1.9, "Lumi": 2, "lat": 13.89534, "lon": 100.641752 }' 128 126 129 127 # Sa-mut-Pra-Karn 130 curl -X POST -H "Content-Type: application/json" 'http://172.18.0.3:31311/twitter/tweet/1' -d '{"ID": "spk", "speed": 2.1, "Lumi": 3, "l 131 at": 13.5991, "lon": 100.5998 }' 128 curl -X POST -H "Content-Type: application/json" 'http://172.18.0.3:31311/twitter/tweet/1' -d '{"ID": "spk", "speed": 2.1, "Lumi": 3, "lat": 13.5991, "lon": 100.5998 }' 132 129 133 130 # Cha-choeng-sao 134 curl -X POST -H "Content-Type: application/json" 'http://172.18.0.3:31311/twitter/tweet/1' -d '{"ID": "ccs", "speed": 2.4, "Lumi": 1, "l 135 at": 13.6904, "lon": 101.0780}' 131 curl -X POST -H "Content-Type: application/json" 'http://172.18.0.3:31311/twitter/tweet/1' -d '{"ID": "ccs", "speed": 2.4, "Lumi": 1, "lat": 13.6904, "lon": 101.0780}' 136 132 137 133 # Bang-ka-nak 138 curl -X POST -H "Content-Type: application/json" 'http://172.18.0.3:31311/twitter/tweet/1' -d '{"ID": "bkn", "speed": 1.4, "Lumi": 1, "l 139 at": 13.8528, "lon": 101.1165}' 134 curl -X POST -H "Content-Type: application/json" 'http://172.18.0.3:31311/twitter/tweet/1' -d '{"ID": "bkn", "speed": 1.4, "Lumi": 1, "lat": 13.8528, "lon": 101.1165}' 140 135 141 136 # Pra-Nom-Sara-Karm 142 curl -X POST -H "Content-Type: application/json" 'http://172.18.0.3:31311/twitter/tweet/1' -d '{"ID": "psk", "speed": 1.4, "Lumi": 1, "l 143 at": 13.744, "lon": 101.3470}' 137 curl -X POST -H "Content-Type: application/json" 'http://172.18.0.3:31311/twitter/tweet/1' -d '{"ID": "psk", "speed": 1.4, "Lumi": 1, "lat": 13.744, "lon": 101.3470}' 144 138 145 139 # KMITL 146 curl -X POST -H "Content-Type: application/json" 'http://172.18.0.3:31311/twitter/tweet/1' -d '{"ID": "kml", "speed": 1.4, "Lumi": 1, "l 147 at": 13.7299, "lon": 100.7782}' 140 curl -X POST -H "Content-Type: application/json" 'http://172.18.0.3:31311/twitter/tweet/1' -d '{"ID": "kml", "speed": 1.4, "Lumi": 1, "lat": 13.7299, "lon": 100.7782}' 148 141 149 142 }}} … … 227 220 {{{ 228 221 # AirPort 229 curl -X POST -H "Content-Type: application/json" 'http://172.18.0.3:31311/twitter/tweet/1' -d '{"ID": "arl", "speed": 1.2, "Lumi": 1, "l 230 at": 13.69, "lon": 100.7501}' 231 232 # AirPort 233 curl -X POST -H "Content-Type: application/json" 'http://172.18.0.3:8080/twitter/tweet/1' -d '{"ID": "arl", "speed": 1.2, "Lumi": 1, "l 234 at": 13.69, "lon": 100.7501}' 235 236 }}} 222 curl -X POST -H "Content-Type: application/json" 'http://172.18.0.3:31311/twitter/tweet/1' -d '{"ID": "arl", "speed": 1.2, "Lumi": 1, "lat": 13.69, "lon": 100.7501}' 223 224 # AirPort 225 curl -X POST -H "Content-Type: application/json" 'http://172.18.0.3:8080/twitter/tweet/1' -d '{"ID": "arl", "speed": 1.2, "Lumi": 1, "lat": 13.69, "lon": 100.7501}' 226 227 }}}