Splunk Search

Regex Help!

kiran331
Builder

Hi

Let me know how to replace [.] by . in the below fields.

78[.]123[.]66[.]18
ans[.]rttw[.]dd[.]hf

Thanks in Advance!

Tags (1)
0 Karma
1 Solution

twinspop
Influencer
... | eval new_field=replace(old_field,"\[\.\]",".")

View solution in original post

0 Karma

twinspop
Influencer
... | eval new_field=replace(old_field,"\[\.\]",".")
0 Karma

kiran331
Builder

Thanks a lot.

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!

Unlocking Unified Insights: New Gigamon Federated Search App for Splunk

In today’s data-heavy environment, organizations are caught in a data distribution dilemma. As data volumes ...

GA: New Data Management App in Splunk Platform

Streamlining Data Management: Introducing a unified experience in Splunk Managing data at scale shouldn’t feel ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...