- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
04-24-2020 01:30 PM
I'm trying to get the firewall to send before and after change detail to splunk. I've tried various formats in Custom Log Format, but any changes I make result in no logs being sent to splunk. What is the correct format for Custom Log Format when using syslog and splunk? I'm running PA OS 8.1
04-26-2020 01:24 AM
Making a custom format shouldn't break sending the syslog to Splunk, are you sure that the logs aren't actually getting to Splunk at all? If you could share our format and the actual software version you are running we might be able to identify something.
04-27-2020 06:56 AM
Logs are being shipped to Splunk. I'm following the directions to use custom formatting 'Enter the log format above. Click on the field names in the left panel to include them in the log format.' by clicking on the name, then commit, and then no more config logs after that change to use custom log formatting. Return to default and config logs start working again. Just confirmed again. Maybe something for tech support?
06-24-2020 07:23 AM
Hi Mike,
Did you get any resolution for this issue
Regards
Venky
06-25-2020 07:08 AM
No, I did not get a resolution for this.
06-25-2020 11:23 AM
Hi
i'm facing same issue, If you dont mind did you raise it with support.
Regards
Venky
06-25-2020 02:18 PM
Sorry, I did not open a ticket with support for this.
02-02-2021 09:29 AM
Closer, but still seeing an issue.
Firewall config events are being parsed as pan:config, but without before and after change details. Other details are included, but before and after change details are both 0.
When I set a custom log format and test changing an object name on the firewall, the logs are parsed as pan:log (not pan:config) and I can see the change detail in the raw event message, but now I've lost the other fields since it was parsed as pan:log.
02-02-2021 10:58 PM
Frist Click the field names in the left board to remember them for the log design.' by tapping on the name, at that point submit, and afterward no more config logs after that change to utilize custom log organizing.
02-04-2021 11:40 AM
That's not working. As I noted in my update I have tried setting a custom log. Doing this changes the way the logs are parsed either with pan:config or pan:log. "When I set a custom log format and test changing an object name on the firewall, the logs are parsed as pan:log (not pan:config) and I can see the change detail in the raw event message, but now I've lost the other fields since it was parsed as pan:log."
Does anyone have this working? I want to believe this is just something with my config that I can fix, but I haven't seen many posts that this works for others.
08-15-2022 12:43 PM - edited 08-15-2022 12:52 PM
Working on this again, still no change in behavior.
Does anyone know if this has been addressed in any 9.1 or 10.x releases?
The log format changes based on if Default logging or Custom Format is used, so the sourcetype isn't set correctly (Splunk).
DEFAULT (sourcetype is set to pan:config, this is correct and working, but no before/after change detail)
<14>Aug 15 14:06:53 PA-1 1,2022/08/15 14:06:53,016201015409,CONFIG,0,0,2022/08/15 14:06:53,192.168.1.10,,edit,adminacct,Web,Succeeded, vsys vsys1 address configlog_testobj,24838,0x0,0,0,0,0,,PA-AMA-Pri,0,
CUSTOM FORMAT (sourcetype is set to pan:log, the before/after change detail is present, but the sourcetype is wrong)
<14>Aug 15 14:18:57 PA-1 0x0 adminacct "configlog_testobj { description ""test change 90""; } " "configlog_testobj { description ""test change 80""; } " Aug 15 2022 19:18:57 GMT Aug 15 2022 19:18:57 GMT Web edit PA-AMA-Pri 192.168.1.10 vsys vsys1 address configlog_testobj 2022/08/15 14:18:57 Succeeded 9.1.12-h3 24843 016201015409 0 2022/08/15 14:18:57 CONFIG
08-21-2024 02:27 PM
Cant you just add the other fields you need in the Custom log Format?
actionflags="$actionflags", admin="$admin", after-change-detail="$after-change-detail", before-change-detail="$before-change-detail", cef-formatted-receive_time="$cef-formatted-receive_time", cef-formatted-time_generated="$cef-formatted-time_generated", client="$client", cmd="$cmd", host="$host", path="$path", receive_time="$receive_time", result="$result", seqno="$seqno", serial="$serial", subtype="$subtype", time_generated="$time_generated", type="$type", vsys="$vsys"
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!