Arkime 7
Shareable Layouts, Dashboards, Shark, Featherprint, PCAPNG, Expression Rules, Bug Fixes, and More
DRAFT: Arkime 7 has not been released yet, this page is a work in progress.
checkForUpdates (off, manual or auto)[protocol-settings] section&&, ||, !, wildcards, regex, math and functions, and fields rules match faster on the same engineLearn how to upgrade to Arkime 7 now!
Breaking Changes
db.pl upgrade copies existing ones over for you, or run db.pl <host:port> shareables-import all by hand. The originals are left in place so Arkime 6 keeps working./api/user/layouts/:type APIs, layouts are shareables now. /api/user/config/sessions no longer returns colConfigs or infoConfigs and /api/user/config/spiview no longer returns fieldConfigsesAdminUsers setting. The ES admin page and the ES index/shard/task actions now require the dbAdmin role (superAdmin includes it, arkimeAdmin no longer grants it), eg db.pl <host:port> users-update '<userId glob>' --addRole dbAdmin. dbAdmin implies no other role, so pair it with arkimeUser, which viewer requires for any accessesAdminUser field from /api/user/current, check the user's roles for dbAdmin instead/esadmin, and /connections now redirects to SPI Graph--webcode <code> or each user's own TOTP codesimpleDEKEncoding setting, the DEK is now always encrypted with aes-256-gcmuserAutoCreateTmpl setting, use the [user-auto-create] section insteaddemoMode setting. Roles do not replace it, so put a shared instance behind an external identity providerrotateIndex must be one capture accepts, freeSpaceG must be a number or a percentage, and the hunt/tshark limits, timeouts and ports must be numbers in rangeofflineFilenameRegex default now also matches .pcapng files (previously .pcap/.cap only)arkime_mprotocol_register() takes flags instead of a session type, arkime_packet_set_dltsnap() was replaced by arkime_packet_set_interface(), and ARKIME_HTTP_PRIORITY_DROPABLE was renamed ARKIME_HTTP_PRIORITY_DROPPABLE. Custom parsers, readers and plugins must be updated and rebuilttcpSaveTimeout and tcpClosingTimeout now only apply to tcp, use the new [protocol-settings] section for the other mProtocols. tcpClosingTimeout previously also applied to sctp and to sessions closed by the closeNow rule action, so set eg sctp=closing:<seconds> if you had changed it from the default of 5<node>.stoppedsessions file is now version 2 and records the mProtocol, version 1 files are ignored on upgrade_flipSrcDst rule op now also swaps the per-direction data (packets, bytes, databytes, payload8, mac, oui, dscp, ttl, tcp seq/state tracking and zero window counts), not just the ips and ports, so flipped sessions are saved self consistentlog: true on a fields rule now logs field (value) for each field that matched instead of field: valuegeoLite2Country/geoLite2ASN were renamed geoFile/geoASNFile (the deprecated names are still accepted)View a detailed list of all the changes and download it now!
db.pl upgrade migrates your existing layouts.
tsharkPath). Find in content has been added to session detail.
expression instead of fields or bpf, using a syntax similar to the Sessions search bar plus math and functions:
&&, ||, ! and parentheses, lists, wildcards, regex, cidrs, comparisons, and functions like count(), lower(), isPrivate(), any() and bpf().
Expressions are compiled to bytecode when the rules file loads, mistakes are reported with the line and column, and log: true logs which conditions matched and their values.
Existing fields and bpf rules keep working unchanged in the same version: 1 files, and fields rules now run on the same engine, matching up to 2x faster.
See Rules Format for the details and the rules gallery for examples.
- name: "Odd TLS"
when: "afterClassify"
log: true
expression: >
protocols == tls
&& port.dst != [443, 8443]
&& !(ip.dst == [10.0.0.0/8, 192.168.0.0/16])
ops:
tags: "odd-tls"