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

Pipeline substring function does not support selecting an output from list #21523

Open
Harmless05 opened this issue Feb 3, 2025 · 0 comments

Comments

@Harmless05
Copy link

Expected Behavior

Most other functions in the pipeline supports selecting a output from the list, but not substring. There should be an option to do so.

Current Behavior

Currently the substring function only supports direct string.

Possible Solution

Supporting output list for substring function.

Context

I'm trying to shorten/truncate log messages ($message.message) that are longer than 100 characters, but I'm currently unable to do so. So adding the ability to select an output from list would be useful.
I was originally trying to substring under Alerts - Custom HTTP Notification (which would make my life much easier rather than doing a whole bunch of work to create a pipeline with rules) because I'm sending the log to other sources.

Your Environment

  • Graylog Version: 6.1.5+e3ae3ce
  • Operating System: Debian 12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants