GithubHelp home page GithubHelp logo

Comments (4)

messixukejia avatar messixukejia commented on May 9, 2024

完整的采集配置发下

from ilogtail.

beyond688 avatar beyond688 commented on May 9, 2024

{ "metrics": { "##1.0##kafka_output_test3": { "category": "file", "log_type": "apsara_log", "separator": "", "keys": [""], "regex": [""], "log_begin_regex": [""], "log_begin_regexs": [""], "logBeginRegex": [""], "logBeginRegexs": [""], "log_path": "/home/admin/liujh/sysm-data/sysm-data-invilid-2.0.0/logs/", "file_pattern": "*.log", "create_time": 1631018645, "defaultEndpoint": "", "delay_alarm_bytes": 0, "delay_skip_bytes": 0, "discard_none_utf8": false, "discard_unmatch": false, "docker_exclude_env": {}, "docker_exclude_label": {}, "docker_file": false, "docker_include_env": {}, "docker_include_label": {}, "enable": true, "enable_tag": false, "file_encoding": "utf8", "filter_keys": [ ], "filter_regs":[ ], "group_topic": "", "plugin": { "processors": [ { "detail": { "SplitRegex": "\\s*[0-9]{4}-[0-1][0-9]-[0-3][0-9] [0-2][0-9]:[0-5][0-9]:[0-5][0-9].*", "SplitKey": "content" }, "type": "processor_split_log_regex" }, { "type":"processor_add_fields", "detail": { "Fields": { "serviceLine": "csp", "appName": "csp-hermes", "hostName": "tc-dev-mid-monitor03" } } } ], "flushers": [ { "type": "flusher_kafka", "detail": { "Brokers": [ "10.7.0.37:9092" ], "Topic": "logtail-flusher-kafka2" } } ] }, "local_storage": true, "log_tz": "", "max_depth": 10, "max_send_rate": -1, "merge_type": "topic", "preserve": true, "preserve_depth": 1, "priority": 0, "raw_log": false, "aliuid": "", "region": "", "project_name": "", "send_rate_expire": 0, "sensitive_keys": [], "shard_hash_key": [], "tail_existed": false, "time_key": "", "timeformat": "", "topic_format": "none", "tz_adjust": false, "version": 1, "advanced": { "force_multiconfig": false, "tail_size_kb": 1024 } } } }

from ilogtail.

messixukejia avatar messixukejia commented on May 9, 2024

processor_split_log_regex增加下PreserveOthers: true配置项。相见processor_split_log_regex代码

from ilogtail.

beyond688 avatar beyond688 commented on May 9, 2024

感谢

from ilogtail.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.