Comments (2)
Hi @xamor,
Could you share your input/output on which syslog-ng produces an invalid JSON?
With my test inputs, the output is perfectly valid:
{
"panos": {
"vsys_name": "",
"vsys": "",
"type": "SYSTEM",
"time_generated": "2020/04/14 16:48:54",
"subtype": "auth",
"severity": "medium",
"serial": "unknown",
"seqno": "1718",
"receive_time": "2020/04/14 16:48:54",
"opaque": "failed authentication for user \\'admin\\'. Reason: Invalid username/password. From: 10.0.10.55.",
"object": "",
"module": "general",
"future_use4": "0",
"future_use3": "0",
"future_use2": "0",
"future_use1": "1",
"eventid": "auth-fail",
"dg_hier_level_4": "0",
"dg_hier_level_3": "0",
"dg_hier_level_2": "0",
"dg_hier_level_1": "0",
"device_name": "paloalto",
"actionflags": "0x0"
},
"TRANSPORT": "local+stdin",
"SOURCE": "#anon-source0",
"PROGRAM": "paloalto_panos",
"PRIORITY": "warning",
"MSGFORMAT": "rfc3164",
"MESSAGE": "1,2020/04/14 16:48:54,unknown,SYSTEM,auth,0,2020/04/14 16:48:54,,auth-fail,,0,0,general,medium,failed authentication for user \\'admin\\'. Reason: Invalid username/password. From: 10.0.10.55.,1718,0x0,0,0,0,0,,paloalto",
"ISODATE": "2024-04-14T16:48:54+02:00",
"HOST_FROM": "AnnoW",
"HOST": "AnnoW",
"FILE_NAME": "-",
"FACILITY": "user",
"@timestamp": "2024-04-14T16:48:54+02:00"
}
from syslog-ng.
I think there was a Problem in OpenSearch. It is now fixed, it was a bit wired because only the the panos output of syslog-ng seemed to produce the error but cisco was working.
Some others had similar issues with OpenSearch and Prometheus.
from syslog-ng.
Related Issues (20)
- Support "official" AWS authentication in s3 destination
- Support role in s3 destination
- default-network-drivers() is not getting fortigate logs hostname ($HOST) correctly HOT 4
- stats(healthcheck-freq()) problems HOT 4
- On a stressed system, some logs are not being written to the log file. HOT 2
- openobserve config is incorrect HOT 2
- Syslog-ng stops writing logs to a file from a custom systemd-journald namespace after a server restart HOT 2
- Support aws:kms encryption in the s3 destination
- [4.7.1] can't compile cloud-auth when using libressl HOT 2
- compile error in otel when ipv6 support is disabled
- clang c++ support HOT 1
- trusted-keys: support a secure hash algorithm HOT 1
- Add macro for certificate fingerprint HOT 1
- 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
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.