2.
To export to a file, type:
sh devSvrCli.sh --log2action --action --csv <file-path> <include-header>
The Device Server exports all log records to CSV; each log record becomes an CSV record.
Using CSV Required and Optional Format-Specific Filters
You can use the following required and optional format-specific filters for exporting to
CSV:
Meaning
Required
Multiple
CSV
Specifies where the system should
direct the output. For example,
myLogs.csv
Yes
No
--file-path
Specifies that the system should print
the field name before each field.
No
No
--include-header
Viewing CSV Format Output
CSV log files use this format:
Log Day Id, Log Record Id, Time Received (UTC), Time Generated (UTC), Device
Domain, Device Domain Version, Device Name, Device IpAddr, Category, Sub-Category,
Src Zone, Src Intf, Src Addr, Src Port, NAT Src Addr, NAT Src Port, Dst Zone,
Dst Intf, Dst Addr, Dst Port, NAT Dst Addr, NAT Dst Port, Protocol, Policy Domain,
Policy Domain Version, Policy, Rulebase, Rule Number, Policy ID, Action, Severity,
Is Alert, Details, User, App, URI, Elapsed Secs, Bytes In, Bytes Out, Bytes
Total, Packets In, Packets Out, Packets Total, Repeat Count, Has Packet Data, Var
Data Enum, Application name, Device family.
To print the column headers for log records when exporting to a CSV file, use the
include-header option:
sh devSvrCli.sh --log2action --action --csv --include-header
sh devSvrCli.sh --log2action --action --csv --include-header --file-path
/usr/MyCSVLogRecords/logrecords.csv
Exporting to SNMP
The snmp action directs the system to output logs to an SNMP server in SNMP format.
You must specify the SNMP community string and the SNMP server IP address that
receives the exported log records.
To export:
1.
Login to the Device Server as root, then change to the utility directory by typing:
cd
/usr/netscreen/DevSvr/utils
.
2.
To export to a file, type:
sh devSvrCli.sh --log2action --action --snmp <community> <server>
The Device Server exports all log records to the specified SNMP community and server.
Copyright © 2010, Juniper Networks, Inc.
794
Network and Security Manager Administration Guide
Summary of Contents for NETWORK AND SECURITY MANAGER 2010.3
Page 6: ...Copyright 2010 Juniper Networks Inc vi...
Page 36: ...Copyright 2010 Juniper Networks Inc xxxvi Network and Security Manager Administration Guide...
Page 52: ...Copyright 2010 Juniper Networks Inc 2 Network and Security Manager Administration Guide...
Page 90: ...Copyright 2010 Juniper Networks Inc 40 Network and Security Manager Administration Guide...
Page 144: ...Copyright 2010 Juniper Networks Inc 94 Network and Security Manager Administration Guide...
Page 146: ...Copyright 2010 Juniper Networks Inc 96 Network and Security Manager Administration Guide...
Page 234: ...Copyright 2010 Juniper Networks Inc 184 Network and Security Manager Administration Guide...
Page 310: ...Copyright 2010 Juniper Networks Inc 260 Network and Security Manager Administration Guide...
Page 364: ...Copyright 2010 Juniper Networks Inc 314 Network and Security Manager Administration Guide...
Page 366: ...Copyright 2010 Juniper Networks Inc 316 Network and Security Manager Administration Guide...
Page 478: ...Copyright 2010 Juniper Networks Inc 428 Network and Security Manager Administration Guide...
Page 576: ...Copyright 2010 Juniper Networks Inc 526 Network and Security Manager Administration Guide...
Page 580: ...Copyright 2010 Juniper Networks Inc 530 Network and Security Manager Administration Guide...
Page 592: ...Copyright 2010 Juniper Networks Inc 542 Network and Security Manager Administration Guide...
Page 684: ...Copyright 2010 Juniper Networks Inc 634 Network and Security Manager Administration Guide...
Page 690: ...Copyright 2010 Juniper Networks Inc 640 Network and Security Manager Administration Guide...
Page 696: ...Copyright 2010 Juniper Networks Inc 646 Network and Security Manager Administration Guide...
Page 698: ...Copyright 2010 Juniper Networks Inc 648 Network and Security Manager Administration Guide...
Page 748: ...Copyright 2010 Juniper Networks Inc 698 Network and Security Manager Administration Guide...
Page 778: ...Copyright 2010 Juniper Networks Inc 728 Network and Security Manager Administration Guide...
Page 870: ...Copyright 2010 Juniper Networks Inc 820 Network and Security Manager Administration Guide...
Page 872: ...Copyright 2010 Juniper Networks Inc 822 Network and Security Manager Administration Guide...
Page 898: ...Copyright 2010 Juniper Networks Inc 848 Network and Security Manager Administration Guide...
Page 908: ...Copyright 2010 Juniper Networks Inc 858 Network and Security Manager Administration Guide...
Page 910: ...Copyright 2010 Juniper Networks Inc 860 Network and Security Manager Administration Guide...
Page 995: ...PART 6 Index Index on page 947 945 Copyright 2010 Juniper Networks Inc...
Page 996: ...Copyright 2010 Juniper Networks Inc 946 Network and Security Manager Administration Guide...