Splunk Search

How can I eliminate characters or words from the result?

albinortiz
Engager

I have an output that looks like this: AV_DATE=Jan-1-2018

I want to be able to just display the date as so: Jan-1-2018

How can I do that?

Tags (1)
0 Karma

TISKAR
Builder

@ albinortiz , can you test this

| makeresults | eval _raw="AV_DATE=Jan-1-2018"| extract kvdelim="="

OR

| makeresults | eval field="AV_DATE=Jan-1-2018" | rex field=field "AV_DATE=(?<field>.*)"
0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud | Unified Identity - Now Available for Existing Splunk ...

Raise your hand if you’ve already forgotten your username or password when logging into an account. (We can’t ...

Index This | How many sides does a circle have?

February 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...