Getting Data In

How to generate a list of just the IPs?

allyandrews14
New Member

I have uploaded a single collection of logs for one time use in Splunk. I was wondering if there is a way to generate just a list of all the IP's listed in that collection? I can get the top IP hits, but I need all the IP's. Is there anyway to do this?

Tags (1)
0 Karma

jgedeon120
Contributor

To the end of your base do | dedup IP | table IP

Example would be sourcetype="foo" | dedup IP | table IP

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...