In HTTP request, getting token directly in text response without any field. Then how would I extract that token in Cribl REST collector authentication.
Yaa <@U04PA0YAW2K>True, was just wondering as i have also came across the text response so how it would be extracted in Cribl ? <@U03KND56HLL> <@U01LSBF5953> can you please help us with the same?
Here is an example authenticating against the crowdstrike api to get a bearer token.
Thanks <@U03KND56HLL> but in our api we are getting the response in text and not in json. So,how to extract that text value?
<@U051H0G2AFL> what is the API you are connecting to?
<@U04PA0YAW2K> what is the API you are connecting to?
I am not using crowdstrike API. I cannot provide the api which I am using but the Content-Type of the response is text/plain so then how can I configure that in Cribl?
This is not supported today. There is already an enhancement request for this: CRIBL-10906
Reply
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.