Splunk Search

indexing fields

ahrefai
Engager

Hi all,
I'm new to Splunk and I would like to know how to change indexing fields which Spluck automaticly assigned (i.e. rename the field, remove or add). I really appreciate some directions
Thanks,
Alrifai

Tags (1)
0 Karma

ahrefai
Engager

I mean my database has more actual fields than I have had in the splunked one (columns)

0 Karma

pradeepkumarg
Influencer

You can specify fields in your props.conf file

# The following stanza extracts an ip address from _raw
[my_sourcetype]
EXTRACT-extract_ip = (?\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})

Here is the documentation link


http://docs.splunk.com/Documentation/Splunk/6.0/admin/Propsconf

ahrefai
Engager

Thanks alot..A good starting point

0 Karma

lukejadamec
Super Champion

Which fields?
In most cases it is a better idea to make automatic search time changes.

0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...