Bump the monthly-updates group with 2 updates (#121)
Bumps the monthly-updates group with 2 updates: actions/checkout and ruby/setup-ruby.
Updates
actions/checkoutfrom 7.0.0 to 7.0.1Release notes
Sourced from actions/checkout's releases.
v7.0.1
What's Changed
- skip running unsafe pr check if input is default by
@aiqiaoyin actions/checkout#2518- trim only ascii whitespace for branch by
@aiqiaoyin actions/checkout#2521- escape values passed to --unset by
@aiqiaoyin actions/checkout#2530- Various dependency updates
Full Changelog: https://github.com/actions/checkout/compare/v7...v7.0.1
Changelog
Sourced from actions/checkout's changelog.
Changelog
v7.0.1
- Skip running unsafe pr check if input is default by
@aiqiaoyin actions/checkout#2518- Trim only ascii whitespace for branch by
@aiqiaoyin actions/checkout#2521- Escape values passed to --unset by
@aiqiaoyin actions/checkout#2530- Various dependency updates
v7.0.0
- Block checking out fork PR for pull_request_target and workflow_run by
@aiqiaoyin actions/checkout#2454- Various dependency updates
v6.0.3
- Fix checkout init for SHA-256 repositories by
@yaananthin actions/checkout#2439- fix: expand merge commit SHA regex and add SHA-256 test cases by
@yaananthin actions/checkout#2414v6.0.2
- Fix tag handling: preserve annotations and explicit fetch-tags by
@ericsciplein actions/checkout#2356v6.0.1
- Add worktree support for persist-credentials includeIf by
@ericsciplein actions/checkout#2327v6.0.0
- Persist creds to a separate file by
@ericsciplein actions/checkout#2286- Update README to include Node.js 24 support details and requirements by
@salmanmkcin actions/checkout#2248v5.0.1
- Port v6 cleanup to v5 by
@ericsciplein actions/checkout#2301v5.0.0
- Update actions checkout to use node 24 by
@salmanmkcin actions/checkout#2226v4.3.1
- Port v6 cleanup to v4 by
@ericsciplein actions/checkout#2305v4.3.0
- docs: update README.md by
@motssin actions/checkout#1971- Add internal repos for checking out multiple repositories by
@mouismailin actions/checkout#1977- Documentation update - add recommended permissions to Readme by
@benwellsin actions/checkout#2043- Adjust positioning of user email note and permissions heading by
@joshmgrossin actions/checkout#2044- Update README.md by
@nebuk89in actions/checkout#2194- Update CODEOWNERS for actions by
@TingluoHuangin actions/checkout#2224- Update package dependencies by
@salmanmkcin actions/checkout#2236v4.2.2
url-helper.tsnow leverages well-known environment variables by@jww3in actions/checkout#1941- Expand unit test coverage for
isGhesby@jww3in actions/checkout#1946v4.2.1
- Check out other refs/* by commit if provided, fall back to ref by
@orhantoyin actions/checkout#1924... (truncated)
Commits
3d3c42eprep v7.0.1 release (#2531)2880268escape values passed to --unset (#2530)12cd223trim only ascii whitespace for branch (#2521)62661c4skip running unsafe pr check if input is default (#2518)e8d4307Bump the minor-actions-dependencies group with 2 updates (#2499)631c942eslint 9 (#2474)4f1f4aeBump actions/upload-artifact from 4 to 7 (#2476)ba09753Bump actions/checkout from 6 to 7 (#2488)b9e0990Bump docker/login-action from 3.3.0 to 4.2.0 (#2479)e8cb398Bump docker/build-push-action from 6.5.0 to 7.2.0 (#2478)- Additional commits viewable in compare view
Updates
ruby/setup-rubyfrom 1.315.0 to 1.321.0Release notes
Sourced from ruby/setup-ruby's releases.
v1.321.0
What's Changed
- Add jruby-10.1.1.0 by
@ruby-builder-botin ruby/setup-ruby#932Full Changelog: https://github.com/ruby/setup-ruby/compare/v1.320.0...v1.321.0
v1.320.0
What's Changed
- Update CRuby releases on Windows by
@ruby-builder-botin ruby/setup-ruby#931Full Changelog: https://github.com/ruby/setup-ruby/compare/v1.319.0...v1.320.0
v1.319.0
What's Changed
- Add ruby-3.3.12 by
@ruby-builder-botin ruby/setup-ruby#930Full Changelog: https://github.com/ruby/setup-ruby/compare/v1.318.0...v1.319.0
v1.318.0
What's Changed
- Update CRuby releases on Windows by
@ruby-builder-botin ruby/setup-ruby#929Full Changelog: https://github.com/ruby/setup-ruby/compare/v1.317.0...v1.318.0
v1.317.0
What's Changed
- Add ruby-4.0.6 by
@ruby-builder-botin ruby/setup-ruby#928Full Changelog: https://github.com/ruby/setup-ruby/compare/v1.316.0...v1.317.0
v1.316.0
What's Changed
- Update CRuby releases on Windows by
@ruby-builder-botin ruby/setup-ruby#926Full Changelog: https://github.com/ruby/setup-ruby/compare/v1.315.0...v1.316.0
Commits
Dependabot will resolve any conflicts with this PR as long as you don’t alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency’s major version (unless you unignore this specific dependency’s major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency’s minor version (unless you unignore this specific dependency’s minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditionsSigned-off-by: dependabot[bot] support@github.com Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
Grok Parser for Fluentd
This is a Fluentd plugin to enable Logstash’s Grok-like parsing logic.
Requirements
What’s Grok?
Grok is a macro to simplify and reuse regexes, originally developed by Jordan Sissel.
This is a partial implementation of Grok’s grammer that should meet most of the needs.
How It Works
You can use it wherever you used the
formatparameter to parse texts. In the following example, it extracts the first IP address that matches in the log.If you want to try multiple grok patterns and use the first matched one, you can use the following syntax:
Multiline support
You can parse multiple line text.
You can use multiple grok patterns to parse your data.
Fluentd accumulates data in the buffer forever to parse complete data when no pattern matches.
You can use this parser without
multiline_start_regexpwhen you know your data structure perfectly.Configurations
See also: Config: Parse Section - Fluentd
time_format (string) (optional): The format of the time field.
grok_pattern (string) (optional): The pattern of grok. You cannot specify multiple grok pattern with this.
custom_pattern_path (string) (optional): Path to the file that includes custom grok patterns
grok_failure_key (string) (optional): The key has grok failure reason.
grok_name_key (string) (optional): The key name to store grok section’s name
multi_line_start_regexp (string) (optional): The regexp to match beginning of multiline. This is only for “multiline_grok”.
grok_pattern_series (enum) (optional): Specify grok pattern series set.
legacy.<grok> section (optional) (multiple)
time.Examples
Using grok_failure_key
This generates following events:
Using grok_name_key
This will add keys like following:
grok_name: "apache_log"if the record matchesHTTPD_COMBINEDLOGgrok_name: "ip_address"if the record matchesIPgrok_name: "rest_message"if the record matchesGREEDYDATAAdd
grokfailurekey to the record if the record does not match any grok pattern. See also test code for more details.How to parse time value using specific timezone
This will parse the
timevalue as “Asia/Tokyo” timezone.See Config: Parse Section - Fluentd for more details about timezone.
How to write Grok patterns
Grok patterns look like
%{PATTERN_NAME:name}where “:name” is optional. If “name” is provided, then it becomes a named capture. So, for example, if you have the grok patternit matches
but only extracts “foo.example” as {“host”: “foo.example”}
Please see
patterns/*for the patterns that are supported out of the box.How to add your own Grok pattern
You can add your own Grok patterns by creating your own Grok file and telling the plugin to read it. This is what the
custom_pattern_pathparameter is for.custom_pattern_pathcan be either a directory or file. If it’s a directory, it reads all the files in it.FAQs
1. How can I convert types of the matched patterns like Logstash’s Grok?
Although every parsed field has type
stringby default, you can specify other types. This is useful when filtering particular fields numerically or storing data with sensible type information.The syntax is
e.g.,
Unspecified fields are parsed at the default string type.
The list of supported types are shown below:
stringboolinteger(“int” would NOT work!)floattimearrayFor the
timeandarraytypes, there is an optional 4th field after the type name. For the “time” type, you can specify a time format like you would intime_format.For the “array” type, the third field specifies the delimiter (the default is “,”). For example, if a field called “item_ids” contains the value “3,4,5”,
types item_ids:arrayparses it as [“3”, “4”, “5”]. Alternatively, if the value is “Adam|Alice|Bob”,types item_ids:array:|parses it as [“Adam”, “Alice”, “Bob”].Here is a sample config using the Grok parser with
in_tailand thetypesparameter:Notice
If you want to use this plugin with Fluentd v0.12.x or earlier, you can use this plugin version v1.x.
See also: Plugin Management | Fluentd
License
Apache 2.0 License