Graylog Absolute search API

Hello,

I am currently utilizing the Graylog Abolsolute search API in one of my application.

I am familiar that there are two options: One that provides text/csv response and one that provides application/json response.

Whenever I hit these API’s inside /api/api-browser everything is correct. However, if I try to hit the API’s outside of Graylog itself, it will always return me text/csv response.

This has been working fine for me for the last month and now it is only returning text/csv.

Any ideas as to why this has changed? I am running Graylog v2.5

Thanks,

Just wanted to give an update. I added application/json to my request header and it fixed the problem. However, I was not doing this before.

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