Splunk Search

Search only spesific country

gijoesplunk
New Member

Hi I'm new in splunk.I have a firewall that send the log to splunk , and one of the information provide in the firewall log is country. And i want to search in splunk and came out the result for only all eastern europe country or all africa country without having to list one by one all the country, is it possible to do that?

Tags (1)
0 Karma

sundareshr
Legend

You will have to create a lookup table that has the mapping between country and continent/sub continent. You can then create a automatic lookup to add continent info to your events and use that to search.

http://docs.splunk.com/Documentation/Splunk/6.4.3/SearchReference/Lookup

OR

You can create/maintain tags

https://docs.splunk.com/Documentation/Splunk/6.4.3/Knowledge/Abouttagsandaliases

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...