Comments (2)
I think this may be a $(format-json) bug. Because this works:
template("$(+ 1 $(+ 1 1))\n")
from syslog-ng.
I have a preliminary patch that fixes this issue on the 3.6/f/stricter-type-hint-parsing branch I have just pushed.
There's also a workaround. This should work:
$(format-json --scope rfc5424 --exclude FILE_NAME .SDATA=string($(format-json --scope sdata)))
@algernon the problem is that type-hinting uses the same syntax as template functions and $ was taken as a typehint, which in fact was a template function call operator. Let's discuss this IRL how this should be solved.
from syslog-ng.
Related Issues (20)
- Unexpected behavior with multiple conditions including 'not' in the filter HOT 4
- There is no problem starting syslog-ng, but Verify reports an error. HOT 1
- OpenTelemetry/OTLP: add support for certificate pinning, like with `trusted-keys()` HOT 3
- Config failing with kafka and template HOT 3
- syslog-ng 3.24.1 sometimes crash in log_pipe_queue HOT 2
- libcloud-auth is underlinked HOT 1
- Fuzzing discovery HOT 1
- Discrepancy in documentation related to how to enable threading for specific sources HOT 5
- Issue using RFC5424 config HOT 17
- Enhance eps_last_1h / eps_last_24h Metrics HOT 2
- Is loki destination actually implemented? HOT 2
- Syslog-ng Service crashes in g_hash_table_lookup function after syslog-ng-ctl reload HOT 2
- `file-reader` supports only polling on linux HOT 2
- destination syslog forget messages on long disconnect/reconnect HOT 4
- modules/affile: NULL deference HOT 1
- lib/cfg-argc.c -- NULL dereference HOT 1
- Multiple issues around the test cases using cmake
- 500 - Internal server error. HOT 2
- Add ${IP} and ${IP_FROM} macros HOT 1
- compiling 4.8.0 on Fedora i686 failed HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from syslog-ng.