How to setup a HTTP Source for testing Flume setup?

前端 未结 3 1347
逝去的感伤
逝去的感伤 2020-12-29 10:12

I am a newbie to Flume and Hadoop. We are developing a BI module where we can store all the logs from different servers in HDFS.

For this I am using Flume. I just st

3条回答
  •  伪装坚强ぢ
    2020-12-29 10:53

    Try this :

    curl -X POST -H 'Content-Type: application/json; charset=UTF-8' -d '[{"username":"xrqwrqwryzas","password":"12124sfsfsfas123"}]' http://yourdomain.com:81/

提交回复
热议问题