-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow splitting out indexes by other field values #450
Comments
Values from event fields will now be expanded in the logstash filter that figures out the index to use when writing documents. From So, for example:
could produce something like this: $ docker compose exec api curl -sSL 'localhost:5000/mapi/indices' | jq -r '.indices[].index' | sort | grep sessions
arkime_sessions3-200428
arkime_sessions3-suricata-alert-200428
arkime_sessions3-zeek-analyzer-200428
arkime_sessions3-zeek-bestguess-200428
arkime_sessions3-zeek-cip-200428
arkime_sessions3-zeek-conn-200428
arkime_sessions3-zeek-cotp-200428
arkime_sessions3-zeek-dce_rpc-200428
arkime_sessions3-zeek-dhcp-200428
arkime_sessions3-zeek-dns-200428
arkime_sessions3-zeek-dpd-200428
arkime_sessions3-zeek-enip-200428
arkime_sessions3-zeek-files-200428
arkime_sessions3-zeek-http-200428
arkime_sessions3-zeek-ja4ssh-200428
arkime_sessions3-zeek-kerberos-200428
arkime_sessions3-zeek-known_hosts-200428
arkime_sessions3-zeek-known_modbus-200428
arkime_sessions3-zeek-known_services-200428
arkime_sessions3-zeek-login-200428
arkime_sessions3-zeek-modbus-200428
arkime_sessions3-zeek-modbus_detailed-200428
arkime_sessions3-zeek-notice-200428
arkime_sessions3-zeek-ntlm-200428
arkime_sessions3-zeek-pe-200428
arkime_sessions3-zeek-rdp-200428
arkime_sessions3-zeek-rfb-200428
arkime_sessions3-zeek-s7comm-200428
arkime_sessions3-zeek-s7comm_read_szl-200428
arkime_sessions3-zeek-s7comm_upload_download-200428
arkime_sessions3-zeek-signatures-200428
arkime_sessions3-zeek-signatures-240828
arkime_sessions3-zeek-smb_files-200428
arkime_sessions3-zeek-smb_filessmb_cmd-200428
arkime_sessions3-zeek-smb_mapping-200428
arkime_sessions3-zeek-software-200428
arkime_sessions3-zeek-ssh-200428
arkime_sessions3-zeek-ssl-200428
arkime_sessions3-zeek-tds-200428
arkime_sessions3-zeek-weird-200428
arkime_sessions3-zeek-x509-200428 Of course, these ONLY apply to events that get indexed through the logstash pipeline (not ones indexed by Arkime Also, updated the documentation on environment variables:
|
As of release v24.01.0, the
MALCOLM_NETWORK_INDEX_PATTERN
andMALCOLM_NETWORK_INDEX_SUFFIX
environment variables allow splitting out Suricata and Zeek to a different index pattern from the one Arkime creates.It may be useful to add another replacer to the pattern definable in either one or the other of these variables (probably the suffix?) to further allow it to be split out based on the
event.provider
variable (suricata
vs.zeek
, etc.).The text was updated successfully, but these errors were encountered: