-
Hi, The syslog-messages look like in this format: I tried this here: [sources.syslog] [transforms.remap] [transforms.timestamp] [sinks.out] [sinks.datadog] Many thanks fou your help |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
My first guess is that the formatting is failing, I'd start by checking that: [transforms.timestamp]
type = "remap"
inputs = ["remap"]
source = '''
.timestamp, err = format_timestamp(.timestamp, "%s.%f")
if err != null {
log(err, level: "error")
}
''' |
Beta Was this translation helpful? Give feedback.
-
Hi @jszwedko , thankyou for your feedback. I already started with the parse_grok processing. As I am new to Vector, I thought there would be a better way to solve it. The good thing is, that I can solve it with Vector. (Great!) ,-) Well, the source of this SYSLOG-message is: CISCO Meraki Unfortunately I can not change the timestamp format in their cloud-dashboard. But I will open a ticket and ask them, in which RFC this timestamp-format is explained.... Thankyou for your help! |
Beta Was this translation helpful? Give feedback.
Hi @jszwedko ,
thankyou for your feedback. I already started with the parse_grok processing. As I am new to Vector, I thought there would be a better way to solve it. The good thing is, that I can solve it with Vector. (Great!) ,-)
Well, the source of this SYSLOG-message is: CISCO Meraki
See here: https://documentation.meraki.com/General_Administration/Monitoring_and_Reporting/Syslog_Event_Types_and_Log_Samples
Unfortunately I can not change the timestamp format in their cloud-dashboard. But I will open a ticket and ask them, in which RFC this timestamp-format is explained....
Thankyou for your help!
Juergen