The config of source code:

Error message:

elk Kibana Index:

I hope that I can specify different indexes according to the project.
Think you should take this to the support forum of LogStash for how to setup Index.
The NLog Network Target has no direct support for configuration of index (As you have discovered yourself).
Think you should take this to the support forum of LogStash for how to setup Index.
Agree on this. We won't maintain Kibina/Logstash.
Closing this as we haven't the knowledge to help you on this one.
OK, I have solved it. Thank you very much
Maybe share the solution you found? It might help others :)
Hi @moyuanhui ,
Could you please share your solution for enabling index for Elastic Search. I am trying the same for Splunk index
@sujivisva Different solutions for Splunk:
Hi @snakefoot
Thanks for your response.
I am trying to do the Network target but with UDP protocol.
name="Splunk"
address="udp://
newLine="true"
layout="${level}|${logger}|${message}|{exception:format=tostring}">
However am not able to view any logs in splunk.
The problem is, I have a custom index created in splunk, not a default one.
How can I mention the index part in NLog network target configuration?
@sujivisva This place is mostly issue about NLog, and not so much about communication-protocols with random external-systems like Splunk or Elastic. Maybe try Splunk-support-forum or StackOverflow?
Hi @snakefoot ,
Thanks.!
This particular topic is about what I am trying to do exactly. And @moyuanhui has mentioned that he has solved the problem. Thats why trying to get his solution.
Most helpful comment
Maybe share the solution you found? It might help others :)