Do you want to have the old data replicated as well? This can be done but not usually recommended (As per Splunk Documentation).
However, if you just want the old data to be searchable in the new setup, you can add the old instance as a non clustered search peer on the search head.
... View more
You could use rex on _raw field like so:
<your sourcetype> | rex field=_raw "RPT: (?<RPT>\w+)"
A better way would be to get your field extractions specified in props.conf and transforms.conf. Have a look at the documentation at the following link:
http://docs.splunk.com/Documentation/Splunk/6.2.2/Knowledge/Aboutfields
... View more
you have to have a capturing group within your regex. each capturing group would correspond to a field. You can specify the capturing groups in your transforms.conf like so:
[myformat]
REGEX = ^.*\[(?.*?)\]\s(?[A-Z]+)\s+(?\S+\s\S+)\s\-\s(?.+)$
FORMAT = field_1::$1 field_2::$2 field_3::$3 field_4::$4
edit: I assumued your regex works for you. (didn't check)
... View more
have you looked at mvexpand? http://docs.splunk.com/Documentation/Splunk/6.2.0/SearchReference/Mvexpand
you could pipe an mvexpand command at the end of your rex extraction.
... View more
Have you tried | bucket _time span=1d |chart count(fieldA) over _time by fieldB
and run the search over last 30 days? I am sure there are better ways to do this.
... View more
Have you tried this:
index=uv GUID="*" NOT "ERROR" | transaction GUID startswith="CalculateTaxRequest" endswith="CalculatetaxResponse"| table GUID duration | WHERE duration > 8 | sort duration desc
Also, switch the tab to visualization and select "column" or "line"
(I know. Kind of tacky.)
... View more
Break_only_before will break as soon as it finds whatever pattern you put in. If you put in a whole line, it will break a line before it finds the entire line. If you put in part of the line, as soon as it encounter that, it will break a line before that.
... View more
Could you post a couple of sample events? You could try extracting the process name into a field and then searching for field_name != "c:\Windows\system32\svchost.exe"
Typically your search would be similar to ..
<your sourcetype> | rex _raw "Process Name: (?<process_name>[^ ]+)" | search <your sourcetype> process_name !="c:\Windows\system32\svchost.exe"
If you can post sample events, I can confirm the regular expression.
... View more
AFAIK, having regex expression go to nullQueue will discard entire event, not just the matched pattern. You should be looking for a SEDCMD.
Try this:
props.conf
[your_sourcetype]
SEDCMD-null = s/(?s)<Header>.*(?=<\/Header>)<\/Header>//
Having said so, proceed with caution as this works directly at index time and there is no way to get back lost data. I suggest you try the command on sample data before putting it into production.
... View more
I suggest you try SHOULD_LINEMERGE = True, BREAK_ONLY_BEFORE = {Heap before GC
Also, remove TIME_PREFIX = ^ and MAX_TIMESTAMP_LOOKAHEAD = 32 and LINE_BREAKER = ([\r\n]+){Heap before GC (remove these three)
... View more