Get list of message fields


#1

What is the best way to get list of message fields that exist from a plugin in java?


(Jochen) #2

If you’re interested in the fields of a single message instance, you’d use Message#getFields() or Message#getFieldsEntries():

If you’re interested in the fields of all messages in Elasticsearch matching a certain search query, you’d use Indices#getAllMessageFieldsForIndices() or Indices#getAllMessageFields():


(system) #3

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