All Apps and Add-ons

Extract results from field with ; seperated values

paganom
New Member

I want to do a timechart where I take inUsage & outUsage values. With a standard timechart I only get the first vaule 59.99% & 0.00% respectively. How do I get the results that follow each ";" and give them new names?

1313073123 src_host="ACH_INT_SWI_5" perfdata="SERVICEPERFDATA" name="ach-tw-www-interface" severity="OK" attempt="1" statetype="HARD" executiontime="0.414" latency="0.150" reason="Average IN: 12.00Mbps (59.99%), Average OUT: 469.33bps (0.00%) Total RX: 2.75TBytes, Total TX: 236.36MBytes" result="inUsage=59.99%;99;100 outUsage=0.00%;99;100 inBandwidth=11997373.47bps outBandwidth=469.33bps Bandwidth=20000000"

0 Karma

acdevlin
Communicator

There's a few ways you could go about doing this.

I would personally suggest that you use the "Field Extractor" App to manually split up your data. This allows you to go into your raw data and define each individual field. I would personally suggest this method as it is pretty novice-friendly and requires no knowledge of regular expressions.

Does this help with your question?

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...