Title
#fleet
Eric23

Eric23

05/21/2022, 1:39 AM
Hi, I'm trying the new option kafkarest​_content​_type​_value (from version 4.12.0) with the string 'application/vnd.kafka.json.v2+json'. I'm using the binary version 4.14.0. Command line :
fleet serve --mysql_address=127.0.0.1:3306 --mysql_database=fleet --mysql_username=root --mysql_password=password --redis_address=127.0.0.1:6379 --server_cert=/root/Fleet/cert.pem --server_key=/root/Fleet/privkey.pem --logging_json --server_address=0.0.0.0:443 --kafkarest_proxyhost=<http://10.0.0.30:30082> --kafkarest_result_topic=osquery --osquery_result_log_plugin=kafkarest --kafkarest​_content​_type​_value='application/vnd.kafka.json.v2+json'
Error message :
Failed to start: running root command: unknown flag: --kafkarest​_content​_type​_value
Any ideas, thanks.
Tomas Touceda

Tomas Touceda

05/23/2022, 1:38 PM
hi there, I'm trying to see what might be off in your flags, and it's weird. If I copy and past your flag, it seems it has some weird char in it before the _
1:38 PM
try this:
--kafkarest_content_type_value
instead
Eric23

Eric23

05/23/2022, 2:21 PM
yes. confirmed. it was a strange character inside
--kafkarest_content_type_value
. it was a copy/paste from the doc website or github ! thanks a lot. btw : i used the config.yaml file and it worked .