send_headers should work for both response and request. What version of Packetbeat are you using? I have tried the latest Packetbeat version and it works just fine for me. Can you please make sure the HTTP request contains such a header? Thanks!
I have version 1.3.1. And yes, I can see the header in the response if send_all_headers option is on.
Ok, if this option should work with a both way, I'll try to test it again.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.