- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How do you mask or hash an IP address in a log?
bwniranjan
New Member
12-16-2018
05:27 AM
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

niketn
Legend
12-16-2018
06:32 AM
@bwniranjan if your intent is to mask ip address prior to indexing you can refer to the following documentation: http://docs.splunk.com/Documentation/Splunk/latest/Data/Anonymizedata
If your intent is to mask IP address at search time you can use rex command with sed
Please confirm which one of the above two you need in case you need further details for either one!
____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
| makeresults | eval message= "Happy Splunking!!!"
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
bwniranjan
New Member
12-17-2018
05:39 AM
Ask is user who is searching the event in Splunk dashboard should not see the IP address.
