[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-8018":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":8,"htmlUrl":8,"language":9,"languages":8,"totalLinesOfCode":8,"stars":10,"forks":11,"watchers":12,"openIssues":13,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":14,"stars7d":14,"stars30d":14,"stars90d":14,"forks30d":14,"starsTrendScore":14,"compositeScore":15,"rankGlobal":8,"rankLanguage":8,"license":16,"archived":17,"fork":17,"defaultBranch":18,"hasWiki":19,"hasPages":17,"topics":20,"createdAt":8,"pushedAt":8,"updatedAt":21,"readmeContent":22,"aiSummary":23,"trendingCount":14,"starSnapshotCount":14,"syncStatus":24,"lastSyncTime":25,"discoverSource":26},8018,"logstash-patterns-core","logstash-plugins\u002Flogstash-patterns-core","logstash-plugins",null,"Ruby",2186,964,124,68,0,57.95,"Apache License 2.0",false,"main",true,[],"2026-06-12 04:00:37","# Logstash Plugin\n\n[![Travis Build Status](https:\u002F\u002Ftravis-ci.com\u002Flogstash-plugins\u002Flogstash-patterns-core.svg)](https:\u002F\u002Ftravis-ci.com\u002Flogstash-plugins\u002Flogstash-patterns-core)\n\nThis plugin provides [pattern definitions][1] used by the [grok filter][2]. \n\nIt is fully free and fully open source. The license is Apache 2.0, meaning you are pretty much free to use it however you want in whatever way.\n\n## Documentation\n\nLogstash provides infrastructure to automatically generate documentation for this plugin. \nWe use the asciidoc format to write documentation so any comments in the source code will be first converted into asciidoc \nand then into html. All plugin documentation are placed under one [central location](http:\u002F\u002Fwww.elastic.co\u002Fguide\u002Fen\u002Flogstash\u002Fcurrent\u002F).\n\n- For formatting code or config example, you can use the asciidoc `[source,ruby]` directive\n- For more asciidoc formatting tips, see the excellent reference here https:\u002F\u002Fgithub.com\u002Felastic\u002Fdocs#asciidoc-guide\n\n## Need Help?\n\nNeed help? Try https:\u002F\u002Fdiscuss.elastic.co\u002Fc\u002Flogstash discussion forum.\n\n## Developing\n\n### 1. Plugin Developement and Testing\n\n#### Code\n\n- Install dependencies\n```sh\nbundle install\n```\n\n#### Test\n\n- Update your dependencies\n\n```sh\nbundle install\n```\n\n- Run tests\n\n```sh\nbundle exec rspec\n```\n\n### 2. Running your unpublished Plugin in Logstash\n\n#### 2.1 Run in a local Logstash clone\n\n- Edit Logstash `Gemfile` and add the local plugin path, for example:\n```ruby\ngem \"logstash-patterns-core\", :path => \"\u002Fyour\u002Flocal\u002Flogstash-patterns-core\"\n```\n- Install plugin\n```sh\n# Logstash 2.3 and higher\nbin\u002Flogstash-plugin install --no-verify\n```\n- Run Logstash with your plugin\n```sh\nbin\u002Flogstash -e 'filter { grok { } }'\n```\nAt this point any modifications to the plugin code will be applied to this local Logstash setup. After modifying the plugin, simply rerun Logstash.\n\n#### 2.2 Run in an installed Logstash\n\nYou can use the same **2.1** method to run your plugin in an installed Logstash by editing its `Gemfile` and pointing the `:path` to your local plugin development directory or you can build the gem and install it using:\n\n- Build your plugin gem\n```sh\ngem build logstash-patterns-core.gemspec\n```\n- Install the plugin from the Logstash home\n```sh\nbin\u002Flogstash-plugin install --no-verify\n```\n- Start Logstash and proceed to test the plugin\n\n## Contributing\n\nAll contributions are welcome: ideas, patches, documentation, bug reports, complaints, and even something you drew up on a napkin.\n\nProgramming is not a required skill. Whatever you've seen about open source and maintainers or community members  saying \"send patches or die\" - you will not see that here.\n\nIt is more important to the community that you are able to contribute.\n\nFor more information about contributing, see the [CONTRIBUTING](https:\u002F\u002Fgithub.com\u002Felastic\u002Flogstash\u002Fblob\u002Fmaster\u002FCONTRIBUTING.md) file.\n\n[1]: https:\u002F\u002Fgithub.com\u002Flogstash-plugins\u002Flogstash-patterns-core\u002Ftree\u002Fmain\u002Fpatterns\n[2]: https:\u002F\u002Fgithub.com\u002Flogstash-plugins\u002Flogstash-filter-grok\n","logstash-patterns-core 是一个为 Logstash 的 Grok 过滤器提供模式定义的插件。它使用 Ruby 语言编写，通过预定义的正则表达式模式帮助用户解析和结构化日志数据，极大地简化了复杂日志格式的处理过程。该插件支持广泛的日志格式，包括但不限于 Apache、Nginx、Syslog 等常见日志类型，适用于需要从非结构化或半结构化文本中提取有价值信息的各种场景，如日志分析、安全审计等。项目遵循 Apache License 2.0 开源协议，确保了其在多种环境下的自由使用与修改。",2,"2026-06-11 03:15:41","top_language"]