Knowledge Management

Streamed search execute failed Error in 'SearchParser'

bgaignon
Path Finder

Hi,

This morning I updated my splunk servers to Splunk 6.1 (1 SH, 1 Indexer, 1 Deployment)
No errors during the upgrade.
I restart Splunk and he did not complain.

I tried to display a dashboard and I had this error message:

[slpiussplnk02] Streamed search execute failed because: Error in 'SearchParser': Could not find macro 'sep_admin_sourcetype' that takes 0 arguments. Expecting stanza name 'sep_admin_sourcetype'

This message appears on every search, even if it's not related to SEP (symantec Endpoint protection).

I looked for macros.conf into the SH and Indexer and "sep_admin_sourcetype" was here.
Now I don't know where to look.

Tags (2)
0 Karma
1 Solution

bgaignon
Path Finder

Hi,

Do you have the same issue?

I changed multiple things in eventtypes.conf:
I replaced all macro relative to sourcetypes like:

`sep_scan_sourcetype`
by
index=symantec sourcetype=sep12:scan

I use sep12 and my index is symantec, so you might have to tweak it. Another Example:

#### sep:admin
[sep_admin_authentication]
#search = `sep_admin_sourcetype` ("log on succeeded" OR "log on failed")
search = index=symantec sourcetype=sep12:admin ("log on succeeded" OR "log on failed")
#tags = authentication

View solution in original post

0 Karma

bgaignon
Path Finder

Hi,

Do you have the same issue?

I changed multiple things in eventtypes.conf:
I replaced all macro relative to sourcetypes like:

`sep_scan_sourcetype`
by
index=symantec sourcetype=sep12:scan

I use sep12 and my index is symantec, so you might have to tweak it. Another Example:

#### sep:admin
[sep_admin_authentication]
#search = `sep_admin_sourcetype` ("log on succeeded" OR "log on failed")
search = index=symantec sourcetype=sep12:admin ("log on succeeded" OR "log on failed")
#tags = authentication
0 Karma

zowa
Engager

How did you solve it?

0 Karma

bgaignon
Path Finder

OK it was a problem with the Application SplunkForSymantec.

0 Karma

bgaignon
Path Finder

The permission is set to Global.
All apps in Read for everyone and Write for Admin.

0 Karma

somesoni2
Revered Legend

One thing to look here could be the Sharing permission of the macro. Go to Manager » Advanced search » Search macros, select appropriate app context and see if the macro exists and its sharing permission is set to 'All apps' and read/write to appropriate roles.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...