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!

Enterprise Security Content Update (ESCU) | New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 2 releases of new security content via the ...

Announcing the 1st Round Champion’s Tribute Winners of the Great Resilience Quest

We are happy to announce the 20 lucky questers who are selected to be the first round of Champion's Tribute ...

We’ve Got Education Validation!

Are you feeling it? All the career-boosting benefits of up-skilling with Splunk? It’s not just a feeling, it's ...