Splunk Search

Error:std::bad_alloc Whenever I try to visualize a search

Stabbles
Engager

Splunk newbie here,
I've installed Splunk onto a small ubuntu VM (512MB RAM and 20GB disk space) This should be OK because my data is very small.
I'm able to run the search sourcetype=accounts_made and it returns the results for all time very quickly. However if I try and pipe the results to a timechart; sourcetype=accounts_made | timechart max(accounts) I receive the error std::bad_alloc The search job has failed due to an error. You may be able view the job in the Job Inspector. Even if I try and plot the results for the past 15 minutes it gives up immediately.

Any advice would be appreciated!

Edit: Running the search in Verbose mode seems to work, however I can't make any dashboard panels because they always show the error above.

1 Solution

lukasz92
Communicator

This is just Out of memory error, sorry.
Read this page http://docs.splunk.com/Documentation/Splunk/6.2.1/Installation/Systemrequirements - you just have to have 1GB RAM.

View solution in original post

vivek_manoj
Explorer

Its because you are running it in fast mode . Change it to verbose mode will resolve you problem.

0 Karma

lukasz92
Communicator

This is just Out of memory error, sorry.
Read this page http://docs.splunk.com/Documentation/Splunk/6.2.1/Installation/Systemrequirements - you just have to have 1GB RAM.

zaphod1984
Path Finder

hi, that's the same conclusion i also came to. (had splunk running on a VM with 512Mb)

0 Karma

zaphod1984
Path Finder

any clues on this?
I'm running into the same issue...

0 Karma

markthompson
Builder

@Stabbles - Can you view it in the job inspector and share a screenshot please

0 Karma

Stabbles
Engager

Here you go Mark,
alt text

0 Karma
Get Updates on the Splunk Community!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...