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.

Problem QueryElasticsearchHttp

Highlighted

Problem QueryElasticsearchHttp

New Contributor

Hi guys !!!

I really need help !!!

have an update attribute processor that generates two date variables. I want to replace these variables in the QueryElasticsearchHttp query. The flow runs successfully with fixed dates. Only when I replace the process does it fail.

 

Variáveis 

'$ {now (): format ("aaaa-MM-dd'T'HH: mm: ss.SSS'Z'")} '

'$ {getStateValue ("timestamp")}'


Before

registro de data e hora: [2020-06-22T10: 10: 20.502Z PARA 2020-07-22T10: 25: 25.502Z]

After

registro de data e hora: [$ {previousTimestamp} TO $ {timestamp}]

Thanks 

2 REPLIES 2

Re: Problem QueryElasticsearchHttp

Community Manager

English Translation: 

 

I really need help!

 

I have an atualização attributes processor that generates various data. I want to replace these several in the QueryElasticsearchHttp query. Or, it is executed with success with fixed data. Submit when you substitute or process falha.

 

Variáveis

'$ {now (): format ("yyyy-MM-dd'T'HH: mm: ss.SSS'Z'")} '

'$ {getStateValue ("timestamp")}'


Before

data record time: [2020-06-22T10: 10: 20.502Z FOR 2020-07-22T10: 25: 25.502Z]

 

Depois de

time and date record: [$ {previousTimestamp} TO $ {timestamp}]


obliged


Vidya Sargur, Community Manager

Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

Learn more about the Cloudera Community:

Highlighted

Re: Problem QueryElasticsearchHttp

New Contributor

@VidyaSargur  thanks

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