All Posts

Find Answers
Ask questions. Get answers. Find technical product solutions from passionate members of the Splunk community.

All Posts

Hi @TwitchyB, You can try below; index="Index 1" OR index="Index 2" OR index="Index 3" | timechart count by index
Thanks @richgalloway . I was able to break it down using mvexpand.
Hello, I'm starting out on my splunk journey and have been tasked with figuring out a dashboard for my executives. I created a layout for a dashboard and had the idea of creating a chart, but h... See more...
Hello, I'm starting out on my splunk journey and have been tasked with figuring out a dashboard for my executives. I created a layout for a dashboard and had the idea of creating a chart, but have been struggling with the logic.  What I'm looking to do is have a the count/average count over time by time so I have a chart of percentages of the day against their average thruput. I had a few ideas for the search but none seemed to work. could someone give me some direction please on what I've gotten so far? (its definitely wrong) index=* | where index="Index 1" OR index="Index 2" OR index="Index 3" | eval Count=sum(count(index)) / "something something something to get the average" | timechartcount by Count
Check out the mvexpand command.
I have a records that comes with multiple items in a single row. Is there a way i can break it down in a single row. The rest of the values will be same and can be copied. In the screen shot below, c... See more...
I have a records that comes with multiple items in a single row. Is there a way i can break it down in a single row. The rest of the values will be same and can be copied. In the screen shot below, can we break down the first row in two rows, second in 5 rows etc..  Thanks in advance to the Splunk Community. They are super helpful.     
Well, that was worth a shot, fixed a couple of the db's, but one didn't like it. at com.mysql.jdbc.ExportControlled.transformSocketToSSLSocket(ExportControlled.java:186) ~[mysql-connector-java-8.0... See more...
Well, that was worth a shot, fixed a couple of the db's, but one didn't like it. at com.mysql.jdbc.ExportControlled.transformSocketToSSLSocket(ExportControlled.java:186) ~[mysql-connector-java-8.0.27.jar:5.1.46] ... 37 more [<NewerDB_1>-Scheduler-1] 31 Jan 2024 13:31:55,299 INFO DBCollectorAgentMonitorDelegate - Stopping DB collector agent 'NewerDB''s delegate... [Thread-172] 31 Jan 2024 13:31:55,313 INFO ADBCollector - DB collector [NewerDB] shut down! [Thread-174] 31 Jan 2024 13:31:55,316 INFO ADBAvailabilityCollector - DB Availability Metrics collector [NewerDB] shut down! [Thread-173] 31 Jan 2024 13:31:55,318 INFO ADBCollector - DB collector [NewerDB_1] shut down! [Thread-178] 31 Jan 2024 13:31:55,319 INFO ADBAvailabilityCollector - DB Availability Metrics collector [NewerDB_1] shut down! [<NewerDB>-Scheduler-4] 31 Jan 2024 13:31:55,323 INFO DBCollectorAgentMonitorDelegate - DB collector agent monitor delegate [NewerDB] shut down! [<NewerDB>-Scheduler-4] 31 Jan 2024 13:31:55,323 INFO DBAgentMonitor - DBAgentMonitor stopped I'm guessing that I somehow have to register a new agent that uses  mysql-connector-java-5.1.49.jar and point the old db's to that collector. That is, I need a second MySQL "Database Type" with a separate Agent so that the old db's will have a collector will uses the 5.1 jar and the new db's continue to use the Default MySQL collector which uses the 8.0 jar file. 
See the Masa diagrams - https://community.splunk.com/t5/Getting-Data-In/Diagrams-of-how-indexing-works-in-the-Splunk-platform-the-Masa/m-p/590774 Timestamp extraction is one of the very first steps ... See more...
See the Masa diagrams - https://community.splunk.com/t5/Getting-Data-In/Diagrams-of-how-indexing-works-in-the-Splunk-platform-the-Masa/m-p/590774 Timestamp extraction is one of the very first steps in event processing. So even if you later decide to drop (send to nullQueue) some events, that will be done way later in the pipeline.
Depends on whether within the TA the conf is in the local or default  directory. If it's in local, it depends on the alphabetical order of apps. Read the document once again. And do a btool --debug t... See more...
Depends on whether within the TA the conf is in the local or default  directory. If it's in local, it depends on the alphabetical order of apps. Read the document once again. And do a btool --debug to verify. Also you're not using deployer to distribute apps to HFs. You're using delpyment server for it. Deployer is for search head cluster.
Yeah I tried out the LINE_BREAKER provided above but didn't seem to have any luck. No matter what I have tried I haven't been able to get it working as hoped. I think you're right in that the layout ... See more...
Yeah I tried out the LINE_BREAKER provided above but didn't seem to have any luck. No matter what I have tried I haven't been able to get it working as hoped. I think you're right in that the layout as is is just bad so I'm going to go back to the drawing board and try to change how the logs are formatted prior to hitting Splunk. 
Did you point your servers to a new license manager? (Not cluster master - that's a different functionality even if done on the same server)
Then check your push mode. If you want to push everything as is, you have to set it to "full" for this app.
Hello @PickleRick  for your insight, yes that's exactly what I am saying, the new nodes cany get license from the new cluster manager because  its clashing with the old terminated/obsoleted aws insta... See more...
Hello @PickleRick  for your insight, yes that's exactly what I am saying, the new nodes cany get license from the new cluster manager because  its clashing with the old terminated/obsoleted aws instance.  How do I resolve this please?
Are you sure it will work with multiline events? I'm not 100% sure which regex flags are on with SEDCMD
Hi @Geoff.Wild, So I'm doing my best to parse info from existing tickets. Here is some other info I found. Please use the hostname and port field and verify the behavior. (You can edit the collec... See more...
Hi @Geoff.Wild, So I'm doing my best to parse info from existing tickets. Here is some other info I found. Please use the hostname and port field and verify the behavior. (You can edit the collector config and use the hostname/port fields) (the info below most likely references older versions of agents) Replaced MySQL JDBC driver in  <db-agent>/lib  with 5.1.49v and renamed it as  mysql-connector-java-8.0.28.jar Restarted the DB Agent and the data started reporting for the problematic collectors I hope this helps lead you to try some new things.  
Hi Splunkers,  Have the following situation, and interested in another opinion: We have a distributed environment with clusters indexers and SHs, and HFs in distributed sites. We are using a depl... See more...
Hi Splunkers,  Have the following situation, and interested in another opinion: We have a distributed environment with clusters indexers and SHs, and HFs in distributed sites. We are using a deployer to push out CONFs to the HFs and other assets defined by serverclass. I am trying to set-up a configuration where the HFs are receiving data from a remote host inbound on a specific TCP port. HF Deployment App: local\inputs.conf in inputs.conf, there is a stanza for the expected data being input     Remote Host 1 [tcp:12345] index = indexA sourcetype = sourceType1 disabled = 0       Now there is a TA for this data type but it has an inputs.conf defined as:     [tcp://22245] connection_host = dns index = indexSomethingElse sourcetype = sourceType disabled = 0       Which one takes precedence? And if the indexes are different, will this mess up the ingestion and indexing? Am I right in assuming that the inputs.conf defined for the overall inputs take precedence? REF: https://docs.splunk.com/Documentation/Splunk/9.1.3/Admin/Wheretofindtheconfigurationfiles
Sorry I am bit lost here, how can I run the command if I don't use addcoltotals please? Without addcoltotals labelfield="Total Delivered" the field Total Delivered will not exists to do count by. A... See more...
Sorry I am bit lost here, how can I run the command if I don't use addcoltotals please? Without addcoltotals labelfield="Total Delivered" the field Total Delivered will not exists to do count by. And if I add the command addcoltotals labelfield="Total Delivered" to your suggestion, it defeats the purpose, unless I am thick which I very well can be!
Thanks Guys. it is working !!!!
Well, I tried the solution above, replaced mysql-connector-java-8.0.27.jar with an older version, mysql-connector-java-5.1.49.jar which I got from https://downloads.mysql.com/archives/get/p/3/file/my... See more...
Well, I tried the solution above, replaced mysql-connector-java-8.0.27.jar with an older version, mysql-connector-java-5.1.49.jar which I got from https://downloads.mysql.com/archives/get/p/3/file/mysql-connector-java-5.1.46.tar.gz  This broke the other Mysql db collectors and didn't fix the one I was trying to. So I reverted my change. The error message for them was: java.sql.SQLException: No suitable driver found for jdbc:mysql://myhost.mydomain:3306/
Hi @Amit.Bisht, I searched for your error and found a few existing posts that mention it. Please take a look and see if you can find a solution or a lead in them. https://community.appdynamics.c... See more...
Hi @Amit.Bisht, I searched for your error and found a few existing posts that mention it. Please take a look and see if you can find a solution or a lead in them. https://community.appdynamics.com/t5/forums/searchpage/tab/message?filter=location&q=%22Result:%20401%20Unauthorized%20-%20content:%22&noSynonym=false&inactive=false&advanced=true&location=category:Discussions&sort_by=topicPostDate&collapse_discussion=true&search_type=thread