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!

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...