Splunk Search

How can i remove the particular user in table?

Sangeetha96
Engager

I have the below query:

| inputlookup test.csv
| eval epochtime=strptime(_time, "%a %b %d %H:%M:%S %Y")
| eval desired_time=strftime(epochtime, "%d/%m/%Y")
| rename desired_time as Date
| eval desired_time=strftime(epochtime, "%b%y'")
| rename desired_time as Month

 

am getting this output in user field.

user

Abcd101

sv23010

ns03621

here i want to remove the user sv48840,ns19075 row in this table.

Labels (1)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust
| where user!="sv48840" AND user!="ns19075"

View solution in original post

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
| where user!="sv48840" AND user!="ns19075"
0 Karma
Get Updates on the Splunk Community!

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...