Splunk Search

lookup faup url restricted specific fields

dmilushev81
New Member

Hi everyone,

I want to run this
sourcetype=x | lookup faup url
but am ONLY interested in url, url_scheme, url_port.
Is there a way to specify this, so that the other ones ( url_subdomain,url_domain_without_tld) are NOT generated.
Hopefully, this would also make it faster.

Thanks!

Tags (1)
0 Karma

somesoni2
Revered Legend

You can use OUTPUT option in the lookup command to specify which fields from lookup you want to display

sourcetype=x | lookup faup url OUTPUT url url_scheme url_port

See more information here
http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Lookup

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...