stamparm / maltrail

Malicious traffic detection system
MIT License
5.94k stars 1.02k forks source link

api:how to curl maltrail info #19222

Closed andyoulovexy closed 7 months ago

andyoulovexy commented 7 months ago

I want to curl severity and so on?how to get it in commandline? 图片

MikhailKasimov commented 7 months ago

Hello! You want to pass maltrail info to some external log-collector, right?

andyoulovexy commented 7 months ago

Hello! You want to pass maltrail info to some external log-collector, right?

I just want to get severity ,src_ip,src_port info and so on by comandline

MikhailKasimov commented 7 months ago

Something like curl -X POST <link> -H "severity" -H "src_ip" ... - H "what is needed"

andyoulovexy commented 7 months ago

Something like curl -X POST <link> -H "severity" -H "src_ip" ... - H "what is needed" Yes

stamparm commented 7 months ago

duplicate of #19223