-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Filebeat Juniper SRX Pipeline issue - Trimmed source address #36270
Comments
|
Thanks for reporting this @novaksam. We recently made some changes to our Elastic Agent integration with SRX, which may be a better fit for you. Are you in a position to using our SRX elastic agent integration or are you tied to Beats? @kcreddy could you check if our SRX pipeline also strips out the source address or is this limited to the Beats pipeline? |
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
@jamiehynds I'm unable to use the builtin security features for elastic stack because we utilize Searchguard for authentication and encryption; I have considerably too much data (+33TB, ~12Mo retention) and too many use cases to be looking at purchasing a subscription. I've looked at using the agent + fleet with a separate stack, but I needed to get things back up and running before I went to vacation. I do a decent amount of custom enrichment in logstash, and some of my beat configurations aren't super straight forward (going to different indexes based on content, many different event subscriptions in winlogbeat, etc) and I just haven't had the time to figure out if it's possible with the agents. Just wanted to report this finding as I just started using the pipeline and noticed I wasn't getting the source address :) |
Hey @jamiehynds, Dan's PR should fix the beats pipeline. This should align with structured traffic data handling of current SRX ingest pipeline. |
For the example log:
<14>1 2023-08-08T14:28:00.778-05:00 Route1- RT_FLOW - RT_FLOW_SESSION_DENY [source-address="192.168.1.1" source-port="39017" destination-address="8.8.4.4" destination-port="53" connection-tag="0" service-name="junos-dns-udp" protocol-id="17" icmp-type="0" policy-name="dns_deny_outbound" source-zone-name="trust" destination-zone-name="untrust" application="UNKNOWN" nested-application="UNKNOWN" username="N/A" roles="N/A" packet-incoming-interface="reth0.0" encrypted="No" reason="Denied by policy" session-id="85905209174" application-category="N/A" application-sub-category="N/A" application-risk="-1" application-characteristics="N/A" src-vrf-grp="N/A" dst-vrf-grp="N/A"]
The initial grok processor on the juniper-srx-pipeline pipeline strips out the source address.
Snippet of event.original:
Modifying
.+?\\s${GREEDYDATA
to\\s?${GREEDYDATA
allows the source.address to be correctly collected and enrichedSnippet of event.original:
The text was updated successfully, but these errors were encountered: