Indexing lengthy strings as a dimension into Druid


For a particular use case, I need to store a “lengthy” string into druid. By lengthy, I mean it could run into 80-200 characters in length.

Example: Say, I want to ingest description of an error into druid. This would look kind of like a stack trace.

Is it possible and advisable? If not, what are the alternatives?


I have similar use case and I’m ingesting strings as dimensions and Druid is working pretty well so far. Will share more details and stats once I have.

If I remember correctly, Druid converts the dimension to a file and unix has a maximum of filename of 255 characters. But I could be totally wrong.

Ours works fine with string of 4000 characters as well.