Splunk Search

Merging two log line

keshab
Path Finder

I have two log line with the same information. How can I do search so that it displays just one log??

For e.g.

2011-11-04 10:20:48,476 [WARN ] RemoteIpAddress: X.X.X.X; SessionId: XXX; exception: Password or Wolfram ID entered was incorrect
2011-11-04 10:20:48,476 [WARN ] RemoteIpAddress: X.X.X.X; SessionId: XXX; exception: Password or Wolfram ID entered was incorrect

I want it to display one result instead of two.

Tags (3)
0 Karma
1 Solution

keshab
Path Finder

that's right but for splunk using uniq worked..thanks

View solution in original post

0 Karma

keshab
Path Finder

that's right but for splunk using uniq worked..thanks

0 Karma

Simeon
Splunk Employee
Splunk Employee

I believe you want to investigate using the dedup command against a common field (possibly _raw). You should really fix the situation where it is logging multiple lines of the same content.

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 ...