Skip to content
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

EVAL-user is incorrect in pan:firewall_cloud #219

Open
inspired opened this issue Oct 4, 2021 · 1 comment
Open

EVAL-user is incorrect in pan:firewall_cloud #219

inspired opened this issue Oct 4, 2021 · 1 comment
Labels

Comments

@inspired
Copy link

inspired commented Oct 4, 2021

Describe the bug

About 99% of logs have the value "unknown" for the user field

Expected behavior

When the user field is known from one of the other fields such as SourceUser, DestinationUser etc, that should be reflected in user

Current behavior

EVAL-user contains single quotes around field names. You only need single quotes when the field names have dots in them.

Possible solution

Replace the single quotes. Solution:

EVAL-user = case(SourceUser!="null",SourceUser,SourceUserName !="null",SourceUserName,src_user!="null",src_user,dest_user!="null",dest_user,recipient!="null",recipient,sender!="null",sender,true(),"unknown")

Steps to reproduce

  1. Run
    index=* sourcetype="pan:firewall_cloud" | top user

  2. Observe that about 99% of the events have "unknown" as the field value

Screenshots

Context

The issue gives incorrect results when working with the data, especially when trying to normalize it to fit into the Network Traffic DM.

Your Environment

  • Version used: Palo Alto Add-on version 7.0.2, Splunk Cloud 8.2.2105.4
  • Environment name and version (e.g. Chrome 59, node.js 5.4, python 3.7.3):
  • Operating System and version (desktop or mobile):
  • Link to your project:
@inspired inspired added the bug label Oct 4, 2021
@welcome-to-palo-alto-networks
Copy link

🎉 Thanks for opening your first issue here! Welcome to the community!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant