- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
how can I put a "+" in monitor:// path ?
ktn01
Path Finder
08-03-2017
07:13 AM
Hello,
I have the following stanza in input.conf
[monitor:///ccv/app/oracle/diag/asm/+asm/+ASM*/trace/alert_+ASM*.log]
index = cei_oracle
sourcetype = oracle:asm:log
_TCP_ROUTING = val_idx-group
and file /ccv/app/oracle/diag/asm/+asm/+ASM1/trace/alert_+ASM1.log
would not been indexed.
I modifie de path replacing every "+" with a "" `[monitor:///ccv/app/oracle/diag/asm/*asm/*ASM/trace/alert_ASM.log]
` and then the file is indexed.
How can I put a "+" on my path definition?
Thanks
Christian
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

somesoni2
Revered Legend
08-03-2017
07:21 AM
Try escaping it using backward slash.
[monitor:///ccv/app/oracle/diag/asm/\+asm/\+ASM*/trace/alert_\+ASM*.log]
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Anu
Path Finder
11-23-2020
02:46 AM
@somesoni2 still didn't work for me.. Do you have any workaround for getting asm alert log in to splunk??
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ktn01
Path Finder
08-03-2017
07:32 AM
Thanks,
escaping with \ is working fine...
Christian
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

somesoni2
Revered Legend
08-03-2017
08:01 AM
Glad it worked for you. Please close the question by accepting the answer that worked.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
alemarzu
Motivator
08-03-2017
07:17 AM
Hi there, try this out.
[monitor:///ccv/app/oracle/diag/asm/.../trace/alert_*ASM*.log]
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ktn01
Path Finder
08-03-2017
07:31 AM
Thanks but /.../ is to generic in this case
Christian
