Splunk Search

index only a part of a logfile

jonthanze
Explorer

is there a way in Splunk to index only the event of a log files that contains a specific expression or doesn't contains it.
By example, if I index a very big logfile, i don't want to index in it the INFO event but only the ERROR events.

thanks

Tags (3)
0 Karma

MuS
Legend

Hi jonthanze,

yes, there is a way to do this in Splunk. You can filter events according to their content and route it to different Splunk Queues or indexes or 3rd Party Systems.
Docs is your friend, please see this

hope this helps to get you started ...

cheers, MuS

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

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