Activity Feed
- Karma Re: BREAK_ONLY_BEFORE failed, setting TIME_FORMAT solved the problem for kristian_kolb. 06-05-2020 12:46 AM
- Karma Re: BREAK_ONLY_BEFORE failed, setting TIME_FORMAT solved the problem for Ayn. 06-05-2020 12:46 AM
- Karma Re: BREAK_ONLY_BEFORE failed, setting TIME_FORMAT solved the problem for kristian_kolb. 06-05-2020 12:46 AM
- Karma Re: Scripted input and perl DBD::Oracle for takeda. 06-05-2020 12:46 AM
- Posted Re: Scripted input and perl DBD::Oracle on All Apps and Add-ons. 03-27-2013 01:40 AM
- Posted Re: Scripted input and perl DBD::Oracle on All Apps and Add-ons. 03-27-2013 01:32 AM
- Posted Scripted input and perl DBD::Oracle on All Apps and Add-ons. 03-26-2013 08:14 AM
- Tagged Scripted input and perl DBD::Oracle on All Apps and Add-ons. 03-26-2013 08:14 AM
- Tagged Scripted input and perl DBD::Oracle on All Apps and Add-ons. 03-26-2013 08:14 AM
- Posted Re: How to highlight eventtypes when using dropdown list? on Dashboards & Visualizations. 01-23-2013 12:27 AM
- Posted How to highlight eventtypes when using dropdown list? on Dashboards & Visualizations. 01-22-2013 06:50 AM
- Tagged How to highlight eventtypes when using dropdown list? on Dashboards & Visualizations. 01-22-2013 06:50 AM
- Tagged How to highlight eventtypes when using dropdown list? on Dashboards & Visualizations. 01-22-2013 06:50 AM
- Tagged How to highlight eventtypes when using dropdown list? on Dashboards & Visualizations. 01-22-2013 06:50 AM
- Tagged How to highlight eventtypes when using dropdown list? on Dashboards & Visualizations. 01-22-2013 06:50 AM
- Tagged How to highlight eventtypes when using dropdown list? on Dashboards & Visualizations. 01-22-2013 06:50 AM
- Posted Re: BREAK_ONLY_BEFORE failed, setting TIME_FORMAT solved the problem on Getting Data In. 08-15-2012 11:33 PM
- Posted Re: BREAK_ONLY_BEFORE failed, setting TIME_FORMAT solved the problem on Getting Data In. 08-14-2012 04:05 AM
- Posted BREAK_ONLY_BEFORE failed, setting TIME_FORMAT solved the problem on Getting Data In. 08-14-2012 02:34 AM
- Tagged BREAK_ONLY_BEFORE failed, setting TIME_FORMAT solved the problem on Getting Data In. 08-14-2012 02:34 AM
Topics I've Started
Subject | Karma | Author | Latest Post |
---|---|---|---|
0 | |||
0 | |||
0 |
03-27-2013
01:40 AM
Eureka! It started working! I've palced the following bash script in /etc/profiles.d/
#!/bin/sh
export ORACLE_HOME=/usr/lib/oracle/11.2/client64
export PATH=$PATH:$ORACLE_HOME/bin
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
I've tried this before but I set up wrong file privileges - they should be set on '644'. And dont forget to reboot the system.
... View more
03-27-2013
01:32 AM
Hi, thx for the suggestions:
1. Check
2. Check
3. Unfortunalety setting LD_LIBRARY_PATH inside the script will only affect external programs run by the script, it won't link perl itself with the libraries in that directory. The libraries are linked befoer the script itself runs.
... View more
03-26-2013
08:14 AM
Hi all,
I'm using numerous perl scripts as data inputs - mostly for reading logs from different databases. I've recently tried to set up another input for Oracle database. For this I've installed perl DBD::Oracle driver. Everything works fine when I run the script from the console (using the same user which is running splunk process). The problem is the script won't work when it's run by splunk scheduler (just as every scripted input is). I've checked with index="_internal" logs and this is what I'm getting:
ERROR ExecProcessor - message from "/opt/splunk/etc/system/bin/get_AZP.pl" Can't load '/usr/local/lib64/perl5/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: libocci.so.11.1: cannot open shared object file: No such file or directory at /usr/lib64/perl5/DynaLoader.pm line 200.
I've exported export ORACLE_HOME, PATH and LD_LIBRARY_PATH. I've also added appropriate .conf file in /etc/ld.so.conf.d/. What am I missing?
... View more
01-23-2013
12:27 AM
Ok, I've managed to make a workaround using custom js similar to this one Advanced XML - Highlight certain values in a table
... View more
01-22-2013
06:50 AM
Hi, I've assigned custom syles to certain eventtypes following this blog entry: Colorize your world... As usual I've built my app on top of the 'sample_app' template distributed with Splunk. Everything works fine when I use the 'Search views'->'Sample search' to list the events. The problem is that color styles don't work when I list same event types in another dashboard which uses dropdown list (lister) to narrow down search results. How can I force event (color) highlighting when using dropdown lists? I have the following code in my lister dashboard:
<form>
<label>Vulnerabilities by host</label>
<!-- define master search template, with replacement tokens delimited with $ -->
<searchTemplate>index=scs | eval time=_time | search [search index=scs hostIP="$hostIP$" | stats latest(_time) as time2 | eval time=time2 | fields time]</searchTemplate>
<fieldset>
<!-- Define a simple dropdown form driven by a search -->
<input type="dropdown" token="hostIP">
<label>Select to address</label>
<choice value="*">Any</choice>
<populatingSearch fieldForValue="hostIP" fieldForLabel="hostIP"><![CDATA[index=scs | stats count by hostIP]]></populatingSearch>
</input>
</fieldset>
<row>
<!-- output the results as a 50 row events view -->
<event>
<title>Vulnerabilities for the selected host</title>
<option name="count">50</option>
</event>
</row>
... View more
08-15-2012
11:33 PM
Ok, thanks for clearing this out.
... View more
08-14-2012
04:05 AM
Thanks for a quick answear. You are right about replacing host by source identifier - I have only one source from this host, but still this is not a good thing to do.
About the SHOULD_LINEMERGE. Not all events are single-lined, only those which were merged together.
And about the regex. Sorry for this mistake, just coppied a result of a some desparate attempt to make this work. I'm sure I also tried the right regex - I checked it in a text editor when the BREAK_ONLY_BEFORE dind't seem to work.
... View more
08-14-2012
02:34 AM
Hi, so I've been trying to split falsely merged (separate) events:
10:42:08 Checkpoint Completed: duration was 0 seconds.
10:42:08 Checkpoint loguniq 4227, logpos 0x4ca7018, timestamp: 0x7f8d03be
10:42:08 Maximum server connections 1414
An obvious thing to do is to use BREAK_ONLY_BEFORE attribute - or is it? So here's what I tried in /local/props.conf
[host::some_host_name]
SHOULD_LINEMERGE = True
BREAK_ONLY_BEFORE = ^/d/d:/d/d:/d/d
Surprisingly this didn't work. Needless to say I've tried countles variations of BREAK_ONLY_BEFORE and tried othe attributes. Finally I tried the TIME_FORMAT attribute:
[host::some_host_name]
SHOULD_LINEMERGE = True
TIME_FORMAT = %H:%M:%S
...and it worked like a charm. Can someone explain why this worked while the latter didn't? And how should the proper BRAK\ONLY_BRFORE atrribute look like for this to work? I didn't find anything satysfying on the forums.
... View more