Splunk Search

Multiple (same) Keyword search

jameslitt
New Member

Hi

I'm currently trying to use splunk to identify when a log is produced with the same line twice (eg below)

Wed 20 12:06:15 ( 3313) E1: [9] Login: "xx" from 127.0.0.1/james
Wed 20 12:06:15 ( 3313) E1: [9] Login: "xx" from 127.0.0.1/james

However much of the same data is found in thosands of other logs that I'm not interested in.

Is there anyway to search for this particularly? The xx would stay the same however the user at the end would change depending on who it was who logged in.

Thanks!

0 Karma

jameslitt
New Member

Hi

Thanks for your help but it didn't work sadly. I am searching for the username as the search before the pipe, however its bringing everything up as a count of 1.

0 Karma

jameslitt
New Member

Hi

Thanks for your help but it didn't work sadly. I am searching for the username as the search before the pipe, however its bringing everything up as a count of 1.

0 Karma

somesoni2
Revered Legend

Give this a try

your base search to find above type of logs | stats count by _raw | where count > 1
0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...