Giter Club home page Giter Club logo

ingest_eval_examples's People

Contributors

silkyrich avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ingest_eval_examples's Issues

Wrong log_level

in transforms.conf stanza: enrich_splunkd_component_level_thread-extract_log_level_etc the log_level DEBUG is being referenced twice
(INFO|DEBUG|ERROR|WARN|DEBUG)

I think, it should be:
(INFO|DEBUG|ERROR|WARN|FATAL)

Missing definition in transforms.conf

enrich_splunkd_access_log-move_host_to_meta is referenced in props.conf in enrich_splunkd_access_log stanza, but the definition is missing (/not needed) in transforms.conf

BTW: great examples! I'm implementing the ideas in our production environment. Thanks a lot.

Regex enrich_splunkd_access_log-decompose_url not working

For Splunk 8.2.4. the regex is not working
(\d{0,3}\.\d{0,3}\.\d{0,3}\.\d{0,3})\s-\s(\S*)\s\[[^\]]+\]\s"(GET|POST)\s(\S+)\s([^"]+)"\s(\d+)\s(\d+)\s-\s\-\s-\s(\d+)ms

Here an example
127.0.0.1 - splunk-system-user [19/Feb/2022:19:46:32.802 +0100] "GET /servicesNS/nobody/splunk_instrumentation/telemetry/general HTTP/1.0" 200 6381 "-" "splunk-sdk-python/1.6.15" - 2ms

The quotes around the dash are the problem:
6381 "-" "splunk

I changed it to:
(\d{0,3}\.\d{0,3}\.\d{0,3}\.\d{0,3})\s-\s(\S*)\s\[[^\]]+\]\s"(GET|POST)\s(\S+)\s([^"]+)"\s(\d+)\s(\d+)\s.*?"\s-\s(\d+)ms
simply ignoring all characters between 6381 and 2ms

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.