markmcdowell / NLog.Targets.ElasticSearch

NLog target for Elasticsearch
MIT License
176 stars 89 forks source link

Questions regarding Keyword Fields #154

Open thetestgame opened 2 years ago

thetestgame commented 2 years ago

We need to pass our host machine name with each log message, however Elastic is complaining the field is not a "Keyword". We are not currently sure how to achieve this with the current setup.

new Field { Name = "host.hostname", Layout = "${machinename}" },

Is there documentation available somewhere for this?

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.