Getting Data In

Renaming multiple sourcetype

pdash
Path Finder

How can i rename more than one soucrtypes?

I have iis-2 iis-3 ...

Can this work?
[iis*]
rename=iis

Tags (1)
0 Karma

jonuwz
Influencer

See this on how to use wildcards in sourcetype stanzas.

Read the 2nd answer for a disclaimer

From there you should be able to do :

[(?:::){0}iis*]
sourcetype=iis
0 Karma
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...