corentinaltepe / nlog.loki

NLog target for Loki using an HTTP client
BSD 3-Clause "New" or "Revised" License
22 stars 7 forks source link

Logs are not pushed to the grafana cloud #115

Closed mcgiany closed 6 months ago

mcgiany commented 6 months ago

Hi,

i tried your library to push logs into grafana cloud, but it just doesnt work and i cant figure out why. Followed your tutorial added extension and target into nlog.config Setup endpooint, username, password (token with write permissions) Logs are only write into file and console targets. In nlog internal log there is only this: Warn Unused target detected. Add a rule for this target to the configuration. TargetName: loki

mcgiany commented 6 months ago

OK, my bad. I didnt add the rule