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

Problem creating pipe element: transform_to_json #2

Open
2knarf opened this issue Jan 18, 2016 · 1 comment
Open

Problem creating pipe element: transform_to_json #2

2knarf opened this issue Jan 18, 2016 · 1 comment

Comments

@2knarf
Copy link

2knarf commented Jan 18, 2016

Hi, anyone

root@webwash01:~/modsecurity-mlogc-ng# ./mlogc-ng mlog-new.frank
configuration.c:80:read_configuration_file(): Problem creating pipe element: transform_to_json
mlogc-ng.c:53:main(): Problems reading the configuration file: mlog-new.frank

root@webwash01:~/modsecurity-mlogc-ng# cat mlog-new.frank
{
"mlogc_pipeline":[
{
"read_from_filesystem":{
"directory":"/var/asl/data/audit"
}
},
{
"transform_to_json":{

  }
},
{  
  "send_to_server":{  
    "host":"http://ls01.x.no:31311",
    "username":"frank",
    "password":"x",
    "validate_certificate_chain":"false",
    "number_of_clients": 10
  }
},
{
  "dump": {
    "id": "true",
    "audit_file": "true"
  }
}

]
}

@zimmerle
Copy link
Contributor

Hi @2knarf,

You may want to have a look at the JSON native support on ModSecurity:

https://github.com/SpiderLabs/ModSecurity/tree/pull_request_914

It will be released as part of ModSecurity version 2.9.1.

Please copy and paste your JSON into gits, so we can make sure that it was not broken by the Markdown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants