Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace grok pattern with regex #2

Open
naisanzaa opened this issue Aug 30, 2021 · 0 comments
Open

replace grok pattern with regex #2

naisanzaa opened this issue Aug 30, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@naisanzaa
Copy link
Member

e.g.

  • parse %{XXXXXXX:xxx} and replace with correct regex pattern

sample:
%{NUMBER:ts}\t%{NOTSPACE:uid}\t%{IP:orig_h}\t%{INT:orig_p}\t%{IP:resp_h}\t%{INT:resp_p}\t%{WORD:proto}\t%{GREEDYDATA:service}\t%{NUMBER:duration}\t%{NUMBER:orig_bytes}\t%{NUMBER:resp_bytes}\t%{GREEDYDATA:conn_state}\t%{GREEDYDATA:local_orig}\t%{GREEDYDATA:missed_bytes}\t%{GREEDYDATA:history}\t%{GREEDYDATA:orig_pkts}\t%{GREEDYDATA:orig_ip_bytes}\t%{GREEDYDATA:resp_pkts}\t%{GREEDYDATA:resp_ip_bytes}\t%{GREEDYDATA:tunnel_parents}

@naisanzaa naisanzaa self-assigned this Aug 30, 2021
@naisanzaa naisanzaa added the enhancement New feature or request label Sep 3, 2021
@naisanzaa naisanzaa modified the milestones: 0.0.35, 0.1.1, future Sep 22, 2021
naisanzaa added a commit that referenced this issue Jan 4, 2022
� This is the 1st commit message:

0.1.7

Change log:

- update docstrings
- update readme
- minor fixes

� The commit message #2 will be skipped:

� 0.1.7
�
� Change log:
�
� - update docstrings
� - update readme
� - minor fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant