Skip to content

Instantly share code, notes, and snippets.

@pmeyerson
Created January 30, 2018 22:05
Show Gist options
  • Save pmeyerson/969f3eb2292e8cf978ea2da96e38c57e to your computer and use it in GitHub Desktop.
Save pmeyerson/969f3eb2292e8cf978ea2da96e38c57e to your computer and use it in GitHub Desktop.
splunk ipam scheduled search
index=ddi sourcetype="infoblox:api:networks"
| dedup network
| rex field=comment "(?<Site>[\s\S^-]*)\s-\s(?<Vlan>[0-9xX]*)\s-\s(?<NetworkDescription>[\s\S]*)"
| rename network as Network
| table Network Site NetworkDescription Vlan
| sort Network num
| outputlookup networks createinapp=true append=false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment