<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Why is my ps.sh command truncating output even after props.conf change? in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443841#M5635</link>
    <description>&lt;P&gt;To answer your question. I ran two tests:&lt;BR /&gt;
Test 1.&lt;BR /&gt;
I ran ../etc/apps/Splunk_TA_nix/bin/ps.sh&lt;BR /&gt;
I got the full output, including the processes that are missing on splunk.  The output is large, 509 lines out output. &lt;/P&gt;

&lt;P&gt;Test 2. &lt;BR /&gt;
I ran the command you suggested&lt;BR /&gt;
'ps -wweo uname,pid,psr,pcpu,cputime,pmem,rsz,vsz,tty,s,etime,args'&lt;/P&gt;

&lt;P&gt;I received the &lt;STRONG&gt;same output&lt;/STRONG&gt;. Again, my processes appear.&lt;/P&gt;

&lt;P&gt;In splunk, I only see processes from root ,  in the output of the command line ps , a non root process does not even appear until the &lt;STRONG&gt;309th&lt;/STRONG&gt; line.  So, it looks, to me, like a clear case of the entire output stream is not getting forwarded.  It certainly looks like it is getting truncated.&lt;/P&gt;

&lt;P&gt;I am attaching the entire output here for reference &lt;/P&gt;

&lt;P&gt;&lt;A href="https://drive.google.com/file/d/14fhE90bWMQQNCsv4Kz0D1B6WEytQ3mTo/view?usp=sharing" target="_blank"&gt;https://drive.google.com/file/d/14fhE90bWMQQNCsv4Kz0D1B6WEytQ3mTo/view?usp=sharing&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 21:45:04 GMT</pubDate>
    <dc:creator>jreesnc</dc:creator>
    <dc:date>2020-09-29T21:45:04Z</dc:date>
    <item>
      <title>Why is my ps.sh command truncating output even after props.conf change?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443837#M5631</link>
      <description>&lt;P&gt;Running Splunk 7.1.1 on RHEL 7&lt;/P&gt;

&lt;P&gt;We are monitoring some applications that use the universal forwarder and the *nix app to send ps data to our indexer.&lt;/P&gt;

&lt;P&gt;When I search the index, using ...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host = "myhostname.com" index=os sourcetype=ps
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;... we see only processes from root. When I run ./ps.sh from the bin directory, I see the missing processes.&lt;BR /&gt;
I have copied props.conf from the default directory to the local for the *nix app and changed the truncate parameter to 0&lt;BR /&gt;
ie.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::...linux.ps]
sourcetype = ps
HEADER_MODE = always
SHOULD_LINEMERGE = false

[ps]
SHOULD_LINEMERGE=false
LINE_BREAKER=(^$|[\r\n]+[\r\n]+)
TRUNCATE=0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Still no output.&lt;/P&gt;

&lt;P&gt;Any other ideas?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2018 21:39:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443837#M5631</guid>
      <dc:creator>jreesnc</dc:creator>
      <dc:date>2018-10-23T21:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my ps.sh command truncating output even after props.conf change?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443838#M5632</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Which version of &lt;CODE&gt;Splunk_TA_nix&lt;/CODE&gt; are you running ? While looking at &lt;CODE&gt;Splunk_TA_nix&lt;/CODE&gt; version 5.2.4, it is running below command on RHEL and it is generating correct output.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ps -wweo uname,pid,psr,pcpu,cputime,pmem,rsz,vsz,tty,s,etime,args
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can you please run above command on RHEL 7 and check whether are you getting all running processes or not?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 08:28:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443838#M5632</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2018-10-24T08:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my ps.sh command truncating output even after props.conf change?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443839#M5633</link>
      <description>&lt;P&gt;I am running "Splunk Add-on for Unix and Linux version 5.2.4"&lt;/P&gt;

&lt;P&gt;Output is below.&lt;BR /&gt;
Looks ok to me&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[mesadmin@dpydaltm1001 ~]$  ps -wweo uname,pid,psr,pcpu,cputime,pmem,rsz,vsz,tty,s,etime,args
USER        PID PSR %CPU     TIME %MEM   RSZ    VSZ TT       S     ELAPSED COMMAND
root          1  27  0.0 00:03:01  0.0 11084 197780 ?        S  2-17:04:33 /usr/lib/systemd/systemd --switched-root --system --deserialize 21
root          2  11  0.0 00:00:00  0.0     0      0 ?        S  2-17:04:33 [kthreadd]
root          3   0  0.0 00:00:00  0.0     0      0 ?        S  2-17:04:33 [ksoftirqd/0]
root          5   0  0.0 00:00:00  0.0     0      0 ?        S  2-17:04:33 [kworker/0:0H]
root          7   0  0.0 00:00:00  0.0     0      0 ?        S  2-17:04:33 [migration/0]
root          8   0  0.0 00:00:00  0.0     0      0 ?        S  2-17:04:33 [rcu_bh]
root          9  24  0.1 00:07:27  0.0     0      0 ?        S  2-17:04:33 [rcu_sched]
root         10   0  0.0 00:00:00  0.0     0      0 ?        S  2-17:04:33 [lru-add-drain]
root         11   0  0.0 00:00:01  0.0     0      0 ?        S  2-17:04:33 [watchdog/0]
root         12   1  0.0 00:00:01  0.0     0      0 ?        S  2-17:04:33 [watchdog/1]
root         13   1  0.0 00:00:00  0.0     0      0 ?        S  2-17:04:33 [migration/1]
root         14   1  0.0 00:00:00  0.0     0      0 ?        S  2-17:04:33 [ksoftirqd/1]
root         16   1  0.0 00:00:00  0.0     0      0 ?        S  2-17:04:33 [kworker/1:0H]
root         17   2  0.0 00:00:01  0.0     0      0 ?        S  2-17:04:33 [watchdog/2]
root         18   2  0.0 00:00:00  0.0     0      0 ?        S  2-17:04:33 [migration/2]
root         19   2  0.0 00:00:00  0.0     0      0 ?        S  2-17:04:33 [ksoftirqd/2]
root         21   2  0.0 00:00:00  0.0     0      0 ?        S  2-17:04:33 [kworker/2:0H]
root         22   3  0.0 00:00:01  0.0     0      0 ?        S  2-17:04:33 [watchdog/3]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 24 Oct 2018 14:42:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443839#M5633</guid>
      <dc:creator>jreesnc</dc:creator>
      <dc:date>2018-10-24T14:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my ps.sh command truncating output even after props.conf change?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443840#M5634</link>
      <description>&lt;P&gt;So when you ran command you got all processes but when you are running &lt;CODE&gt;ps.sh&lt;/CODE&gt; you are not getting all processes in output ?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 15:02:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443840#M5634</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2018-10-24T15:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my ps.sh command truncating output even after props.conf change?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443841#M5635</link>
      <description>&lt;P&gt;To answer your question. I ran two tests:&lt;BR /&gt;
Test 1.&lt;BR /&gt;
I ran ../etc/apps/Splunk_TA_nix/bin/ps.sh&lt;BR /&gt;
I got the full output, including the processes that are missing on splunk.  The output is large, 509 lines out output. &lt;/P&gt;

&lt;P&gt;Test 2. &lt;BR /&gt;
I ran the command you suggested&lt;BR /&gt;
'ps -wweo uname,pid,psr,pcpu,cputime,pmem,rsz,vsz,tty,s,etime,args'&lt;/P&gt;

&lt;P&gt;I received the &lt;STRONG&gt;same output&lt;/STRONG&gt;. Again, my processes appear.&lt;/P&gt;

&lt;P&gt;In splunk, I only see processes from root ,  in the output of the command line ps , a non root process does not even appear until the &lt;STRONG&gt;309th&lt;/STRONG&gt; line.  So, it looks, to me, like a clear case of the entire output stream is not getting forwarded.  It certainly looks like it is getting truncated.&lt;/P&gt;

&lt;P&gt;I am attaching the entire output here for reference &lt;/P&gt;

&lt;P&gt;&lt;A href="https://drive.google.com/file/d/14fhE90bWMQQNCsv4Kz0D1B6WEytQ3mTo/view?usp=sharing" target="_blank"&gt;https://drive.google.com/file/d/14fhE90bWMQQNCsv4Kz0D1B6WEytQ3mTo/view?usp=sharing&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:45:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443841#M5635</guid>
      <dc:creator>jreesnc</dc:creator>
      <dc:date>2020-09-29T21:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my ps.sh command truncating output even after props.conf change?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443842#M5636</link>
      <description>&lt;P&gt;Can you please try to set below config in Indexers/Heavy Forwarder whichever comes first from Universal Forwarder and then check whether it is truncating lines or not.&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[ps]
MAX_EVENTS = 1000
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 24 Oct 2018 18:22:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443842#M5636</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2018-10-24T18:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my ps.sh command truncating output even after props.conf change?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443843#M5637</link>
      <description>&lt;P&gt;Done, still does not work. This is very frustrating. We wanted to set some alert actions based on the presences or absence of processes. &lt;BR /&gt;
Here is the local props.conf &lt;BR /&gt;
    $ cat props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::...linux.ps]
sourcetype = ps
HEADER_MODE = always
SHOULD_LINEMERGE = false

[ps]
MAX_EVENTS = 1000
SHOULD_LINEMERGE=false
LINE_BREAKER=(^$|[\r\n]+[\r\n]+)
TRUNCATE=0
DATETIME_CONFIG = CURRENT
KV_MODE = multi

FIELDALIAS-cpu_load_percent_for_ps = pctCPU AS PercentProcessorTime,pctCPU as cpu_load_percent
FIELDALIAS-dest_for_ps = host as dest
## The "start" field in this data is never used so no extractions applied here.
FIELDALIAS-process_id_for_ps = PID AS pid,PID as process_id
FIELDALIAS-percentmemory_for_ps = pctMEM AS PercentMemory
FIELDALIAS-rss_for_ps = RSZ_KB AS rss
FIELDALIAS-src_for_ps = host as src
FIELDALIAS-vsz_for_ps = VSZ_KB AS vsz
FIELDALIAS-tty_for_ps = TTY AS tty
FIELDALIAS-stat_for_ps = S AS stat
FIELDALIAS-user_for_ps = USER AS user
FIELDALIAS-process_cpu_used_percent = pctCPU as process_cpu_used_percent
EVAL-process_mem_used=RSZ_KB*1024

# The "app" field is the conjunction of COMMAND plus ARGS
# Note that the UNIX app joins arguments with an underscore.
EVAL-app = if(ARGS!="&amp;lt;noArgs&amp;gt;", COMMAND." ".ARGS,COMMAND)
EVAL-process = if(ARGS!="&amp;lt;noArgs&amp;gt;", COMMAND." ".ARGS,COMMAND)
EVAL-process_name = replace(COMMAND, "[\[\]()]", "")

# Truncate needless leading zeroes from the cumulative CPU time field.
EVAL-cpu_time = replace(CPUTIME, "^00:[0]{0,1}", "")
EVAL-time = replace(CPUTIME, "^00:[0]{0,1}", "")

# UsedBytes is calculated as RSZ_KB*1024. Previously it was calculated using 
# %MEM and the "Mem:" header from "top -bn 1", which tended to underestimate
# compared to this value. This is a rough measure of resident set size (i.e.,
# physical memory in use).
EVAL-mem_used=RSZ_KB*1024
EVAL-UsedBytes=RSZ_KB*1024
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;All I see is the processes from root. None of the other processes appear. &lt;BR /&gt;
&lt;A href="https://www.flickr.com/photos/jrees/30600350547/sizes/o/"&gt;https://www.flickr.com/photos/jrees/30600350547/sizes/o/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 20:21:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443843#M5637</guid>
      <dc:creator>jreesnc</dc:creator>
      <dc:date>2018-10-24T20:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my ps.sh command truncating output even after props.conf change?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443844#M5638</link>
      <description>&lt;P&gt;Can you please run below command on Indexer/Heavy Forwarder to check MAX_EVENTS and TRUNCATE settings and can you please provide output of below command ?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/bin/splunk cmd btool props list --debug ps
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also can you please check below error in &lt;CODE&gt;$SPLUNK_HOME/var/log/splunk/splunkd.log&lt;/CODE&gt; on Indexer/Heavy Forwarder for &lt;CODE&gt;ps&lt;/CODE&gt; sourcetype?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;WARN  AggregatorMiningProcessor - Breaking event because limit of 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;OR&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;WARN  LineBreakingProcessor - Truncating line because limit of
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 25 Oct 2018 08:26:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443844#M5638</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2018-10-25T08:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my ps.sh command truncating output even after props.conf change?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443845#M5639</link>
      <description>&lt;P&gt;Here is the output (sorry for delay) &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tm1adm@dpydaltm1001 etc]$ cd ..
[tm1adm@dpydaltm1001 splunkforwarder]$ cd bin
[tm1adm@dpydaltm1001 bin]$ ./splunk cmd btool props list --debug ps
/opt/splunkforwarder/etc/apps/Splunk_TA_nix/local/props.conf [ps]
/opt/splunkforwarder/etc/system/default/props.conf           ANNOTATE_PUNCT = True
/opt/splunkforwarder/etc/system/default/props.conf           AUTO_KV_JSON = true
/opt/splunkforwarder/etc/system/default/props.conf           BREAK_ONLY_BEFORE = 
/opt/splunkforwarder/etc/system/default/props.conf           BREAK_ONLY_BEFORE_DATE = True
/opt/splunkforwarder/etc/system/default/props.conf           CHARSET = UTF-8
/opt/splunkforwarder/etc/apps/Splunk_TA_nix/local/props.conf DATETIME_CONFIG = CURRENT
/opt/splunkforwarder/etc/apps/Splunk_TA_nix/local/props.conf EVAL-UsedBytes = RSZ_KB*1024
/opt/splunkforwarder/etc/apps/Splunk_TA_nix/local/props.conf EVAL-app = if(ARGS!="&amp;lt;noArgs&amp;gt;", COMMAND." ".ARGS,COMMAND)
/opt/splunkforwarder/etc/apps/Splunk_TA_nix/local/props.conf EVAL-cpu_time = replace(CPUTIME, "^00:[0]{0,1}", "")
/opt/splunkforwarder/etc/apps/Splunk_TA_nix/local/props.conf EVAL-mem_used = RSZ_KB*1024
/opt/splunkforwarder/etc/apps/Splunk_TA_nix/local/props.conf EVAL-process = if(ARGS!="&amp;lt;noArgs&amp;gt;", COMMAND." ".ARGS,COMMAND)
/opt/splunkforwarder/etc/apps/Splunk_TA_nix/local/props.conf EVAL-process_mem_used = RSZ_KB*1024
/opt/splunkforwarder/etc/apps/Splunk_TA_nix/local/props.conf EVAL-process_name = replace(COMMAND, "[\[\]()]", "")
/opt/splunkforwarder/etc/apps/Splunk_TA_nix/local/props.conf EVAL-time = replace(CPUTIME, "^00:[0]{0,1}", "")
/opt/splunkforwarder/etc/apps/Splunk_TA_nix/local/props.conf FIELDALIAS-cpu_load_percent_for_ps = pctCPU AS PercentProcessorTime,pctCPU as cpu_load_percent
/opt/splunkforwarder/etc/apps/Splunk_TA_nix/local/props.conf FIELDALIAS-dest_for_ps = host as dest
/opt/splunkforwarder/etc/apps/Splunk_TA_nix/local/props.conf FIELDALIAS-percentmemory_for_ps = pctMEM AS PercentMemory
/opt/splunkforwarder/etc/apps/Splunk_TA_nix/local/props.conf FIELDALIAS-process_cpu_used_percent = pctCPU as process_cpu_used_percent
/opt/splunkforwarder/etc/apps/Splunk_TA_nix/local/props.conf FIELDALIAS-process_id_for_ps = PID AS pid,PID as process_id
/opt/splunkforwarder/etc/apps/Splunk_TA_nix/local/props.conf FIELDALIAS-rss_for_ps = RSZ_KB AS rss
/opt/splunkforwarder/etc/apps/Splunk_TA_nix/local/props.conf FIELDALIAS-src_for_ps = host as src
/opt/splunkforwarder/etc/apps/Splunk_TA_nix/local/props.conf FIELDALIAS-stat_for_ps = S AS stat
/opt/splunkforwarder/etc/apps/Splunk_TA_nix/local/props.conf FIELDALIAS-tty_for_ps = TTY AS tty
/opt/splunkforwarder/etc/apps/Splunk_TA_nix/local/props.conf FIELDALIAS-user_for_ps = USER AS user
/opt/splunkforwarder/etc/apps/Splunk_TA_nix/local/props.conf FIELDALIAS-vsz_for_ps = VSZ_KB AS vsz
/opt/splunkforwarder/etc/system/default/props.conf           HEADER_MODE = 
/opt/splunkforwarder/etc/apps/Splunk_TA_nix/local/props.conf KV_MODE = multi
/opt/splunkforwarder/etc/system/default/props.conf           LEARN_MODEL = true
/opt/splunkforwarder/etc/system/default/props.conf           LEARN_SOURCETYPE = true
/opt/splunkforwarder/etc/apps/Splunk_TA_nix/local/props.conf LINE_BREAKER = (^$|[\r\n]+[\r\n]+)
/opt/splunkforwarder/etc/system/default/props.conf           LINE_BREAKER_LOOKBEHIND = 100
/opt/splunkforwarder/etc/system/default/props.conf           MATCH_LIMIT = 100000
/opt/splunkforwarder/etc/system/default/props.conf           MAX_DAYS_AGO = 2000
/opt/splunkforwarder/etc/system/default/props.conf           MAX_DAYS_HENCE = 2
/opt/splunkforwarder/etc/system/default/props.conf           MAX_DIFF_SECS_AGO = 3600
/opt/splunkforwarder/etc/system/default/props.conf           MAX_DIFF_SECS_HENCE = 604800
/opt/splunkforwarder/etc/apps/Splunk_TA_nix/local/props.conf MAX_EVENTS = 1000
/opt/splunkforwarder/etc/system/default/props.conf           MAX_TIMESTAMP_LOOKAHEAD = 128
/opt/splunkforwarder/etc/system/default/props.conf           MUST_BREAK_AFTER = 
/opt/splunkforwarder/etc/system/default/props.conf           MUST_NOT_BREAK_AFTER = 
/opt/splunkforwarder/etc/system/default/props.conf           MUST_NOT_BREAK_BEFORE = 
/opt/splunkforwarder/etc/system/default/props.conf           SEGMENTATION = indexing
/opt/splunkforwarder/etc/system/default/props.conf           SEGMENTATION-all = full
/opt/splunkforwarder/etc/system/default/props.conf           SEGMENTATION-inner = inner
/opt/splunkforwarder/etc/system/default/props.conf           SEGMENTATION-outer = outer
/opt/splunkforwarder/etc/system/default/props.conf           SEGMENTATION-raw = none
/opt/splunkforwarder/etc/system/default/props.conf           SEGMENTATION-standard = standard
/opt/splunkforwarder/etc/apps/Splunk_TA_nix/local/props.conf SHOULD_LINEMERGE = false
/opt/splunkforwarder/etc/system/default/props.conf           TRANSFORMS = 
/opt/splunkforwarder/etc/apps/Splunk_TA_nix/local/props.conf TRUNCATE = 0
/opt/splunkforwarder/etc/system/default/props.conf           detect_trailing_nulls = false
/opt/splunkforwarder/etc/system/default/props.conf           maxDist = 100
/opt/splunkforwarder/etc/system/default/props.conf           priority = 
/opt/splunkforwarder/etc/system/default/props.conf           sourcetype = 
/opt/splunkforwarder/etc/system/default/props.conf           [psv]
/opt/splunkforwarder/etc/system/default/props.conf           ANNOTATE_PUNCT = True
/opt/splunkforwarder/etc/system/default/props.conf           AUTO_KV_JSON = true
/opt/splunkforwarder/etc/system/default/props.conf           BREAK_ONLY_BEFORE = 
/opt/splunkforwarder/etc/system/default/props.conf           BREAK_ONLY_BEFORE_DATE = True
/opt/splunkforwarder/etc/system/default/props.conf           CHARSET = UTF-8
/opt/splunkforwarder/etc/system/default/props.conf           DATETIME_CONFIG = /etc/datetime.xml
/opt/splunkforwarder/etc/system/default/props.conf           FIELD_DELIMITER = |
/opt/splunkforwarder/etc/system/default/props.conf           HEADER_FIELD_DELIMITER = |
/opt/splunkforwarder/etc/system/default/props.conf           HEADER_MODE = 
/opt/splunkforwarder/etc/system/default/props.conf           INDEXED_EXTRACTIONS = psv
/opt/splunkforwarder/etc/system/default/props.conf           KV_MODE = none
/opt/splunkforwarder/etc/system/default/props.conf           LEARN_MODEL = true
/opt/splunkforwarder/etc/system/default/props.conf           LEARN_SOURCETYPE = true
/opt/splunkforwarder/etc/system/default/props.conf           LINE_BREAKER_LOOKBEHIND = 100
/opt/splunkforwarder/etc/system/default/props.conf           MATCH_LIMIT = 100000
/opt/splunkforwarder/etc/system/default/props.conf           MAX_DAYS_AGO = 2000
/opt/splunkforwarder/etc/system/default/props.conf           MAX_DAYS_HENCE = 2
/opt/splunkforwarder/etc/system/default/props.conf           MAX_DIFF_SECS_AGO = 3600
/opt/splunkforwarder/etc/system/default/props.conf           MAX_DIFF_SECS_HENCE = 604800
/opt/splunkforwarder/etc/system/default/props.conf           MAX_EVENTS = 256
/opt/splunkforwarder/etc/system/default/props.conf           MAX_TIMESTAMP_LOOKAHEAD = 128
/opt/splunkforwarder/etc/system/default/props.conf           MUST_BREAK_AFTER = 
/opt/splunkforwarder/etc/system/default/props.conf           MUST_NOT_BREAK_AFTER = 
/opt/splunkforwarder/etc/system/default/props.conf           MUST_NOT_BREAK_BEFORE = 
/opt/splunkforwarder/etc/system/default/props.conf           SEGMENTATION = indexing
/opt/splunkforwarder/etc/system/default/props.conf           SEGMENTATION-all = full
/opt/splunkforwarder/etc/system/default/props.conf           SEGMENTATION-inner = inner
/opt/splunkforwarder/etc/system/default/props.conf           SEGMENTATION-outer = outer
/opt/splunkforwarder/etc/system/default/props.conf           SEGMENTATION-raw = none
/opt/splunkforwarder/etc/system/default/props.conf           SEGMENTATION-standard = standard
/opt/splunkforwarder/etc/system/default/props.conf           SHOULD_LINEMERGE = False
/opt/splunkforwarder/etc/system/default/props.conf           TRANSFORMS = 
/opt/splunkforwarder/etc/system/default/props.conf           TRUNCATE = 10000
/opt/splunkforwarder/etc/system/default/props.conf           category = Structured
/opt/splunkforwarder/etc/system/default/props.conf           description = Pipe-separated value format. Set header and other settings in "Delimited Settings"
/opt/splunkforwarder/etc/system/default/props.conf           detect_trailing_nulls = false
/opt/splunkforwarder/etc/system/default/props.conf           maxDist = 100
/opt/splunkforwarder/etc/system/default/props.conf           priority = 
/opt/splunkforwarder/etc/system/default/props.conf           pulldown_type = true
/opt/splunkforwarder/etc/system/default/props.conf           sourcetype = 
[tm1adm@dpydaltm1001 bin]$ 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 29 Oct 2018 20:17:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443845#M5639</guid>
      <dc:creator>jreesnc</dc:creator>
      <dc:date>2018-10-29T20:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my ps.sh command truncating output even after props.conf change?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443846#M5640</link>
      <description>&lt;P&gt;No warnings&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tm1adm@dpydaltm1001 log]$ cd splunk
[tm1adm@dpydaltm1001 splunk]$ cat splunkd.log | grep -i AggregatorMiningProcessor
[tm1adm@dpydaltm1001 splunk]$ cat splunkd.log | grep -i LineBreakingProcessor    
[tm1adm@dpydaltm1001 splunk]$ 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 29 Oct 2018 20:51:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443846#M5640</guid>
      <dc:creator>jreesnc</dc:creator>
      <dc:date>2018-10-29T20:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my ps.sh command truncating output even after props.conf change?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443847#M5641</link>
      <description>&lt;P&gt;It looks like you are checking this ERROR on Universal Forwarder, you need to check those error on &lt;STRONG&gt;Indexer Or Heavy Forwarder&lt;/STRONG&gt; whichever comes first from UF.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2018 09:48:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443847#M5641</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2018-10-30T09:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my ps.sh command truncating output even after props.conf change?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443848#M5642</link>
      <description>&lt;P&gt;You need to apply &lt;CODE&gt;MAX_EVENTS&lt;/CODE&gt; setting on &lt;STRONG&gt;Indexer or Heavy Forwarder&lt;/STRONG&gt; not on Universal Forwarder (UF).&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2018 09:49:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443848#M5642</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2018-10-30T09:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my ps.sh command truncating output even after props.conf change?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443849#M5643</link>
      <description>&lt;P&gt;OK, that is helpful. I have been making the change on the universal forwarder on the source machine.  &lt;/P&gt;

&lt;P&gt;I have never modified a property on our indexer before, where would I look for this file, there are several.  We do not use heavy forwarders&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2018 21:36:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443849#M5643</guid>
      <dc:creator>jreesnc</dc:creator>
      <dc:date>2018-10-30T21:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my ps.sh command truncating output even after props.conf change?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443850#M5644</link>
      <description>&lt;P&gt;Example:&lt;BR /&gt;
    [splunk@dpydalspl0101 apps]$ pwd&lt;BR /&gt;
    /opt/splunk/etc/apps&lt;BR /&gt;
    [splunk@dpydalspl0101 apps]$ find . -name props.conf&lt;BR /&gt;
    ./learned/local/props.conf&lt;BR /&gt;
    ./splunk_archiver/default/props.conf&lt;BR /&gt;
    ./monitoringwincontainers/default/props.conf&lt;BR /&gt;
    ./Perficient_TM1_App/default/props.conf&lt;BR /&gt;
    ./sample_app/default/props.conf&lt;BR /&gt;
    ./SplunkLightForwarder/default/props.conf&lt;BR /&gt;
    ./search/default/props.conf&lt;BR /&gt;
    ./legacy/default/props.conf&lt;BR /&gt;
    ./splunk_instrumentation/default/props.conf&lt;BR /&gt;
    ./splunk_monitoring_console/default/props.conf&lt;BR /&gt;
    ./monitoringdocker/default/props.conf&lt;BR /&gt;
    ./Splunk_TA_Infrastructure/default/props.conf&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:50:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443850#M5644</guid>
      <dc:creator>jreesnc</dc:creator>
      <dc:date>2020-09-29T21:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my ps.sh command truncating output even after props.conf change?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443851#M5645</link>
      <description>&lt;P&gt;I guessed, and here si where I put the suggested inputs on my indexer:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[splunk@dpydalspl0101 local]$ pwd
/opt/splunk/etc/system/local
[splunk@dpydalspl0101 local]$ cat props.conf
[ps]
TRUNCATE = 0
MAX_EVENTS = 1000
[splunk@dpydalspl0101 local]$ 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 30 Oct 2018 22:02:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443851#M5645</guid>
      <dc:creator>jreesnc</dc:creator>
      <dc:date>2018-10-30T22:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my ps.sh command truncating output even after props.conf change?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443852#M5646</link>
      <description>&lt;P&gt;I'll suggest you to install &lt;CODE&gt;Splunk_TA_nix&lt;/CODE&gt; on Indexer because this add-on contains Index field extraction so this add-on is require on Indexer as well. If you do not want to monitor any inputs (like ps, cpu) on Indexer then you can remove &lt;CODE&gt;Splunk_TA_nix/local/inputs.conf&lt;/CODE&gt; from Add-on.&lt;/P&gt;

&lt;P&gt;And put props.conf configuration in &lt;CODE&gt;Splunk_TA_nix/local/props.conf&lt;/CODE&gt; on &lt;STRONG&gt;Indexer&lt;/STRONG&gt; and then restart splunk on Indexer.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Oct 2018 09:29:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443852#M5646</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2018-10-31T09:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my ps.sh command truncating output even after props.conf change?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443853#M5647</link>
      <description>&lt;P&gt;Here is what I also tried ( added on all my indexers) &lt;/P&gt;

&lt;P&gt;/opt/splunk/etc/apps/Splunk_TA_nix/local&lt;/P&gt;

&lt;P&gt;added props.conf&lt;/P&gt;

&lt;P&gt;Put here in it&lt;BR /&gt;
[ps]&lt;BR /&gt;
TRUNCATE = 0&lt;BR /&gt;
MAX_EVENTS = 2000&lt;/P&gt;

&lt;P&gt;Still I get truncated indexing on my PS output and cannot see the processes I am try8ng to set alert actions on.&lt;BR /&gt;
What am I missing &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:58:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443853#M5647</guid>
      <dc:creator>jreesnc</dc:creator>
      <dc:date>2020-09-29T23:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my ps.sh command truncating output even after props.conf change?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443854#M5648</link>
      <description>&lt;P&gt;Have you restarted splunk after configuration changes?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 17:37:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443854#M5648</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2019-04-05T17:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my ps.sh command truncating output even after props.conf change?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443855#M5649</link>
      <description>&lt;P&gt;Yes. I have restarted it after the change. This one is really got me scratching my head&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 15:35:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443855#M5649</guid>
      <dc:creator>jreesnc</dc:creator>
      <dc:date>2019-04-08T15:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my ps.sh command truncating output even after props.conf change?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443856#M5650</link>
      <description>&lt;P&gt;Any other ideas?&lt;BR /&gt;
Certainly, others with servers running a lot of processes has seen this?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2019 20:09:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-is-my-ps-sh-command-truncating-output-even-after-props-conf/m-p/443856#M5650</guid>
      <dc:creator>jreesnc</dc:creator>
      <dc:date>2019-04-16T20:09:00Z</dc:date>
    </item>
  </channel>
</rss>

