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

Question: embedded blocks #13

Open
faxm0dem opened this issue Oct 21, 2014 · 3 comments
Open

Question: embedded blocks #13

faxm0dem opened this issue Oct 21, 2014 · 3 comments
Milestone

Comments

@faxm0dem
Copy link
Owner

I've tried, but was unable to rewrite the following snippet using a parser type:

parser p_ts_acs {
  channel {
    parser {
      csv_parser(
        columns(
          "tmp.date"
          "tmp.time"
          "MESSAGE"
         )
        delimiters(" ")
        flags(
          strip-whitespace
          greedy
        )
      );
    };
    rewrite(r_st_acs);
  };
};

Is this even possible?

@ihrwein
Copy link
Collaborator

ihrwein commented Oct 22, 2014

Unfortunately channels are not supported yet. Do you use them frequently?

@faxm0dem
Copy link
Owner Author

I have a couple of those yes. I chose to workaround this by using a syslog_ng::config block with a template

@ihrwein ihrwein added this to the 1.1 milestone Feb 27, 2015
@ihrwein
Copy link
Collaborator

ihrwein commented Feb 27, 2015

I add this issue to 1.1, it would be a nice feature.

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