Get logged in username from kibana scripted field and make post to api

Hello,
What I'm trying trying to do - create an URL scripted field in kibana, which should make a request to my apps API. This request should contain some id information of logged in kibana user (username or any possible unique identifier).
So I have two questions:

  1. Is it posible to acces logged in user information (username, id, etc.) from kibana scripted field?
  2. Is it possible to make request (POST ?) to some external API from URL formatted kibana scripted field?
    Thank you.
  1. Is it posible to acces logged in user information (username, id, etc.) from kibana scripted field?

No, this is not possible.

  1. Is it possible to make request (POST ?) to some external API from URL formatted kibana scripted field?

It wouldn't be possible to do a POST since the browser will always use GET for links.

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