Skip to content

Conversation

@cq-bot
Copy link

@cq-bot cq-bot commented Nov 1, 2025

This PR contains the following updates:

Package Type Update Change
github.com/bshuster-repo/logrus-logstash-hook require minor v1.0.0 -> v1.1.0

Release Notes

bshuster-repo/logrus-logstash-hook (github.com/bshuster-repo/logrus-logstash-hook)

v1.1.0

Compare Source

Move to RFC3339Nano as the default timestamp format in the logstash JSON.
In case you want to use RFC3339 (the old one) set the formatter in the following way:

logstashFieldMap := logrus.Fields{"@​version": "1", "type": "log"}
fields := logrus.FieldMap{
	logrus.FieldKeyTime: "@​timestamp",
	logrus.FieldKeyMsg:  "message",
}
logstashFmt := LogstashFormatter{
		Formatter: &logrus.JSONFormatter{
			FieldMap:        logstashFieldMap,
			TimestampFormat: time.RFC3339,
		},
		Fields: fields,
	}

logrustashHook := logrustash.New(conn, logstashFmt)

v1.0.2

Compare Source

fix module naming in go.mod from bshuster-repo/logrus-logstash-hook to github.com/bshuster-repo/logrus-logstash-hook

v1.0.1

Compare Source

Add support to entry caller in Logstash JSON.

When ReportCaller is set to true through logrus Logger the filename and function name will be added to the Logstash JSON as "file" and "function" respectively.


Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@cq-bot cq-bot added the automerge Add to automerge PRs once requirements are met label Nov 1, 2025
@github-actions github-actions bot added the dependencies Pull requests that update a dependency file label Nov 1, 2025
@cq-bot cq-bot force-pushed the renovate/github.com-bshuster-repo-logrus-logstash-hook-1.x branch from 9894725 to b260aa0 Compare November 3, 2025 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Add to automerge PRs once requirements are met dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants