Call json processor from script processor

Hi all!

Is it possible in ingest pipeline to call JSON Processor from Script Processor ?

Something like this:

{
  "script": {
    "lang": "painless",
    "source": "ctx.field_json = **JSON_Processor_here**(params.param_str)",
    "params": {
      "param_str": "{\"key\":\"WebSite\",\"value\":\"myhost.com\"}"
    }
  }
}

Thanks,
Mike

This will be possible in 6.4.0 thanks to https://github.com/elastic/elasticsearch/pull/32170

Thats great! Really thanks to original_bear.
@rjernst, may be a silly question, but is there any information on release dates of 6.4.0?

Answering to myself to close the question: based on previous release dates it appears to be 2 to 4 months between releases. Thus, let it be September or October :slight_smile:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.