How to convert http request to keyword type

Hi All,

I have a packetbeat elastic kibana setup. i want to download captured http.requests.body and http.response.body via kibana data downloads functionality. So i used kibana data table visualization option to display the data on UI and let users down load them. The problem I am facing is we can add responses only but not requests to the data table. The reason for the issue is requests has the text type and responses have keyword type.
how can I change request type from text to keyword allow requests to be downloadable?

Hi @nuwancs,

Thanks for your report, I've submitted a fix for this issue

In order to fix your problem you're going to have to reindex your data with the correct mapping. See https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html

1 Like

I managed to fix the issue by changing the fields.yml file. Had to change request type from text to keyword.

thanks, @adrisr for the response. even though your answer didn't fix my problem, I managed to find a solution based on your answer.

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