Closed Jo-Ng closed 1 year ago
@Jo-Ng, Could you please DM us the latest raw messages to validate ?
Below obtained when enabled RAWMSG
"RAWMSG":"<139>Mar 6 00:10:39 2023 SERVER__04 <SERVER__04 10.10.10.42> httpd[30092]: Could not retrieve the CSRF token from db inside mod_aruba_auth"
Below with PCAP
<139>Mar 9 20:21:38 2023 SERVER__04 <SERVER__04 10.10.10.42> httpd[12007]: Could not retrieve the CSRF token from db inside mod_aruba_auth
@bparmar-splunk any update?
@Jo-Ng, We are working on it because we cannot make use of the resolution provided by you in above message, because there are other vendor(s) who might have same log format. We will keep you posted about further updates.
Thank you
@bparmar-splunk
Sure. IF that a option not to use custom parser for it, it will be great. As since begin it can't be recognize hence SPlunk PS created the parser (app-syslog-aruba_ap.conf). Look forward
any update on this?
@Jo-Ng, Can you please give it a try with below parser?
block parser app-syslog-aruba_ap() {
channel {
rewrite {
r_set_splunk_dest_default(
index('netops')
source('aruba:${PROGRAM}')
sourcetype('aruba:syslog')
vendor("aruba")
product("ap")
);
};
};
};
application app-syslog-aruba_ap[sc4s-syslog] {
filter {
(
(
program('authmgr' type(string) flags(prefix))
or program('stm' type(string) flags(prefix))
or program('wms' type(string) flags(prefix))
or program('dot1x-proc' type(string) flags(prefix))
or program('nanny' type(string) flags(prefix))
)
and message('^\<\d+\> \<\d+\> \<[A-Z]+\>')
)
or (
(
program('sapd' type(string) flags(prefix))
)
and message('^\<\d+\> \<[A-Z]+\>')
)
or(
match('[\d\.]*>\shttpd\[\d+]' value("MESSAGE"))
)
;
};
parser { app-syslog-aruba_ap(); };
};
Please share the findings and let us know in case of any queries.
Thank you.
@bparmar-splunk the events seem like parsing correctly now. I will have to test in production as those https events only available in Production environment NOT development. Based on normal echo, it aligned rest of flow in events.
Below the output of impacted HTTPD events.
2023-03-28T03:28:16+00:00 2023 xxxxxxxxxx_04 httpd[12007]: Could not retrieve the CSRF token from db, called from arci_cgi AFTER CHANGE
2023-03-28T03:27:59+00:00 2023 xxxxxxxxxx_04 <xxxxxxxxxx_04 11.11.11.42> httpd[12007]: Could not retrieve the CSRF token from db, called from arci_cgi AFTER CHANGE
2023-03-28T03:24:43+00:00 2023 xxxxxxxxxx_04 httpd[27412]: <350008> <27440>
As such, suggest process close this while I will schedule implement. If any issues will open ticket to follow up.
Thanks.
Look forward for similar that happen for F5 https://github.com/splunk/splunk-connect-for-syslog/issues/2015
@Jo-Ng , Thank you for your response. We are closing this issue for now, since it has been resolved at your end.
Please reach out in case of any further queries.
Notice below events seems doesn’t process correctly. Please advice.
whereby rest on events didn’t see such issues
Below the configuration RHEL: 8.6 Podman: 3.0.1
cat /apps/sc4s/local/context/splunk_metadata.csv | grep aruba
Below the parser from early Splunk PS
cat app-syslog-aruba_ap.conf