Splunk Search

field fillnull with values from correlated events

fedyshynyuriy
New Member

Hi.<br>There are number of events that contain dynamic values of TicketST and JsessionST fields.<br>But there&#39;s always one event that contains unique combination of TicketST-JsessionST pair values.<br>Is it possible to map events based on TicketST par

Tags (3)
0 Karma
1 Solution

somesoni2
SplunkTrust
SplunkTrust

Without much information, I'm assuming you want to populate field JsessionST with JsessionST value of different row with same TicketST field value, and each JsessionST value is associated with only one TicketST field value. Please provide more details if these assumptions are wrong. If not, give this a try

index=_* OR index=* sourcetype=nginx | table _time Method TicketST JsessionST | eventstats values(JsessionST) as JsessionST by TicketST

Also, IMO, you don't need to include index=_* in your search as there should be no data in internal indexes for sourcetype nginx. Check that.

View solution in original post

0 Karma

somesoni2
SplunkTrust
SplunkTrust

Without much information, I'm assuming you want to populate field JsessionST with JsessionST value of different row with same TicketST field value, and each JsessionST value is associated with only one TicketST field value. Please provide more details if these assumptions are wrong. If not, give this a try

index=_* OR index=* sourcetype=nginx | table _time Method TicketST JsessionST | eventstats values(JsessionST) as JsessionST by TicketST

Also, IMO, you don't need to include index=_* in your search as there should be no data in internal indexes for sourcetype nginx. Check that.

0 Karma

fedyshynyuriy
New Member

Thanks a lot! This is exactly what was required.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

What is your question? We need more than just a screen shot to know what your problem is.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...