cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Who Me Too'd this topic

Log exporting is failing. :(

L2 Linker

Have export of traffic /threat/url etc set up on log export
All setup to use SCP.
Target linux server is setup correctly.
Test SCP server connection works correctly (see attach word doc)
Job fails with an error in system log :

Failed exporting data log via ssh (last-calendar-day) to 192.168.252.61. Permission denied, please try again..' )

Also tested everything is OK by running export from command line , this works , see log below:


****@sd061(active)> scp export log traffic to data-paloalto-prd@192.168.252.61:/home/data-paloalto-prd/sd060logs/sd060-20150914x start-time equal 2015/09/11@00:00:00 end-time equal 2015/09/14@10:09:00
(container-tag: export container-tag: log container-tag: traffic leaf-tag: to value: data-paloalto-prd@192.168.252.61:/home/data-paloalto-prd/sd060logs/sd060-20150914x container-tag: start-time leaf-tag: equal value: 2015/09/11@00:00:00 pop-tag: container-tag: end-time leaf-tag: equal value: 2015/09/14@10:09:00 pop-tag: pop-tag: pop-tag: pop-tag:)
((eol-matched: . #t) (cli-handler: . scp-handler) (context-inserted-at-end-p: . #f))
/usr/local/bin/pan_logquery  -L 3600 -b -t traffic -t1 1441926000 -t2 1442221740 2> /dev/null | /usr/bin/ssh 'data-paloalto-prd@192.168.252.61' ' cat > /home/data-paloalto-prd/sd060logs/sd060-20150914x '
data-paloalto-prd@192.168.252.61's password:
Marking log as exported successfully...
/usr/local/bin/pan_slog -t 1 -s 1 -o 'Succeed to export traffic log (2015/09/11@00:00:00 - 2015/09/14@10:09:00)'
/usr/local/bin/pan_logquery  -L 3600 -b -t traffic -t1 1441926000 -t2 1442221740 -m  1> /dev/null
'cfg.reportd.enable': NO_MATCHES
2015-09-14 10:41:26.518 +0100 Error:  pan_logdb_update_file_construct(pan_logdb.c:474): update file: /opt/panlogs/logdb/traffic/1/20150914/pan.0000000000.log.actionflags.updatefile exists but of wrong size: 800891 expected size: 809485
/usr/local/bin/pan_slog -t 1 -s 1 -o 'Succeed to mark traffic log as exported'

 

May you please help?

Who Me Too'd this topic