Getting Data In

How can I use regex to list a table?

jacknguyen
Path Finder

I have a event like this:
image.png

I want to list a table following CLIENT_LIST. For example:

ip_vpn            name_vpn       time_vpn

10.10.0.20    louis_tran        Tue Apr 4 9:21:41 2023

10.0.0.21       wanki_trinh    Tue Apr 4 9:15:02 2023

---------------------

Anyone have any idea

0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust
0 Karma

jacknguyen
Path Finder

the table show nothing image.png

bowesmana
SplunkTrust
SplunkTrust

You have a space in your rex statement after CLIENT_LIST,

You should have

CLIENT_LIST,(?<

you have

CLIENT_LIST, (?<
0 Karma

jacknguyen
Path Finder

it works. thank you. How ever the table like this: 

image.png

And I just want splunk show the latest event and mvexpand it like this:

I try to use ||stats latest but its not working. Do you know how to do this

image.png

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

ITWhisperer_0-1680594933653.png

 

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

🔐 Trust at Every Hop: How mTLS in Splunk Enterprise 10.0 Makes Security Simpler

From Idea to Implementation: Why Splunk Built mTLS into Splunk Enterprise 10.0  mTLS wasn’t just a checkbox ...

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...