Adding field to existing template

(Sjaak) #1


I've got indeces name logstash-netflow-06, 07 etc (week number) and a template called netflow.

I used this script to add a field and surely the field shows up on the index pattern and when I do something like GET logstash-netflow-06 is shows the new field as well. But when I do GET _template/netflow the new field does not show up.

Did I add a new field in the correct way? I would like the field to show up on the template as well.

PUT logstash-netflow-test-*/_mapping/netflow 
  "properties": {
          "application_id_trans": {
            "type": "text",
            "fields": {
              "keyword": {
                "type": "keyword",
                "ignore_above": 256

(system) #2

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