Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

uploading files to HandleHttpRequest processor cannot set flowfile name with header

Highlighted

uploading files to HandleHttpRequest processor cannot set flowfile name with header

Rising Star

Hi,

When i try to ingest a file through REST using HandleHttpRequest processor my flowfile name doesnt reflect the header filename i try to specify

my curl command

curl -k -H "filename: messages" -F "data=@/var/log/messages" https://remotehost:9992/ingest

my HandleHttpRequest are configured as

Allow GET true 
Allow POST true
Allow PUT true
Allow DELETE true
Allow HEAD true
Allow OPTIONS true

Shouldnt my header values be reflected in flowfile attributes ?

Don't have an account?
Coming from Hortonworks? Activate your account here