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

Access to the raw input #162

Open
Arch-vile opened this issue Nov 12, 2021 · 0 comments
Open

Access to the raw input #162

Arch-vile opened this issue Nov 12, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@Arch-vile
Copy link

To my understanding there is no access to the original raw input text? I had a use case where I had the need to pick some values out of the lines and produce output with those fields and the raw input

As a simple example transform
timestamp debug 100ms john <rest of the line>
to
100 john timestamp debug 100ms john <rest of the line>
where the 100ms and the username where picked from the line and then printed with the original line.

Could be as simple as just having access to field _raw that would contain the original input.

Just realised that one can do this
agrind '* | * as raw'
to achieve that. I think automatic access to the _raw would be good feature anyway.

@rcoh rcoh added the enhancement New feature or request label Nov 12, 2021
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

2 participants